Class ExtendedKeyUsageCondition
java.lang.Object
eu.europa.esig.dss.tsl.dto.condition.ExtendedKeyUsageCondition
- All Implemented Interfaces:
Condition
,Serializable
ExtendedKeyUsage
Presence: This field is optional.
Description: It provides a non empty list of key purposes values to match with the correspondent KeyPurposes
present in the ExtendedKeyUsage certificate Extension. The assertion is verified if the
ExtendedKeyUsage Extension is present in the certificate and all key purposes provided are
present in the certificate ExtendedKeyUsage Extension.
Format: A non-empty sequence of KeyPurposes, whose semantic shall be as defined in X.509 [1] for the
ExtendedKeyUsage Extension. For the formal definition see ExtendedKeyUsage element in
the schema referenced by clause C.2 (point 3).
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
check
(CertificateToken certificateToken) Returns true if the condition is evaluated to true for the given certificate.Returns the list key purpose IDs to be checked against the certificate’s extended key usage extension.toString()
Returns a string representation of the condition
-
Constructor Details
-
ExtendedKeyUsageCondition
-
-
Method Details
-
getKeyPurposeIds
-
check
Description copied from interface:Condition
Returns true if the condition is evaluated to true for the given certificate. -
toString
-
toString
-