Package com.unboundid.util.ssl.cert
Class SubjectKeyIdentifierExtension
java.lang.Object
com.unboundid.util.ssl.cert.X509CertificateExtension
com.unboundid.util.ssl.cert.SubjectKeyIdentifierExtension
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class SubjectKeyIdentifierExtension
extends X509CertificateExtension
This class provides an implementation of the subject key identifier X.509
certificate extension as described in
RFC 5280 section 4.2.1.2.
The OID for this extension is 2.5.29.14. The value is an octet string and is
intended to identify the public key used by a certificate. The actual format
of the key identifier is not specified, although RFC 5280 does specify a
couple of possibilities.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OIDThe OID (2.5.29.14) for subject key identifier extensions. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the name for this extension.Retrieves the key identifier for this extension.voidtoString(StringBuilder buffer) Appends a string representation of this certificate extension to the provided buffer.Methods inherited from class com.unboundid.util.ssl.cert.X509CertificateExtension
getOID, getValue, isCritical, toString
-
Field Details
-
SUBJECT_KEY_IDENTIFIER_OID
The OID (2.5.29.14) for subject key identifier extensions.
-
-
Method Details
-
getKeyIdentifier
Retrieves the key identifier for this extension.- Returns:
- The key identifier for this extension.
-
getExtensionName
Retrieves the name for this extension.- Overrides:
getExtensionNamein classX509CertificateExtension- Returns:
- The name for this extension.
-
toString
Appends a string representation of this certificate extension to the provided buffer.- Overrides:
toStringin classX509CertificateExtension- Parameters:
buffer- The buffer to which the information should be appended.
-