Package eu.europa.esig.dss.tsl.function
Class TLPredicateFactory
java.lang.Object
eu.europa.esig.dss.tsl.function.TLPredicateFactory
This class provides utils for creation of common
Predicate
s used
for TLSource
/LOTLSource
configuration.-
Method Summary
Modifier and TypeMethodDescriptionstatic Predicate<OtherTSLPointerType>
This method creates a Predicate used to filter the XML European list of trusted list (LOTL)static Predicate<OtherTSLPointerType>
createEUTLCountryCodePredicate
(String... countryCodes) This method creates a Predicate used to filter XML European Trusted Lists (TL) with the defined Scheme Territory codes Example : "DE", "FR"static Predicate<OtherTSLPointerType>
This method creates a Predicate used to filter the XML European Trusted List (TL)static Predicate<OtherTSLPointerType>
This method creates a predicate used to filter all PDF Trusted Lists (TL)static Predicate<OtherTSLPointerType>
createPredicateWithCustomMimeType
(String mimetype) This method creates a predicate used to filter all Trusted Lists (TL) with the defined mimetype Example : "application/vnd.etsi.tsl+xml" to filter XML Trusted Lists (TL)static Predicate<OtherTSLPointerType>
createPredicateWithCustomTSLType
(String tslType) This method creates a Predicate used to filter an XML Trusted List (TL) defined with a custom TSLTypestatic Predicate<OtherTSLPointerType>
This method creates a predicate used to filter all XML Trusted Lists (TL)
-
Method Details
-
createEULOTLPredicate
This method creates a Predicate used to filter the XML European list of trusted list (LOTL)- Returns:
Predicate
-
createEUTLPredicate
This method creates a Predicate used to filter the XML European Trusted List (TL)- Returns:
Predicate
-
createPredicateWithCustomTSLType
This method creates a Predicate used to filter an XML Trusted List (TL) defined with a custom TSLType -
createEUTLCountryCodePredicate
This method creates a Predicate used to filter XML European Trusted Lists (TL) with the defined Scheme Territory codes Example : "DE", "FR" -
createXMLOtherTSLPointerPredicate
This method creates a predicate used to filter all XML Trusted Lists (TL)- Returns:
Predicate
-
createPDFOtherTSLPointerPredicate
This method creates a predicate used to filter all PDF Trusted Lists (TL)- Returns:
Predicate
-
createPredicateWithCustomMimeType
This method creates a predicate used to filter all Trusted Lists (TL) with the defined mimetype Example : "application/vnd.etsi.tsl+xml" to filter XML Trusted Lists (TL)
-