Class TrustedServicesFilterFactory
java.lang.Object
eu.europa.esig.dss.validation.process.qualification.trust.filter.TrustedServicesFilterFactory
Creates a
TrustedServiceFilter-
Method Summary
Modifier and TypeMethodDescriptionstatic TrustedServiceFilterCreates a TrustedService filter by QC consistencystatic TrustedServiceFilterCreates a TrustedService filter by QC consistencystatic TrustedServiceFilterCreates a TrustedService filter by QSCD consistencystatic TrustedServiceFilterCreates a TrustedService filter by status consistencystatic TrustedServiceFilterCreates a TrustedService filter by 'CA/QC' identifierstatic TrustedServiceFiltercreateFilterByCertificateType(CertificateWrapper certificate) Creates a TrustedService filter by the type as in the given certificatestatic TrustedServiceFiltercreateFilterByCountries(Set<String> countryCodes) Creates a TrustedService filter by country codesstatic TrustedServiceFiltercreateFilterByCountry(String countryCode) Creates a TrustedService filter by country codestatic TrustedServiceFiltercreateFilterByDate(Date date) Creates a TrustedService filter by datestatic TrustedServiceFilterCreates a TrustedService filter by 'granted' statusstatic TrustedServiceFilterCreates a TrustedService filter by MRA equivalence starting datestatic TrustedServiceFilterCreates a TrustedService filter by 'TSA/QTST' identifierstatic TrustedServiceFiltercreateFilterByUrls(Set<String> urls) Creates a TrustedService filter by urlsstatic TrustedServiceFilterCreates a TrustedService filter by MRA enactedstatic TrustedServiceFiltercreateUniqueServiceFilter(CertificateWrapper endEntityCertificate) Creates a TrustedService filter by end-entity certificate
-
Method Details
-
createFilterByGranted
Creates a TrustedService filter by 'granted' status- Returns:
TrustedServiceFilter
-
createFilterByCaQc
Creates a TrustedService filter by 'CA/QC' identifier- Returns:
TrustedServiceFilter
-
createFilterByQTST
Creates a TrustedService filter by 'TSA/QTST' identifier- Returns:
TrustedServiceFilter
-
createFilterByDate
Creates a TrustedService filter by date- Parameters:
date-Dateto filter trusted services by- Returns:
TrustedServiceFilter
-
createFilterByCountry
Creates a TrustedService filter by country code- Parameters:
countryCode-Stringto filter trusted services by- Returns:
TrustedServiceFilter
-
createFilterByCountries
Creates a TrustedService filter by country codes- Parameters:
countryCodes- a set ofStrings to filter trusted services by- Returns:
TrustedServiceFilter
-
createFilterByUrls
Creates a TrustedService filter by urls- Parameters:
urls- a set ofStrings to filter trusted services by- Returns:
TrustedServiceFilter
-
createUniqueServiceFilter
public static TrustedServiceFilter createUniqueServiceFilter(CertificateWrapper endEntityCertificate) Creates a TrustedService filter by end-entity certificate- Parameters:
endEntityCertificate-CertificateWrapperto filter trusted services by- Returns:
TrustedServiceFilter
-
createFilterByCertificateType
Creates a TrustedService filter by the type as in the given certificate- Parameters:
certificate-CertificateWrapperto filter trusted services by its type- Returns:
TrustedServiceFilter
-
createConsistentServiceByStatusFilter
Creates a TrustedService filter by status consistency- Returns:
TrustedServiceFilter
-
createConsistentServiceByQCFilter
Creates a TrustedService filter by QC consistency- Returns:
TrustedServiceFilter
-
createConsistentServiceByCertificateTypeFilter
Creates a TrustedService filter by QC consistency- Returns:
TrustedServiceFilter
-
createConsistentServiceByQSCDFilter
Creates a TrustedService filter by QSCD consistency- Returns:
TrustedServiceFilter
-
createMRAEnactedFilter
Creates a TrustedService filter by MRA enacted- Returns:
TrustedServiceFilter
-
createFilterByMRAEquivalenceStartingDate
Creates a TrustedService filter by MRA equivalence starting date- Parameters:
date-Dateto filter trusted services by- Returns:
TrustedServiceFilter
-