Skip to main content

X509CrlEntry

Representation of X509CrlEntry

Extends​

Constructors​

Constructor​

new X509CrlEntry(raw, options?): X509CrlEntry

Creates a new instance from DER encoded Buffer

Parameters​

raw​

BufferSource

DER encoded buffer

options?​

any

Optional ASN.1 parse options (e.g. asn1js.fromBER resource limits)

Returns​

X509CrlEntry

Overrides​

AsnData.constructor

Constructor​

new X509CrlEntry(asn, options?): X509CrlEntry

Creates a new instance from ASN.1 object

Parameters​

asn​

RevokedCertificate

ASN.1 object

options?​

any

Optional ASN.1 parse options (e.g. asn1js.fromBER resource limits)

Returns​

X509CrlEntry

Overrides​

AsnData.constructor

Constructor​

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(): Date | undefined

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​

Date | undefined


parseOptions​

Get Signature​

get protected parseOptions(): any

Gets the ASN.1 parse options the instance was created with

Returns​

any

Inherited from​

AsnData.parseOptions


rawData​

Get Signature​

get rawData(): ArrayBuffer

Gets a DER encoded buffer

Returns​

ArrayBuffer

Inherited from​

AsnData.rawData


reason​

Get Signature​

get reason(): X509CrlReason | undefined

Gets the reason code

Returns​

X509CrlReason | undefined


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