Class Extensions

Represents the Extensions structure described in RFC5280

Hierarchy

Implements

Constructors

Properties

extensions: Extension[]

List of extensions

CLASS_NAME: string = "Extensions"

Name of the class

Accessors

  • get className(): string
  • Returns string

Methods

  • 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

  • Returns value of pre-defined ASN.1 schema for current class

    Returns

    ASN.1 schema object

    Parameters

    • parameters: ExtensionsSchema = {}

      Input parameters for the schema

    • optional: boolean = false

      Flag that current schema should be optional

    Returns Sequence

Generated using TypeDoc