Class ExtendedKeyUsageKeyEntryPredicate
java.lang.Object
eu.europa.esig.dss.token.predicate.ExtendedKeyUsageKeyEntryPredicate
- All Implemented Interfaces:
DSSKeyEntryPredicate
,Predicate<DSSPrivateKeyEntry>
This class is used to filter private key predicates based on the certificate ExtendedKeyUsage attribute value
-
Constructor Summary
ConstructorDescriptionExtendedKeyUsageKeyEntryPredicate
(ExtendedKeyUsage... extendedKeyUsages) Default constructor with an array ofExtendedKeyUsage
s to be acceptedExtendedKeyUsageKeyEntryPredicate
(String... extendedKeyUsageOIDs) Constructor with an array of ExtendedKeyUsage OIDs to be accepted -
Method Summary
-
Constructor Details
-
ExtendedKeyUsageKeyEntryPredicate
Default constructor with an array ofExtendedKeyUsage
s to be accepted- Parameters:
extendedKeyUsages
- array ofKeyUsageBit
s to be accepted
-
ExtendedKeyUsageKeyEntryPredicate
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<DSSPrivateKeyEntry>
-