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
Abstract filter defining the main logic of filters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfilter
(List<TrustServiceWrapper> originServices) Filters a list ofTrustServiceWrapper
sprotected abstract boolean
isAcceptable
(TrustServiceWrapper service) Checks whether theservice
is acceptable
-
Constructor Details
-
AbstractTrustServiceFilter
protected AbstractTrustServiceFilter()Default constructor
-
-
Method Details
-
filter
Description copied from interface:TrustServiceFilter
Filters a list ofTrustServiceWrapper
s- Specified by:
filter
in interfaceTrustServiceFilter
- Parameters:
originServices
- a list ofTrustServiceWrapper
s to filter- Returns:
- filtered list of
TrustServiceWrapper
s
-
isAcceptable
Checks whether theservice
is acceptable- Parameters:
service
-TrustServiceWrapper
to check- Returns:
- TRUE if the
service
is acceptable, FALSE otherwise
-