public final class SubjectKeyIdentifier extends ExtensionValue
id-ce-subjectKeyIdentifier OBJECT IDENTIFIER ::= { id-ce 14 } SubjectKeyIdentifier ::= KeyIdentifier KeyIdentifier ::= OCTET STRING(as specified in RFC 3280 http://www.ietf.org/rfc/rfc3280.txt)
encoding
Constructor and Description |
---|
SubjectKeyIdentifier(byte[] keyIdentifier)
Creates the object on the base of the value of key identifier.
|
Modifier and Type | Method and Description |
---|---|
static SubjectKeyIdentifier |
decode(byte[] encoding)
Creates an object on the base of its encoded form.
|
void |
dumpValue(StringBuilder sb,
String prefix) |
byte[] |
getEncoded()
Returns encoded form of the object.
|
byte[] |
getKeyIdentifier()
The key identifier for this subject.
|
dumpValue
public SubjectKeyIdentifier(byte[] keyIdentifier)
public static SubjectKeyIdentifier decode(byte[] encoding) throws IOException
IOException
public byte[] getKeyIdentifier()
public byte[] getEncoded()
ExtensionValue
getEncoded
in class ExtensionValue
public void dumpValue(StringBuilder sb, String prefix)
dumpValue
in class ExtensionValue