Bouncy Castle Cryptography 1.11 API Specification: Class SubjectKeyIdentifier
org.bouncycastle.asn1.x509
Class SubjectKeyIdentifier
java.lang.Object
|
+--org.bouncycastle.asn1.x509.SubjectKeyIdentifier
All Implemented Interfaces: DEREncodable
public class SubjectKeyIdentifier extends java.lang.Objectimplements DEREncodable
SubjectKeyIdentifier::= OCTET STRING
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
SubjectKeyIdentifier
public SubjectKeyIdentifier (byte[] keyid)
SubjectKeyIdentifier
public SubjectKeyIdentifier (DEROctetString keyid)
SubjectKeyIdentifier
public SubjectKeyIdentifier (SubjectPublicKeyInfo spki)
Calulates the keyidentifier using a SHA1 hash over the BIT STRING
from SubjectPublicKeyInfo as defined in RFC2459.
getKeyIdentifier
public byte[] getKeyIdentifier ()
getDERObject
public DERObject getDERObject ()
SubjectKeyIdentifier := OCTET STRING
Specified by: getDERObject
in interface DEREncodable