public class AuthorityKeyIdentifier extends ASN1Object
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 | Constructor and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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() |
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
protected AuthorityKeyIdentifier(ASN1Sequence seq)
public AuthorityKeyIdentifier(GeneralNames name, java.math.BigInteger serialNumber)
public AuthorityKeyIdentifier(byte[] keyIdentifier)
public AuthorityKeyIdentifier(byte[] keyIdentifier, GeneralNames name, java.math.BigInteger serialNumber)
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 interface ASN1Encodable
toASN1Primitive
in class ASN1Object
public java.lang.String toString()
toString
in class java.lang.Object