@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class ExtendedKeyUsageExtension extends X509CertificateExtension
ExtKeyUsageSyntax ::= SEQUENCE SIZE (1..MAX) OF KeyPurposeId KeyPurposeId ::= OBJECT IDENTIFIER
ExtendedKeyUsageID
,
Serialized FormModifier and Type | Field and Description |
---|---|
static OID |
EXTENDED_KEY_USAGE_OID
The OID (2.5.29.37) for extended key usage extensions.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtensionName()
Retrieves the name for this extension.
|
java.util.Set<OID> |
getKeyPurposeIDs()
Retrieves the OIDs of the key purpose values contained in this extension.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this certificate extension to the
provided buffer.
|
getOID, getValue, isCritical, toString
@NotNull public static final OID EXTENDED_KEY_USAGE_OID
@NotNull public java.util.Set<OID> getKeyPurposeIDs()
ExtendedKeyUsageID
enumeration.@NotNull public java.lang.String getExtensionName()
getExtensionName
in class X509CertificateExtension
public void toString(@NotNull java.lang.StringBuilder buffer)
toString
in class X509CertificateExtension
buffer
- The buffer to which the information should be appended.