public class SubjectKeyIdentifierStructure extends SubjectKeyIdentifier
Modifier and Type | Field and Description |
---|---|
private AuthorityKeyIdentifier |
authKeyID |
BER, DER
Constructor and Description |
---|
SubjectKeyIdentifierStructure(byte[] encodedValue)
Constructor which will take the byte[] returned from getExtensionValue()
|
SubjectKeyIdentifierStructure(java.security.PublicKey pubKey) |
Modifier and Type | Method and Description |
---|---|
private static ASN1OctetString |
fromPublicKey(java.security.PublicKey pubKey) |
getInstance, getInstance, getKeyIdentifier, toASN1Object
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
private AuthorityKeyIdentifier authKeyID
public SubjectKeyIdentifierStructure(byte[] encodedValue) throws java.io.IOException
encodedValue
- a DER octet encoded string with the extension structure in it.java.io.IOException
- on parsing errors.public SubjectKeyIdentifierStructure(java.security.PublicKey pubKey) throws java.security.cert.CertificateParsingException
java.security.cert.CertificateParsingException
private static ASN1OctetString fromPublicKey(java.security.PublicKey pubKey) throws java.security.cert.CertificateParsingException
java.security.cert.CertificateParsingException
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.