java.lang.Object
eu.europa.esig.dss.tsl.sync.AcceptAllStrategy
- All Implemented Interfaces:
SynchronizationStrategy
Accepts all trusted lists
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBeSynchronized(eu.europa.esig.dss.model.tsl.LOTLInfo listOfTrustedList) Returns true if the certificates from the list of trusted lists and its trusted list can be synchronizedbooleancanBeSynchronized(eu.europa.esig.dss.model.tsl.TLInfo trustedList) Returns true if the certificates from the trusted list can be synchronized
-
Constructor Details
-
AcceptAllStrategy
public AcceptAllStrategy()Default constructor
-
-
Method Details
-
canBeSynchronized
public boolean canBeSynchronized(eu.europa.esig.dss.model.tsl.TLInfo trustedList) Description copied from interface:SynchronizationStrategyReturns true if the certificates from the trusted list can be synchronized- Specified by:
canBeSynchronizedin interfaceSynchronizationStrategy- Parameters:
trustedList- the trusted list to be tested- Returns:
- true if the trusted list can be synchronized
-
canBeSynchronized
public boolean canBeSynchronized(eu.europa.esig.dss.model.tsl.LOTLInfo listOfTrustedList) Description copied from interface:SynchronizationStrategyReturns true if the certificates from the list of trusted lists and its trusted list can be synchronized- Specified by:
canBeSynchronizedin interfaceSynchronizationStrategy- Parameters:
listOfTrustedList- the list of trusted lists to be tested- Returns:
- true if the list of trusted lists can be synchronized
-