Class AuthorityKeyIdentifier

java.lang.Object
eu.europa.esig.dss.model.x509.extension.CertificateExtension
eu.europa.esig.dss.model.x509.extension.AuthorityKeyIdentifier
All Implemented Interfaces:
OidBasedEnum, OidDescription, Serializable

public class AuthorityKeyIdentifier extends CertificateExtension
4.2.1.1. Authority Key Identifier The authority key identifier extension provides a means of identifying the public key corresponding to the private key used to sign a certificate. This extension is used where an issuer has multiple signing keys (either due to multiple concurrent key pairs or due to changeover). The identification MAY be based on either the key identifier (the subject key identifier in the issuer's certificate) or the issuer name and serial number.
See Also:
  • Constructor Details

    • AuthorityKeyIdentifier

      public AuthorityKeyIdentifier()
      Default constructor
  • Method Details

    • getKeyIdentifier

      public byte[] getKeyIdentifier()
      Returns the key identifier
      Returns:
      byte array
    • setKeyIdentifier

      public void setKeyIdentifier(byte[] keyIdentifier)
      Sets the key identifier
      Parameters:
      keyIdentifier - byte array
    • getAuthorityCertIssuerSerial

      public byte[] getAuthorityCertIssuerSerial()
      Gets the DER-encoded IssuerSerial built on authorityCertIssuer and authorityCertSerialNumber parameters
      Returns:
      DER-encoded authority cert issuer
    • setAuthorityCertIssuerSerial

      public void setAuthorityCertIssuerSerial(byte[] authorityCertIssuerSerial)
      Sets the DER-encoded IssuerSerial built on authorityCertIssuer and authorityCertSerialNumber parameters
      Parameters:
      authorityCertIssuerSerial - DER-encoded authority cert issuer