Class ServiceByTLUrlFilter

java.lang.Object
eu.europa.esig.dss.validation.process.qualification.trust.filter.AbstractTrustServiceFilter
eu.europa.esig.dss.validation.process.qualification.trust.filter.ServiceByTLUrlFilter
All Implemented Interfaces:
TrustServiceFilter

public class ServiceByTLUrlFilter extends AbstractTrustServiceFilter
This class is used to filter trusted services by the TL Url.
  • Constructor Details

    • ServiceByTLUrlFilter

      public ServiceByTLUrlFilter(String tlUrl)
      Constructor to instantiate the filter with a single TL URL
      Parameters:
      tlUrl - String
    • ServiceByTLUrlFilter

      public ServiceByTLUrlFilter(Set<String> tlUrls)
      Constructor to instantiate the filter with a set of TL URLs
      Parameters:
      tlUrls - a set of Strings
  • Method Details

    • isAcceptable

      protected boolean isAcceptable(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service)
      Description copied from class: AbstractTrustServiceFilter
      Checks whether the service is acceptable
      Specified by:
      isAcceptable in class AbstractTrustServiceFilter
      Parameters:
      service - TrustServiceWrapper to check
      Returns:
      TRUE if the service is acceptable, FALSE otherwise