Class AbstractTrustServiceFilter

java.lang.Object
eu.europa.esig.dss.validation.process.qualification.trust.filter.AbstractTrustServiceFilter
All Implemented Interfaces:
TrustServiceFilter
Direct Known Subclasses:
CaQcServiceFilter, GrantedServiceFilter, QTSTServiceFilter, ServiceByCertificateTypeFilter, ServiceByCountryFilter, ServiceByDateFilter, ServiceByMRAEquivalenceStartingDateFilter, ServiceByTLUrlFilter

public abstract class AbstractTrustServiceFilter extends Object implements TrustServiceFilter
Abstract filter defining the main logic of filters
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    List<eu.europa.esig.dss.diagnostic.TrustServiceWrapper>
    filter(List<eu.europa.esig.dss.diagnostic.TrustServiceWrapper> originServices)
    Filters a list of TrustServiceWrappers
    protected abstract boolean
    isAcceptable(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service)
    Checks whether the service is acceptable

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractTrustServiceFilter

      protected AbstractTrustServiceFilter()
      Default constructor
  • Method Details

    • filter

      public List<eu.europa.esig.dss.diagnostic.TrustServiceWrapper> filter(List<eu.europa.esig.dss.diagnostic.TrustServiceWrapper> originServices)
      Description copied from interface: TrustServiceFilter
      Filters a list of TrustServiceWrappers
      Specified by:
      filter in interface TrustServiceFilter
      Parameters:
      originServices - a list of TrustServiceWrappers to filter
      Returns:
      filtered list of TrustServiceWrappers
    • isAcceptable

      protected abstract boolean isAcceptable(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service)
      Checks whether the service is acceptable
      Parameters:
      service - TrustServiceWrapper to check
      Returns:
      TRUE if the service is acceptable, FALSE otherwise