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