ExtensionsAttribute
Represents the Attribute structure
Extends
Constructors
Constructor
new ExtensionsAttribute(
raw):ExtensionsAttribute
Creates a new instance from DER encoded buffer
Parameters
raw
BufferSource
DER encoded buffer
Returns
ExtensionsAttribute
Overrides
Constructor
new ExtensionsAttribute(
extensions):ExtensionsAttribute
Creates a new instance
Parameters
extensions
Returns
ExtensionsAttribute
Overrides
Properties
asn
protectedreadonlyasn:AsnAttribute
ASN.1 object
Inherited from
items
items:
Extension[]
type
type:
string
Gets an attribute identifier
Inherited from
values
values:
ArrayBuffer[]
Gets a list of DER encoded attribute values
Inherited from
NAME
staticNAME:string="Extensions"
Overrides
Accessors
rawData
Get Signature
get rawData():
ArrayBuffer
Gets a DER encoded buffer
Returns
ArrayBuffer
Inherited from
Methods
equal()
equal(
data):data is ExtensionsAttribute
Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false
Parameters
data
any
Any data
Returns
data is ExtensionsAttribute
Inherited from
getTextName()
protectedgetTextName():string
Returns
string
Inherited from
onInit()
protectedonInit(asn):void
Occurs on instance initialization
Parameters
asn
Attribute
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
Returns
Overrides
toTextObjectEmpty()
protectedtoTextObjectEmpty(value?):TextObject
Parameters
value?
string
Returns
Inherited from
toTextObjectWithoutValue()
toTextObjectWithoutValue():
TextObject