id-ce-authorityKeyIdentifier OBJECT IDENTIFIER ::= { id-ce 35 }
AuthorityKeyIdentifier ::= SEQUENCE {
keyIdentifier [0] IMPLICIT KeyIdentifier OPTIONAL,
authorityCertIssuer [1] IMPLICIT GeneralNames OPTIONAL,
authorityCertSerialNumber [2] IMPLICIT CertificateSerialNumber OPTIONAL }
KeyIdentifier ::= OCTET STRING
| Modifier and Type | Field and Description |
|---|---|
| pack-priv GeneralNames | |
| pack-priv ASN1Integer | |
| pack-priv ASN1OctetString |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | AuthorityKeyIdentifier(SubjectPublicKeyInfo spki)
Deprecated
create the extension using org.bouncycastle.cert.X509ExtensionUtils
Calulates the keyidentifier using a SHA1 hash over the BIT STRING
from SubjectPublicKeyInfo as defined in RFC2459.
|
| public | AuthorityKeyIdentifier(SubjectPublicKeyInfo spki, GeneralNames name, BigInteger serialNumber)
Deprecated
create the extension using org.bouncycastle.cert.X509ExtensionUtils
create an AuthorityKeyIdentifier with the GeneralNames tag and
the serial number provided as well.
|
| public | AuthorityKeyIdentifier(GeneralNames name, BigInteger serialNumber)
create an AuthorityKeyIdentifier with the GeneralNames tag and the serial number provided. |
| public | AuthorityKeyIdentifier(byte[] keyIdentifier)
create an AuthorityKeyIdentifier with a precomputed key identifier |
| public | AuthorityKeyIdentifier(byte[] keyIdentifier, GeneralNames name, BigInteger serialNumber)
create an AuthorityKeyIdentifier with a precomputed key identifier and the GeneralNames tag and the serial number provided as well. |
| Modifier and Type | Method and Description |
|---|---|
| public static AuthorityKeyIdentifier | |
| public GeneralNames | |
| public BigInteger | |
| public static AuthorityKeyIdentifier | |
| public static AuthorityKeyIdentifier | |
| public byte[] | |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. |
| public String |
| certissuer | back to summary |
|---|---|
| pack-priv GeneralNames certissuer | |
| certserno | back to summary |
|---|---|
| pack-priv ASN1Integer certserno | |
| keyidentifier | back to summary |
|---|---|
| pack-priv ASN1OctetString keyidentifier | |
| AuthorityKeyIdentifier | back to summary |
|---|---|
| protected AuthorityKeyIdentifier(ASN1Sequence seq) | |
| AuthorityKeyIdentifier | back to summary |
|---|---|
| public AuthorityKeyIdentifier(SubjectPublicKeyInfo spki)
Deprecated create the extension using org.bouncycastle.cert.X509ExtensionUtils Calulates the keyidentifier using a SHA1 hash over the BIT STRING from SubjectPublicKeyInfo as defined in RFC2459. Example of making a AuthorityKeyIdentifier:
SubjectPublicKeyInfo apki = new SubjectPublicKeyInfo((ASN1Sequence)new ASN1InputStream(
publicKey.getEncoded()).readObject());
AuthorityKeyIdentifier aki = new AuthorityKeyIdentifier(apki);
| |
| AuthorityKeyIdentifier | back to summary |
|---|---|
| public AuthorityKeyIdentifier(SubjectPublicKeyInfo spki, GeneralNames name, BigInteger serialNumber)
Deprecated create the extension using org.bouncycastle.cert.X509ExtensionUtils create an AuthorityKeyIdentifier with the GeneralNames tag and the serial number provided as well. | |
| AuthorityKeyIdentifier | back to summary |
|---|---|
| public AuthorityKeyIdentifier(GeneralNames name, BigInteger serialNumber) create an AuthorityKeyIdentifier with the GeneralNames tag and the serial number provided. | |
| AuthorityKeyIdentifier | back to summary |
|---|---|
| public AuthorityKeyIdentifier(byte[] keyIdentifier) create an AuthorityKeyIdentifier with a precomputed key identifier | |
| AuthorityKeyIdentifier | back to summary |
|---|---|
| public AuthorityKeyIdentifier(byte[] keyIdentifier, GeneralNames name, BigInteger serialNumber) create an AuthorityKeyIdentifier with a precomputed key identifier and the GeneralNames tag and the serial number provided as well. | |
| fromExtensions | back to summary |
|---|---|
| public static AuthorityKeyIdentifier fromExtensions(Extensions extensions) | |
| getAuthorityCertIssuer | back to summary |
|---|---|
| public GeneralNames getAuthorityCertIssuer() | |
| getAuthorityCertSerialNumber | back to summary |
|---|---|
| public BigInteger getAuthorityCertSerialNumber() | |
| getInstance | back to summary |
|---|---|
| public static AuthorityKeyIdentifier getInstance(ASN1TaggedObject obj, boolean explicit) | |
| getInstance | back to summary |
|---|---|
| public static AuthorityKeyIdentifier getInstance(Object obj) | |
| getKeyIdentifier | back to summary |
|---|---|
| public byte[] getKeyIdentifier() | |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Produce an object suitable for an ASN1OutputStream.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |