KeyIdentifier

Represent the Key Identifier ASN.1 object.

@author Amit Kapoor @author Hemma Prafullchandra

Constructors

this
this(byte[] octetString)

Create a KeyIdentifier with the passed bit settings.

this
this(DerValue val)

Create a KeyIdentifier from the DER encoded value.

this
this(PublicKey pubKey)

Creates a KeyIdentifier from a public-key value.

Members

Functions

encode
void encode(DerOutputStream stream)

Write the KeyIdentifier to the DerOutputStream.

getIdentifier
byte[] getIdentifier()

Return the value of the KeyIdentifier as byte array.

opEquals
bool opEquals(Object other)

Indicates whether some other object is "equal to" this one.

toHash
size_t toHash()

Returns a hash code value for this object. Objects that are equal will also have the same hashcode.

toString
string toString()

Returns a printable representation of the KeyUsage.

Meta