Class CertID

Represents an CertID described in RFC6960

Hierarchy

Implements

Constructors

Properties

hashAlgorithm: AlgorithmIdentifier

Hash algorithm used to generate the issuerNameHash and issuerKeyHash values

issuerKeyHash: OctetString

Hash of the issuer's public key. The hash shall be calculated over the value (excluding tag and length) of the subject public key field in the issuer's certificate.

issuerNameHash: OctetString

Hash of the issuer's distinguished name (DN). The hash shall be calculated over the DER encoding of the issuer's name field in the certificate being checked.

serialNumber: Integer

Serial number of the certificate for which status is being requested

CLASS_NAME: string = "CertID"

Name of the class

Accessors

  • get className(): string
  • Returns string

Methods

  • Converts parsed ASN.1 object into current class

    Parameters

    • schema: any

      ASN.1 schema

    Returns void

  • Checks that two "CertIDs" are equal

    Parameters

    • certificateID: CertID

      Identifier of the certificate to be checked

    Returns boolean

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

    Returns

    ASN.1 object

    Returns Sequence

  • Parameters

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

    Returns string

  • Compare values with default values for all class members

    Parameters

    • memberName: string

      String name for a class member

    • memberValue: any

      Value to compare with default value

    Returns boolean

  • Returns default values for all class members

    Returns

    Default value

    Parameters

    • memberName: "hashAlgorithm"

      String name for a class member

    Returns AlgorithmIdentifier

  • Parameters

    • memberName: "issuerNameHash"

    Returns OctetString

  • Parameters

    • memberName: "issuerKeyHash"

    Returns OctetString

  • Parameters

    • memberName: "serialNumber"

    Returns Integer

  • 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