Methods Summary |
---|
public static org.apache.harmony.security.x509.SubjectKeyIdentifier | decode(byte[] encoding)Creates an object on the base of its encoded form.
SubjectKeyIdentifier res = new SubjectKeyIdentifier((byte[])
ASN1OctetString.getInstance().decode(encoding));
res.encoding = encoding;
return res;
|
public void | dumpValue(java.lang.StringBuffer buffer, java.lang.String prefix)Places the string representation of extension value
into the StringBuffer object.
buffer.append(prefix).append("SubjectKeyIdentifier: [\n"); //$NON-NLS-1$
buffer.append(Array.toString(keyIdentifier, prefix));
buffer.append(prefix).append("]\n"); //$NON-NLS-1$
|
public byte[] | getEncoded()Returns ASN.1 encoded form of extension.
if (encoding == null) {
encoding = ASN1OctetString.getInstance().encode(keyIdentifier);
}
return encoding;
|