BasicConstraintsExtension
Represents the Basic Constraints certificate extension
Extends
Constructors
new BasicConstraintsExtension()
new BasicConstraintsExtension(
raw
):BasicConstraintsExtension
Creates a new instance from DER encoded buffer
Parameters
• raw: BufferSource
DER encoded buffer
Returns
Overrides
new BasicConstraintsExtension()
new BasicConstraintsExtension(
ca
,pathLength
?,critical
?):BasicConstraintsExtension
Creates a new instance
Parameters
• ca: boolean
• pathLength?: number
• critical?: boolean
Returns
Overrides
Properties
ca
readonly
ca:boolean
Indicates whether the certified public key may be used to verify certificate signatures
critical
critical:
boolean
Indicates where extension is critical
Inherited from
pathLength?
readonly
optional
pathLength:number
Gets a maximum number of non-self-issued intermediate certificates that may follow this certificate in a valid certification path
rawData
readonly
rawData:ArrayBuffer
Gets a DER encoded buffer
Inherited from
type
type:
string
Gets an extension identifier
Inherited from
value
value:
ArrayBuffer
Gets a DER encoded value of extension
Inherited from
NAME
static
NAME:string
="Basic Constraints"
Overrides
Methods
equal()
equal(
data
):data is BasicConstraintsExtension
Returns true
if ASN.1 data is equal to another ASN.1 data, otherwise false
Parameters
• data: any
Any data
Returns
data is BasicConstraintsExtension
Inherited from
getTextName()
protected
getTextName():string
Returns
string
Inherited from
onInit()
protected
onInit(asn
):void
Occurs on instance initialization
Parameters
• asn: Extension
ASN.1 object
Returns
void
Inherited from
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