Class CertificateRevocationList

Represents the CertificateRevocationList structure described in RFC5280

Hierarchy

Implements

Constructors

Properties

crlExtensions?: Extensions
nextUpdate?: Time
revokedCertificates?: RevokedCertificate[]
signatureAlgorithm: AlgorithmIdentifier
signatureValue: BitString
tbsView: Uint8Array
thisUpdate: Time
version: number
CLASS_NAME: string = "CertificateRevocationList"

Name of the class

Accessors

  • get className(): string
  • Returns string

Methods

  • Make a signature for existing CRL data

    Parameters

    • privateKey: CryptoKey

      Private key for "subjectPublicKeyInfo" structure

    • hashAlgorithm: string = "SHA-1"

      Hashing algorithm. Default SHA-1

    • crypto: ICryptoEngine = ...

      Crypto engine

    Returns Promise<void>

  • Parameters

    • encoding: "base64" | "base64url" | "hex" = "hex"

    Returns string

  • Creates PKI object from the raw data

    Returns

    Initialized and filled current class object

    Type Parameters

    Parameters

    • this: PkiObjectConstructor<T>
    • raw: BufferSource

      ASN.1 encoded raw data

    Returns T

Generated using TypeDoc