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.
|
dumpValuepublic SubjectKeyIdentifier(byte[] keyIdentifier)
public static SubjectKeyIdentifier decode(byte[] encoding) throws IOException
IOExceptionpublic byte[] getKeyIdentifier()
public byte[] getEncoded()
ExtensionValuegetEncoded in class ExtensionValuepublic void dumpValue(StringBuilder sb, String prefix)
dumpValue in class ExtensionValue