Class AltName

Represents the AltName structure described in RFC5280

Hierarchy

Implements

Constructors

Properties

altNames: GeneralName[]

Array of alternative names in GeneralName type

CLASS_NAME: string = "AltName"

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

  • 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

  • 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: SchemaParameters<{ altNames?: string }> = {}

      Input parameters for the schema

    Returns any

Generated using TypeDoc