Skip to content
PKIjsPKIjsPKIjsv4.0.1

OtherRevocationInfoFormat

Represents the OtherRevocationInfoFormat structure described in RFC5652

new OtherRevocationInfoFormat(parameters?): OtherRevocationInfoFormat

Initializes a new instance of the OtherRevocationInfoFormat class

OtherRevocationInfoFormatParameters = {}

Initialization parameters

OtherRevocationInfoFormat

PkiObject.constructor

otherRevInfo: any

IOtherRevocationInfoFormat.otherRevInfo


otherRevInfoFormat: string

IOtherRevocationInfoFormat.otherRevInfoFormat


static CLASS_NAME: string = "OtherRevocationInfoFormat"

Name of the class

PkiObject.CLASS_NAME

get className(): string

string

PkiObject.className

fromSchema(schema): void

Converts parsed ASN.1 object into current class

any

ASN.1 schema

void

PkiObject.fromSchema


toJSON(): OtherRevocationInfoFormatJson

Converts the class to JSON object

OtherRevocationInfoFormatJson

JSON object

PkiObject.toJSON


toSchema(): Sequence

Converts current object to ASN.1 object and sets correct values

Sequence

ASN.1 object

PkiObject.toSchema


toString(encoding?): string

"hex" | "base64" | "base64url" = "hex"

string

PkiObject.toString


static blockName(): string

Returns block name

string

Returns string block name

PkiObject.blockName


static defaultValues(memberName): string

Returns default values for all class members

"otherRevInfoFormat"

String name for a class member

string

Default value

PkiObject.defaultValues

static defaultValues(memberName): any

Returns default values for all class members

"otherRevInfo"

String name for a class member

any

Default value

PkiObject.defaultValues


static fromBER<T>(this, raw): T

Creates PKI object from the raw data

T extends PkiObject

PkiObjectConstructor<T>

BufferSource

ASN.1 encoded raw data

T

Initialized and filled current class object

PkiObject.fromBER


static schema(parameters?): any

Returns value of pre-defined ASN.1 schema for current class

SchemaParameters<{ otherRevInfo?: string; otherRevInfoFormat?: string; }> = {}

Input parameters for the schema

any

ASN.1 schema object

PkiObject.schema