Class AlgorithmIdentifier

Represents the AlgorithmIdentifier structure described in RFC5280

Hierarchy

Implements

Constructors

Properties

algorithmId: string

ObjectIdentifier for algorithm (string representation)

algorithmParams?: any

Any algorithm parameters

CLASS_NAME: string = "AlgorithmIdentifier"

Name of the class

Accessors

  • get className(): string
  • Returns string

Methods

  • Checks that two "AlgorithmIdentifiers" are equal

    Parameters

    • algorithmIdentifier: unknown

    Returns boolean

  • Parameters

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

    Returns string

  • Compares 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: "algorithmId"

      String name for a class member

    Returns string

  • Parameters

    • memberName: "algorithmParams"

    Returns any

  • 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