Class KJUR.asn1.x509.AuthorityKeyIdentifier
Extends
KJUR.asn1.x509.Extension.
AuthorityKeyIdentifier ASN.1 structure class
Defined in: asn1x509-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
AuthorityKeyIdentifier ASN.1 structure class
d-ce-authorityKeyIdentifier OBJECT IDENTIFIER ::= { id-ce 35 } AuthorityKeyIdentifier ::= SEQUENCE { keyIdentifier [0] KeyIdentifier OPTIONAL, authorityCertIssuer [1] GeneralNames OPTIONAL, authorityCertSerialNumber [2] CertificateSerialNumber OPTIONAL } KeyIdentifier ::= OCTET STRING |
- Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
Method Attributes | Method Name and Description |
---|---|
<static> |
KJUR.asn1.x509.AuthorityKeyIdentifier.setCertIssuerByParam(param)
set authorityCertIssuer value by X500Name parameter
NOTE: Automatic authorityCertIssuer name setting by an issuer
certificate will be supported in future version.
|
<static> |
KJUR.asn1.x509.AuthorityKeyIdentifier.setCertSerialNumberByParam(param)
set authorityCertSerialNumber value by DERInteger parameter
NOTE: Automatic authorityCertSerialNumber setting by an issuer
certificate will be supported in future version.
|
<static> |
KJUR.asn1.x509.AuthorityKeyIdentifier.setKIDByParam(param)
set keyIdentifier value by DERInteger parameter
NOTE: Automatic keyIdentifier value calculation by an issuer
public key will be supported in future version.
|
Class Detail
KJUR.asn1.x509.AuthorityKeyIdentifier(params)
AuthorityKeyIdentifier ASN.1 structure class
d-ce-authorityKeyIdentifier OBJECT IDENTIFIER ::= { id-ce 35 } AuthorityKeyIdentifier ::= SEQUENCE { keyIdentifier [0] KeyIdentifier OPTIONAL, authorityCertIssuer [1] GeneralNames OPTIONAL, authorityCertSerialNumber [2] CertificateSerialNumber OPTIONAL } KeyIdentifier ::= OCTET STRING
var param = {'kid': {'hex': '89ab'}, 'issuer': {'str': '/C=US/CN=a'}, 'sn': {'hex': '1234'}, 'critical': true}); var e1 = new KJUR.asn1.x509.AuthorityKeyIdentifier(param);
- Parameters:
- {Array} params
- associative array of parameters (ex. {'uri': 'http://a.com/', 'critical': true})
- Since:
- asn1x509 1.0.8
Method Detail
<static>
KJUR.asn1.x509.AuthorityKeyIdentifier.setCertIssuerByParam(param)
set authorityCertIssuer value by X500Name parameter
NOTE: Automatic authorityCertIssuer name setting by an issuer
certificate will be supported in future version.
- Parameters:
- {Array} param
- array of KJUR.asn1.x509.X500Name parameter
- Since:
- asn1x509 1.0.8
<static>
KJUR.asn1.x509.AuthorityKeyIdentifier.setCertSerialNumberByParam(param)
set authorityCertSerialNumber value by DERInteger parameter
NOTE: Automatic authorityCertSerialNumber setting by an issuer
certificate will be supported in future version.
- Parameters:
- {Array} param
- array of KJUR.asn1.DERInteger parameter
- Since:
- asn1x509 1.0.8
<static>
KJUR.asn1.x509.AuthorityKeyIdentifier.setKIDByParam(param)
set keyIdentifier value by DERInteger parameter
NOTE: Automatic keyIdentifier value calculation by an issuer
public key will be supported in future version.
- Parameters:
- {Array} param
- array of KJUR.asn1.DERInteger parameter
- Since:
- asn1x509 1.0.8