public class AuthorityKeyIdentifierStructure extends AuthorityKeyIdentifier
| Constructor and Description |
|---|
AuthorityKeyIdentifierStructure(byte[] encodedValue)
Deprecated.
Constructor which will take the byte[] returned from getExtensionValue()
|
AuthorityKeyIdentifierStructure(Extension extension)
Deprecated.
Constructor which will take an extension
|
AuthorityKeyIdentifierStructure(java.security.PublicKey pubKey)
Deprecated.
Create an AuthorityKeyIdentifier using just the hash of the
public key.
|
AuthorityKeyIdentifierStructure(java.security.cert.X509Certificate certificate)
Deprecated.
Create an AuthorityKeyIdentifier using the passed in certificate's public
key, issuer and serial number.
|
AuthorityKeyIdentifierStructure(X509Extension extension)
Deprecated.
use constructor that takes Extension
|
fromExtensions, getAuthorityCertIssuer, getAuthorityCertSerialNumber, getInstance, getInstance, getKeyIdentifier, toASN1Primitive, toStringequals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic AuthorityKeyIdentifierStructure(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 AuthorityKeyIdentifierStructure(X509Extension extension)
extension - a X509Extension object containing an AuthorityKeyIdentifier.public AuthorityKeyIdentifierStructure(Extension extension)
extension - a X509Extension object containing an AuthorityKeyIdentifier.public AuthorityKeyIdentifierStructure(java.security.cert.X509Certificate certificate)
throws java.security.cert.CertificateParsingException
certificate - the certificate providing the information.java.security.cert.CertificateParsingException - if there is a problem processing the certificatepublic AuthorityKeyIdentifierStructure(java.security.PublicKey pubKey)
throws java.security.InvalidKeyException
pubKey - the key to generate the hash from.java.security.InvalidKeyException - if there is a problem using the key.