ExtensionsAttribute
Represents the Attribute structure
Extends
Constructors
new ExtensionsAttribute()
new ExtensionsAttribute(
raw
):ExtensionsAttribute
Creates a new instance from DER encoded buffer
Parameters
• raw: BufferSource
DER encoded buffer
Returns
Overrides
new ExtensionsAttribute()
new ExtensionsAttribute(
extensions
):ExtensionsAttribute
Creates a new instance
Parameters
• extensions: Extension
[]
Returns
Overrides
Properties
items
items:
Extension
[]
rawData
readonly
rawData:ArrayBuffer
Gets a DER encoded buffer
Inherited from
type
type:
string
Gets an attribute identifier
Inherited from
values
values:
ArrayBuffer
[]
Gets a list of DER encoded attribute values
Inherited from
NAME
static
NAME:string
="Extensions"
Overrides
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()
protected
getTextName():string
Returns
string
Inherited from
onInit()
protected
onInit(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()
protected
toTextObjectEmpty(value
?):TextObject
Parameters
• value?: string
Returns
Inherited from
toTextObjectWithoutValue()
toTextObjectWithoutValue():
TextObject