Class ServiceByCountryFilter
java.lang.Object
eu.europa.esig.dss.validation.process.qualification.trust.filter.AbstractTrustedServiceFilter
eu.europa.esig.dss.validation.process.qualification.trust.filter.ServiceByCountryFilter
- All Implemented Interfaces:
TrustedServiceFilter
This class is used to filter trusted services by country code(s).
That's possible to find trusted certificates in more than one TL (eg : UK +
PT)
-
Constructor Summary
ConstructorsConstructorDescriptionServiceByCountryFilter(String countryCode) Constructor to instantiate the filter by a single country codeServiceByCountryFilter(Set<String> countryCodes) Constructor to instantiate the filter by a set of single country codes -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisAcceptable(TrustedServiceWrapper service) Checks whether theserviceis acceptableMethods inherited from class eu.europa.esig.dss.validation.process.qualification.trust.filter.AbstractTrustedServiceFilter
filter
-
Constructor Details
-
Method Details
-
isAcceptable
Description copied from class:AbstractTrustedServiceFilterChecks whether theserviceis acceptable- Specified by:
isAcceptablein classAbstractTrustedServiceFilter- Parameters:
service-TrustedServiceWrapperto check- Returns:
- TRUE if the
serviceis acceptable, FALSE otherwise
-