Class UniqueServiceFilter
java.lang.Object
eu.europa.esig.dss.validation.process.qualification.trust.filter.UniqueServiceFilter
- All Implemented Interfaces:
TrustedServiceFilter
This class is used to select a TrustedService that is unambiguous and does not have conflicts with other TrustedServices.
In case of a conflict for the given
endEntityCert, none of the TrustedServices is returned.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter(List<TrustedServiceWrapper> trustServices) Filters a list ofTrustedServiceWrappers
-
Constructor Details
-
UniqueServiceFilter
Default constructor- Parameters:
endEntityCert-CertificateWrapperto check TrustedServices for
-
-
Method Details
-
filter
Description copied from interface:TrustedServiceFilterFilters a list ofTrustedServiceWrappers- Specified by:
filterin interfaceTrustedServiceFilter- Parameters:
trustServices- a list ofTrustedServiceWrappers to filter- Returns:
- filtered list of
TrustedServiceWrappers
-