Class PublicKeyInfo

Represents the PublicKeyInfo structure described in RFC5280

Hierarchy

Implements

Constructors

Properties

Algorithm identifier

subjectPublicKey: BitString

Subject public key value

CLASS_NAME: string = "PublicKeyInfo"

Name of the class

Accessors

  • get className(): string
  • Returns string

Methods

  • Converts JSON value into current object

    Parameters

    • json: any

      JSON object

    Returns 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