Class SignedCertificateTimestamp

Hierarchy

Implements

Constructors

Properties

extensions: ArrayBuffer
hashAlgorithm: string
logID: ArrayBuffer
signature: BaseBlock<ValueBlock, LocalBaseBlockJson>
signatureAlgorithm: string
timestamp: Date
version: number
CLASS_NAME: string = "SignedCertificateTimestamp"

Name of the class

Accessors

  • get className(): string
  • Returns string

Methods

  • Parameters

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

    Returns string

  • Verify SignedCertificateTimestamp for specific input data

    Parameters

    • logs: Log[]

      Array of objects with information about each CT Log (like here: https://ct.grahamedgecombe.com/logs.json)

    • data: ArrayBuffer

      Data to verify signature against. Could be encoded Certificate or encoded PreCert

    • dataType: number = 0

      Type = 0 (data is encoded Certificate), type = 1 (data is encoded PreCert)

    • crypto: ICryptoEngine = ...

      Crypto engine

    Returns Promise<boolean>

  • 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