GeneralNames
Represents an ASN.1 data
Extends
AsnData<asn1X509.GeneralNames>
Constructors
Constructor
new GeneralNames(
json):GeneralNames
Parameters
json
Returns
GeneralNames
Overrides
Constructor
new GeneralNames(
asn):GeneralNames
Parameters
asn
any
Returns
GeneralNames
Overrides
Constructor
new GeneralNames(
raw):GeneralNames
Parameters
raw
BufferSource
Returns
GeneralNames
Overrides
AsnData<asn1X509.GeneralNames>.constructor
Properties
asn
protectedreadonlyasn:GeneralNames
ASN.1 object
Inherited from
items
items: readonly
GeneralName[]
NAME
staticNAME:string="GeneralNames"
Overrides
Accessors
rawData
Get Signature
get rawData():
ArrayBuffer
Gets a DER encoded buffer
Returns
ArrayBuffer
Inherited from
Methods
equal()
equal(
data):data is GeneralNames
Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false
Parameters
data
any
Any data
Returns
data is GeneralNames
Inherited from
getTextName()
protectedgetTextName():string
Returns
string
Inherited from
onInit()
protectedonInit(asn):void
Occurs on instance initialization
Parameters
asn
GeneralNames
ASN.1 object
Returns
void
Overrides
toJSON()
toJSON():
JsonGeneralNames
Returns
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