org.bouncycastle.x509.extension
Class AuthorityKeyIdentifierStructure
- DEREncodable
public class AuthorityKeyIdentifierStructure
A high level authority key identifier.
AuthorityKeyIdentifierStructure
public AuthorityKeyIdentifierStructure(PublicKey pubKey)
throws InvalidKeyException
Create an AuthorityKeyIdentifier using just the hash of the
public key.
pubKey
- the key to generate the hash from.
AuthorityKeyIdentifierStructure
public AuthorityKeyIdentifierStructure(X509Certificate certificate)
throws CertificateParsingException
Create an AuthorityKeyIdentifier using the passed in certificate's public
key, issuer and serial number.
certificate
- the certificate providing the information.
AuthorityKeyIdentifierStructure
public AuthorityKeyIdentifierStructure(byte[] encodedValue)
throws IOException
Constructor which will take the byte[] returned from getExtensionValue()
encodedValue
- a DER octet encoded string with the extension structure in it.