Class ServiceByCountryFilter
java.lang.Object
eu.europa.esig.dss.validation.process.qualification.trust.filter.AbstractTrustServiceFilter
eu.europa.esig.dss.validation.process.qualification.trust.filter.ServiceByCountryFilter
- All Implemented Interfaces:
TrustServiceFilter
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 boolean
isAcceptable
(TrustServiceWrapper service) Checks whether theservice
is acceptableMethods inherited from class eu.europa.esig.dss.validation.process.qualification.trust.filter.AbstractTrustServiceFilter
filter
-
Constructor Details
-
Method Details
-
isAcceptable
Description copied from class:AbstractTrustServiceFilter
Checks whether theservice
is acceptable- Specified by:
isAcceptable
in classAbstractTrustServiceFilter
- Parameters:
service
-TrustServiceWrapper
to check- Returns:
- TRUE if the
service
is acceptable, FALSE otherwise
-