SubjectKeyIdentifierExtension
Represents the Subject Key Identifier certificate extension
Extends
Constructors
Constructor
new SubjectKeyIdentifierExtension(
raw):SubjectKeyIdentifierExtension
Creates a new instance from DER encoded buffer
Parameters
raw
BufferSource
DER encoded buffer
Returns
SubjectKeyIdentifierExtension
Overrides
Constructor
new SubjectKeyIdentifierExtension(
keyId,critical?):SubjectKeyIdentifierExtension
Creates a new instance
Parameters
keyId
string
Hexadecimal representation of key identifier
critical?
boolean
Indicates where extension is critical. Default is false
Returns
SubjectKeyIdentifierExtension
Overrides
Properties
asn
protectedreadonlyasn:AsnExtension
ASN.1 object
Inherited from
critical
critical:
boolean
Indicates where extension is critical
Inherited from
keyId
readonlykeyId:string
Gets 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="Subject Key Identifier"
Overrides
Accessors
rawData
Get Signature
get rawData():
ArrayBuffer
Gets a DER encoded buffer
Returns
ArrayBuffer
Inherited from
Methods
equal()
equal(
data):data is SubjectKeyIdentifierExtension
Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false
Parameters
data
any
Any data
Returns
data is SubjectKeyIdentifierExtension
Inherited from
getTextName()
protectedgetTextName():string
Returns
string
Inherited from
onInit()
protectedonInit(asn):void
Occurs on instance initialization
Parameters
asn
AsnExtension
ASN.1 object
Returns
void
Inherited from
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
Returns
Overrides
toTextObjectEmpty()
protectedtoTextObjectEmpty(value?):TextObject
Parameters
value?
string
Returns
Inherited from
toTextObjectWithoutValue()
toTextObjectWithoutValue():
TextObject
Returns
Inherited from
Extension.toTextObjectWithoutValue
create()
staticcreate(publicKey,critical,crypto):Promise<SubjectKeyIdentifierExtension>
Creates subject key identifier extension from public key data
Parameters
publicKey
Public key data
critical
boolean = false
Indicates where extension is critical. Default is false
crypto
Crypto = ...
WebCrypto provider. Default is from CryptoProvider
Returns
Promise<SubjectKeyIdentifierExtension>