|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.asn1.ASN1Object | +--org.bouncycastle.asn1.x509.AuthorityKeyIdentifier
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
Constructor Summary | |
protected |
AuthorityKeyIdentifier(ASN1Sequence seq)
|
|
AuthorityKeyIdentifier(byte[] keyIdentifier)
create an AuthorityKeyIdentifier with a precomputed key identifier |
|
AuthorityKeyIdentifier(byte[] keyIdentifier,
GeneralNames name,
java.math.BigInteger serialNumber)
create an AuthorityKeyIdentifier with a precomputed key identifier and the GeneralNames tag and the serial number provided as well. |
|
AuthorityKeyIdentifier(GeneralNames name,
java.math.BigInteger serialNumber)
create an AuthorityKeyIdentifier with the GeneralNames tag and the serial number provided. |
|
AuthorityKeyIdentifier(SubjectPublicKeyInfo spki)
Deprecated. create the extension using org.bouncycastle.cert.X509ExtensionUtils |
|
AuthorityKeyIdentifier(SubjectPublicKeyInfo spki,
GeneralNames name,
java.math.BigInteger serialNumber)
Deprecated. create the extension using org.bouncycastle.cert.X509ExtensionUtils |
Method Summary | |
static AuthorityKeyIdentifier |
fromExtensions(Extensions extensions)
|
GeneralNames |
getAuthorityCertIssuer()
|
java.math.BigInteger |
getAuthorityCertSerialNumber()
|
static AuthorityKeyIdentifier |
getInstance(ASN1TaggedObject obj,
boolean explicit)
|
static AuthorityKeyIdentifier |
getInstance(java.lang.Object obj)
|
byte[] |
getKeyIdentifier()
|
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. |
java.lang.String |
toString()
|
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected AuthorityKeyIdentifier(ASN1Sequence seq)
public AuthorityKeyIdentifier(SubjectPublicKeyInfo spki)
public AuthorityKeyIdentifier(SubjectPublicKeyInfo spki, GeneralNames name, java.math.BigInteger serialNumber)
public AuthorityKeyIdentifier(GeneralNames name, java.math.BigInteger serialNumber)
public AuthorityKeyIdentifier(byte[] keyIdentifier)
public AuthorityKeyIdentifier(byte[] keyIdentifier, GeneralNames name, java.math.BigInteger serialNumber)
Method Detail |
public static AuthorityKeyIdentifier getInstance(ASN1TaggedObject obj, boolean explicit)
public static AuthorityKeyIdentifier getInstance(java.lang.Object obj)
public static AuthorityKeyIdentifier fromExtensions(Extensions extensions)
public byte[] getKeyIdentifier()
public GeneralNames getAuthorityCertIssuer()
public java.math.BigInteger getAuthorityCertSerialNumber()
public ASN1Primitive toASN1Primitive()
toASN1Primitive
in class ASN1Object
org.bouncycastle.asn1.ASN1Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |