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