Module jpms_dss_tsl_validation
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 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
-
Method Details
-
canBeSynchronized
boolean canBeSynchronized(eu.europa.esig.dss.model.tsl.TLInfo trustedList) 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
boolean canBeSynchronized(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 synchronized- Parameters:
listOfTrustedList- the list of trusted lists to be tested- Returns:
- true if the list of trusted lists can be synchronized
-