Class AbstractTrustedServiceFilter
java.lang.Object
eu.europa.esig.dss.validation.process.qualification.trust.filter.AbstractTrustedServiceFilter
- All Implemented Interfaces:
TrustedServiceFilter
- Direct Known Subclasses:
CaQcServiceFilter,GrantedServiceFilter,QTSTServiceFilter,ServiceByCertificateTypeFilter,ServiceByCountryFilter,ServiceByDateFilter,ServiceByMRAEquivalenceStartingDateFilter,ServiceByTLUrlFilter
Abstract filter defining the main logic of filters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter(List<TrustedServiceWrapper> originServices) Filters a list ofTrustedServiceWrappersprotected abstract booleanisAcceptable(TrustedServiceWrapper service) Checks whether theserviceis acceptable
-
Constructor Details
-
AbstractTrustedServiceFilter
protected AbstractTrustedServiceFilter()Default constructor
-
-
Method Details
-
filter
Description copied from interface:TrustedServiceFilterFilters a list ofTrustedServiceWrappers- Specified by:
filterin interfaceTrustedServiceFilter- Parameters:
originServices- a list ofTrustedServiceWrappers to filter- Returns:
- filtered list of
TrustedServiceWrappers
-
isAcceptable
Checks whether theserviceis acceptable- Parameters:
service-TrustedServiceWrapperto check- Returns:
- TRUE if the
serviceis acceptable, FALSE otherwise
-