java.lang.Object | ||
↳ | org.bouncycastle.asn1.ASN1Encodable | |
↳ | org.bouncycastle.asn1.x509.AuthorityKeyIdentifier |
Known Direct Subclasses |
The AuthorityKeyIdentifier object.
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
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Calulates the keyidentifier using a SHA1 hash over the BIT STRING
from SubjectPublicKeyInfo as defined in RFC2459.
| |||||||||||
create an AuthorityKeyIdentifier with the GeneralNames tag and
the serial number provided as well.
| |||||||||||
create an AuthorityKeyIdentifier with the GeneralNames tag and
the serial number provided.
| |||||||||||
create an AuthorityKeyIdentifier with a precomupted key identifier
| |||||||||||
create an AuthorityKeyIdentifier with a precomupted key identifier
and the GeneralNames tag and the serial number provided as well.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Produce an object suitable for an ASN1OutputStream.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.asn1.DEREncodable
|
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);
create an AuthorityKeyIdentifier with the GeneralNames tag and the serial number provided as well.
create an AuthorityKeyIdentifier with the GeneralNames tag and the serial number provided.
create an AuthorityKeyIdentifier with a precomupted key identifier
create an AuthorityKeyIdentifier with a precomupted key identifier and the GeneralNames tag and the serial number provided as well.