@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class AuthorityKeyIdentifierExtension extends X509CertificateExtension
AuthorityKeyIdentifier ::= SEQUENCE {
keyIdentifier [0] KeyIdentifier OPTIONAL,
authorityCertIssuer [1] GeneralNames OPTIONAL,
authorityCertSerialNumber [2] CertificateSerialNumber OPTIONAL }
The actual format of the key identifier is not specified, although RFC 5280
does specify a couple of possibilities.| Modifier and Type | Field and Description |
|---|---|
static OID |
AUTHORITY_KEY_IDENTIFIER_OID
The OID (2.5.29.35) for authority key identifier extensions.
|
| Modifier and Type | Method and Description |
|---|---|
GeneralNames |
getAuthorityCertIssuer()
Retrieves the general names for the authority certificate, if available.
|
java.math.BigInteger |
getAuthorityCertSerialNumber()
Retrieves the serial number for the authority certificate, if available.
|
java.lang.String |
getExtensionName()
Retrieves the name for this extension.
|
ASN1OctetString |
getKeyIdentifier()
Retrieves the key identifier for this extension, if available.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this certificate extension to the
provided buffer.
|
getOID, getValue, isCritical, toStringpublic static final OID AUTHORITY_KEY_IDENTIFIER_OID
public ASN1OctetString getKeyIdentifier()
null if it
was not included in the extension.public GeneralNames getAuthorityCertIssuer()
null
if it was not included in the extension.public java.math.BigInteger getAuthorityCertSerialNumber()
null
if it was not included in the extension.public java.lang.String getExtensionName()
getExtensionName in class X509CertificateExtensionpublic void toString(java.lang.StringBuilder buffer)
toString in class X509CertificateExtensionbuffer - The buffer to which the information should be appended.