Skip to main content

CRLDistributionPointsExtension

Represents the CRL Distribution Points extension

Extends

Constructors

new CRLDistributionPointsExtension()

new CRLDistributionPointsExtension(raw): CRLDistributionPointsExtension

Creates a new instance from DER encoded buffer

Parameters

raw

BufferSource

DER encoded buffer

Returns

CRLDistributionPointsExtension

Overrides

Extension.constructor

new CRLDistributionPointsExtension()

new CRLDistributionPointsExtension(value, critical?): CRLDistributionPointsExtension

Creates a new instance

Parameters

value

DistributionPoint[]

The value of the extension

critical?

boolean

Indicates whether the extension is critical. Default is false

Returns

CRLDistributionPointsExtension

Overrides

Extension.constructor

new CRLDistributionPointsExtension()

new CRLDistributionPointsExtension(urls, critical?): CRLDistributionPointsExtension

Creates a new instance from an array of URLs

Parameters

urls

string[]

An array of URLs to be used as distribution points.

critical?

boolean

Indicates whether the extension is critical. Default is false

Returns

CRLDistributionPointsExtension

Overrides

Extension.constructor

Properties

critical

critical: boolean

Indicates where extension is critical

Inherited from

Extension.critical


distributionPoints

distributionPoints: DistributionPoint[]


rawData

readonly rawData: ArrayBuffer

Gets a DER encoded buffer

Inherited from

Extension.rawData


type

type: string

Gets an extension identifier

Inherited from

Extension.type


value

value: ArrayBuffer

Gets a DER encoded value of extension

Inherited from

Extension.value


NAME

static NAME: string = "CRL Distribution Points"

Overrides

Extension.NAME

Methods

equal()

equal(data): data is CRLDistributionPointsExtension

Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

Parameters

data

any

Any data

Returns

data is CRLDistributionPointsExtension

Inherited from

Extension.equal


getTextName()

protected getTextName(): string

Returns

string

Inherited from

Extension.getTextName


onInit()

protected onInit(asn): void

Occurs on instance initialization

Parameters

asn

Extension

ASN.1 object

Returns

void

Overrides

Extension.onInit


toString()

toString(format): string

Returns a string representation of an object.

Parameters

format

AsnDataStringFormat = "text"

Returns

string

Inherited from

Extension.toString


toTextObject()

toTextObject(): TextObject

Returns the object in textual representation

Returns

TextObject

Overrides

Extension.toTextObject


toTextObjectEmpty()

protected toTextObjectEmpty(value?): TextObject

Parameters

value?

string

Returns

TextObject

Inherited from

Extension.toTextObjectEmpty


toTextObjectWithoutValue()

toTextObjectWithoutValue(): TextObject

Returns

TextObject

Inherited from

Extension.toTextObjectWithoutValue