Package org.bouncycastle.x509.extension
Class AuthorityKeyIdentifierStructure
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.x509.AuthorityKeyIdentifier
-
- org.bouncycastle.x509.extension.AuthorityKeyIdentifierStructure
-
- All Implemented Interfaces:
ASN1Encodable
,Encodable
public class AuthorityKeyIdentifierStructure extends AuthorityKeyIdentifier
Deprecated.use JcaX509ExtensionUtils and AuthorityKeyIdentifier.getInstance()A high level authority key identifier.
-
-
Constructor Summary
Constructors Constructor Description AuthorityKeyIdentifierStructure(byte[] encodedValue)
Deprecated.Constructor which will take the byte[] returned from getExtensionValue()AuthorityKeyIdentifierStructure(X509Certificate certificate)
Deprecated.Create an AuthorityKeyIdentifier using the passed in certificate's public key, issuer and serial number.AuthorityKeyIdentifierStructure(PublicKey pubKey)
Deprecated.Create an AuthorityKeyIdentifier using just the hash of the public key.AuthorityKeyIdentifierStructure(Extension extension)
Deprecated.Constructor which will take an extensionAuthorityKeyIdentifierStructure(X509Extension extension)
Deprecated.use constructor that takes Extension
-
Method Summary
-
Methods inherited from class org.bouncycastle.asn1.x509.AuthorityKeyIdentifier
fromExtensions, getAuthorityCertIssuer, getAuthorityCertSerialNumber, getInstance, getInstance, getKeyIdentifier, toASN1Primitive, toString
-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
-
-
-
Constructor Detail
-
AuthorityKeyIdentifierStructure
public AuthorityKeyIdentifierStructure(byte[] encodedValue) throws IOException
Deprecated.Constructor which will take the byte[] returned from getExtensionValue()- Parameters:
encodedValue
- a DER octet encoded string with the extension structure in it.- Throws:
IOException
- on parsing errors.
-
AuthorityKeyIdentifierStructure
public AuthorityKeyIdentifierStructure(X509Extension extension)
Deprecated.use constructor that takes ExtensionConstructor which will take an extension- Parameters:
extension
- a X509Extension object containing an AuthorityKeyIdentifier.
-
AuthorityKeyIdentifierStructure
public AuthorityKeyIdentifierStructure(Extension extension)
Deprecated.Constructor which will take an extension- Parameters:
extension
- a X509Extension object containing an AuthorityKeyIdentifier.
-
AuthorityKeyIdentifierStructure
public AuthorityKeyIdentifierStructure(X509Certificate certificate) throws CertificateParsingException
Deprecated.Create an AuthorityKeyIdentifier using the passed in certificate's public key, issuer and serial number.- Parameters:
certificate
- the certificate providing the information.- Throws:
CertificateParsingException
- if there is a problem processing the certificate
-
AuthorityKeyIdentifierStructure
public AuthorityKeyIdentifierStructure(PublicKey pubKey) throws InvalidKeyException
Deprecated.Create an AuthorityKeyIdentifier using just the hash of the public key.- Parameters:
pubKey
- the key to generate the hash from.- Throws:
InvalidKeyException
- if there is a problem using the key.
-
-