GeneralNames
Represents an ASN.1 data
Extends
AsnData
<asn1X509.GeneralNames
>
Constructors
new GeneralNames()
new GeneralNames(
json
):GeneralNames
Parameters
• json: JsonGeneralNames
Returns
Overrides
new GeneralNames()
new GeneralNames(
asn
):GeneralNames
Parameters
• asn: GeneralNames
| GeneralName
[]
Returns
Overrides
new GeneralNames()
new GeneralNames(
raw
):GeneralNames
Parameters
• raw: BufferSource
Returns
Overrides
AsnData<asn1X509.GeneralNames>.constructor
Properties
items
items: readonly
GeneralName
[]
rawData
readonly
rawData:ArrayBuffer
Gets a DER encoded buffer
Inherited from
NAME
static
NAME:string
="GeneralNames"
Overrides
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()
protected
getTextName():string
Returns
string
Inherited from
onInit()
protected
onInit(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()
protected
toTextObjectEmpty(value
?):TextObject
Parameters
• value?: string