Class TLSource

java.lang.Object
eu.europa.esig.dss.tsl.source.TLSource
Direct Known Subclasses:
LOTLSource

public class TLSource extends Object
Represent a Trusted List source
  • Constructor Details

    • TLSource

      public TLSource()
      Default constructor instantiating object with null values
  • Method Details

    • getUrl

      public String getUrl()
      Gets the TL URL
      Returns:
      String
    • setUrl

      public void setUrl(String url)
      Sets the TL access URL
      Parameters:
      url - String
    • getCertificateSource

      public CertificateSource getCertificateSource()
      Gets the certificate source to be used for TL validation
      Returns:
      CertificateSource
    • setCertificateSource

      public void setCertificateSource(CertificateSource certificateSource)
      Sets the certificate source to be used for TL validation
      Parameters:
      certificateSource - CertificateSource
    • getTrustServiceProviderPredicate

      public Predicate<TSPType> getTrustServiceProviderPredicate()
      Gets a predicate to filter TrustServiceProviders
      Returns:
      Predicate
    • setTrustServiceProviderPredicate

      public void setTrustServiceProviderPredicate(Predicate<TSPType> trustServiceProviderPredicate)
      Sets a predicate to filter TrustServiceProviders
      Parameters:
      trustServiceProviderPredicate - Predicate
    • getTrustServicePredicate

      public Predicate<TSPServiceType> getTrustServicePredicate()
      Gets a predicate to filter TrustServices
      Returns:
      Predicate
    • setTrustServicePredicate

      public void setTrustServicePredicate(Predicate<TSPServiceType> trustServicePredicate)
      Sets a predicate to filter TrustServices
      Parameters:
      trustServicePredicate - Predicate
    • getCacheKey

      public CacheKey getCacheKey()
      Gets the TL cache key
      Returns:
      CacheKey