Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RevokedCertificate

Represents the RevokedCertificate structure described in RFC5280

Hierarchy

Implements

Index

Constructors

Properties

crlEntryExtensions?: Extensions
revocationDate: Time
userCertificate: Integer
CLASS_NAME: string = "RevokedCertificate"

Name of the class

Accessors

  • get className(): string

Methods

  • fromSchema(schema: any): void
  • toSchema(): Sequence
  • toString(encoding?: "base64" | "base64url" | "hex"): string
  • blockName(): string
  • defaultValues(memberName: "userCertificate"): Integer
  • defaultValues(memberName: "revocationDate"): Time
  • defaultValues(memberName: "crlEntryExtensions"): Extensions
  • fromBER<T>(this: PkiObjectConstructor<T>, raw: BufferSource): T
  • Creates PKI object from the raw data

    Type Parameters

    Parameters

    • this: PkiObjectConstructor<T>
    • raw: BufferSource

      ASN.1 encoded raw data

    Returns T

    Initialized and filled current class object

  • schema(parameters?: SchemaParameters<{ crlEntryExtensions?: string; revocationDate?: string; userCertificate?: string }>): any
  • Returns value of pre-defined ASN.1 schema for current class

    asn

    ASN.1 schema

    revokedCertificates     SEQUENCE OF SEQUENCE  {
           userCertificate         CertificateSerialNumber,
           revocationDate          Time,
           crlEntryExtensions      Extensions OPTIONAL
                                    -- if present, version MUST be v2
                                }  OPTIONAL,
    

    Parameters

    • parameters: SchemaParameters<{ crlEntryExtensions?: string; revocationDate?: string; userCertificate?: string }> = {}

      Input parameters for the schema

    Returns any

    ASN.1 schema object

Generated using TypeDoc