Skip to main content

X509CrlEntry

Representation of X509CrlEntry

Extends

Constructors

new X509CrlEntry()

new X509CrlEntry(raw): X509CrlEntry

Creates a new instance from DER encoded Buffer

Parameters

raw

BufferSource

DER encoded buffer

Returns

X509CrlEntry

Overrides

AsnData.constructor

new X509CrlEntry()

new X509CrlEntry(asn): X509CrlEntry

Creates a new instance from ASN.1 object

Parameters

asn

RevokedCertificate

ASN.1 object

Returns

X509CrlEntry

Overrides

AsnData.constructor

new X509CrlEntry()

new X509CrlEntry(serialNumber, revocationDate, extensions): X509CrlEntry

Creates a new instance

Parameters

serialNumber

string

Serial number of certificate

revocationDate

Date

Revocation date

extensions

Extension[]

List of crl extensions

Returns

X509CrlEntry

Overrides

AsnData<RevokedCertificate>.constructor

Properties

asn

protected readonly asn: RevokedCertificate

ASN.1 object

Inherited from

AsnData.asn


NAME

static NAME: string = "ASN"

Inherited from

AsnData.NAME

Accessors

extensions

Get Signature

get extensions(): Extension[]

Gets crl entry extensions

Returns

Extension[]


invalidity

Get Signature

get invalidity(): undefined | Date

Gets the invalidity Date The invalidity date is a non-critical CRL entry extension that provides the date on which it is known or suspected that the private key was compromised or that the certificate otherwise became invalid.

Returns

undefined | Date


rawData

Get Signature

get rawData(): ArrayBuffer

Gets a DER encoded buffer

Returns

ArrayBuffer

Inherited from

AsnData.rawData


reason

Get Signature

get reason(): undefined | X509CrlReason

Gets the reason code

Returns

undefined | X509CrlReason


revocationDate

Get Signature

get revocationDate(): Date

Gets the revocation date

Returns

Date


serialNumber

Get Signature

get serialNumber(): string

Gets a hexadecimal string of the serial number, the userCertificate

Returns

string

Methods

equal()

equal(data): data is X509CrlEntry

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

Parameters

data

any

Any data

Returns

data is X509CrlEntry

Inherited from

AsnData.equal


getTextName()

protected getTextName(): string

Returns

string

Inherited from

AsnData.getTextName


onInit()

protected onInit(_asn): void

Occurs on instance initialization

Parameters

_asn

RevokedCertificate

Returns

void

Overrides

AsnData.onInit


toString()

toString(format): string

Returns a string representation of an object.

Parameters

format

AsnDataStringFormat = "text"

Returns

string

Inherited from

AsnData.toString


toTextObject()

toTextObject(): TextObject

Returns the object in textual representation

Returns

TextObject

Inherited from

AsnData.toTextObject


toTextObjectEmpty()

protected toTextObjectEmpty(value?): TextObject

Parameters

value?

string

Returns

TextObject

Inherited from

AsnData.toTextObjectEmpty