Package eu.europa.esig.dss.tsl.source
Class TLSource
java.lang.Object
eu.europa.esig.dss.tsl.source.TLSource
- Direct Known Subclasses:
LOTLSource
Represent a Trusted List source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the TL cache keyGets the certificate source to be used for TL validationGets a predicate to filter TrustServicesGets a predicate to filter TrustServiceProvidersgetUrl()
Gets the TL URLvoid
setCertificateSource
(CertificateSource certificateSource) Sets the certificate source to be used for TL validationvoid
setTrustServicePredicate
(Predicate<TSPServiceType> trustServicePredicate) Sets a predicate to filter TrustServicesvoid
setTrustServiceProviderPredicate
(Predicate<TSPType> trustServiceProviderPredicate) Sets a predicate to filter TrustServiceProvidersvoid
Sets the TL access URL
-
Constructor Details
-
TLSource
public TLSource()Default constructor instantiating object with null values
-
-
Method Details
-
getUrl
Gets the TL URL- Returns:
String
-
setUrl
Sets the TL access URL- Parameters:
url
-String
-
getCertificateSource
Gets the certificate source to be used for TL validation- Returns:
CertificateSource
-
setCertificateSource
Sets the certificate source to be used for TL validation- Parameters:
certificateSource
-CertificateSource
-
getTrustServiceProviderPredicate
Gets a predicate to filter TrustServiceProviders- Returns:
Predicate
-
setTrustServiceProviderPredicate
Sets a predicate to filter TrustServiceProviders- Parameters:
trustServiceProviderPredicate
-Predicate
-
getTrustServicePredicate
Gets a predicate to filter TrustServices- Returns:
Predicate
-
setTrustServicePredicate
Sets a predicate to filter TrustServices- Parameters:
trustServicePredicate
-Predicate
-
getCacheKey
Gets the TL cache key- Returns:
CacheKey
-