AuthorityKeyIdentifierExtension
Represents the Authority Key Identifier certificate extension
Extends
Constructors
Constructor
new AuthorityKeyIdentifierExtension(
raw,options?):AuthorityKeyIdentifierExtension
Creates a new instance from DER encoded buffer
Parameters
raw
BufferSource
DER encoded buffer
options?
any
Optional ASN.1 parse options (e.g. asn1js.fromBER resource limits)
Returns
AuthorityKeyIdentifierExtension
Overrides
Constructor
new AuthorityKeyIdentifierExtension(
identifier,critical?):AuthorityKeyIdentifierExtension
Creates a new instance
Parameters
identifier
string
Hexadecimal representation of key identifier
critical?
boolean
Indicates where extension is critical. Default is false
Returns
AuthorityKeyIdentifierExtension
Overrides
Constructor
new AuthorityKeyIdentifierExtension(
id,critical?):AuthorityKeyIdentifierExtension
Creates a new instance
Parameters
id
Certificate identifier in the issuer name and serial number
critical?
boolean
Indicates where extension is critical. Default is false
Returns
AuthorityKeyIdentifierExtension
Overrides
Extension.constructor
Properties
asn
protectedreadonlyasn:AsnExtension
ASN.1 object
Inherited from
certId?
optionalcertId:CertificateIdentifier
Gets a certificate identifier in the issuer name and serial number
critical
critical:
boolean
Indicates where extension is critical
Inherited from
keyId?
optionalkeyId:string
Gets a hexadecimal representation of key identifier
type
type:
string
Gets an extension identifier
Inherited from
value
value:
ArrayBuffer
Gets a DER encoded value of extension
Inherited from
NAME
staticNAME:string="Authority Key Identifier"
Overrides
Accessors
parseOptions
Get Signature
get
protectedparseOptions():any
Gets the ASN.1 parse options the instance was created with
Returns
any
Inherited from
rawData
Get Signature
get rawData():
ArrayBuffer
Gets a DER encoded buffer
Returns
ArrayBuffer
Inherited from
Methods
equal()
equal(
data):data is AuthorityKeyIdentifierExtension
Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false
Parameters
data
any
Any data
Returns
data is AuthorityKeyIdentifierExtension
Inherited from
getTextName()
protectedgetTextName():string
Returns
string
Inherited from
onInit()
protectedonInit(asn):void
Occurs on instance initialization
Parameters
asn
Extension
ASN.1 object
Returns
void
Overrides
toString()
toString(
format):string
Returns a string representation of an object.
Parameters
format
AsnDataStringFormat = "text"
Returns
string
Inherited from
toTextObject()
toTextObject():
TextObject
Returns the object in textual representation