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
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Gets the DER-encoded IssuerSerial built on authorityCertIssuer and authorityCertSerialNumber parametersbyte[]
Returns the key identifiervoid
setAuthorityCertIssuerSerial
(byte[] authorityCertIssuerSerial) Sets the DER-encoded IssuerSerial built on authorityCertIssuer and authorityCertSerialNumber parametersvoid
setKeyIdentifier
(byte[] keyIdentifier) Sets the key identifierMethods inherited from class eu.europa.esig.dss.model.x509.extension.CertificateExtension
checkCritical, getDescription, getOctets, getOid, isCritical, setOctets
-
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
-