Class AuthorityKeyIdentifierStructure

  • All Implemented Interfaces:
    ASN1Encodable, Encodable

    public class AuthorityKeyIdentifierStructure
    extends AuthorityKeyIdentifier
    Deprecated.
    use JcaX509ExtensionUtils and AuthorityKeyIdentifier.getInstance()
    A high level authority key identifier.
    • Constructor Detail

      • AuthorityKeyIdentifierStructure

        public AuthorityKeyIdentifierStructure​(byte[] encodedValue)
                                        throws java.io.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:
        java.io.IOException - on parsing errors.
      • AuthorityKeyIdentifierStructure

        public AuthorityKeyIdentifierStructure​(X509Extension extension)
        Deprecated.
        use constructor that takes Extension
        Constructor 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​(java.security.cert.X509Certificate certificate)
                                        throws java.security.cert.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:
        java.security.cert.CertificateParsingException - if there is a problem processing the certificate
      • AuthorityKeyIdentifierStructure

        public AuthorityKeyIdentifierStructure​(java.security.PublicKey pubKey)
                                        throws java.security.InvalidKeyException
        Deprecated.
        Create an AuthorityKeyIdentifier using just the hash of the public key.
        Parameters:
        pubKey - the key to generate the hash from.
        Throws:
        java.security.InvalidKeyException - if there is a problem using the key.