Package eu.europa.esig.dss.tsl.sync
Interface SynchronizationStrategy
- All Known Implementing Classes:
AcceptAllStrategy
,ExpirationAndSignatureCheckStrategy
public interface SynchronizationStrategy
Defines a behaviour for a trusted certificate source synchronization
-
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
-
Method Details
-
canBeSynchronized
Returns true if the certificates from the trusted list can be synchronized- Parameters:
trustedList
- the trusted list to be tested- Returns:
- true if the trusted list can be synchronized
-
canBeSynchronized
Returns true if the certificates from the list of trusted lists and its trusted list can be synchronized- Parameters:
listOfTrustedList
- the list of trusted lists to be tested- Returns:
- true if the list of trusted lists can be synchronized
-