Module jpms_dss_validation
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 booleanisAcceptable(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether theserviceis acceptableMethods inherited from class eu.europa.esig.dss.validation.process.qualification.trust.filter.AbstractTrustServiceFilter
filter
-
Constructor Details
-
ServiceByCountryFilter
-
ServiceByCountryFilter
-
-
Method Details
-
isAcceptable
protected boolean isAcceptable(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Description copied from class:AbstractTrustServiceFilterChecks whether theserviceis acceptable- Specified by:
isAcceptablein classAbstractTrustServiceFilter- Parameters:
service-TrustServiceWrapperto check- Returns:
- TRUE if the
serviceis acceptable, FALSE otherwise
-