Class RelativeDistinguishedNames

Represents the RelativeDistinguishedNames structure described in RFC5280

Hierarchy

Implements

Constructors

Properties

typesAndValues: AttributeTypeAndValue[]

Array of "type and value" objects

valueBeforeDecode: ArrayBuffer

Value of the RDN before decoding from schema

CLASS_NAME: string = "RelativeDistinguishedNames"

Name of the class

Accessors

  • get className(): string
  • Returns string

Methods

  • Compares two RDN values, or RDN with ArrayBuffer value

    Parameters

    • compareTo: unknown

      The value compare to current

    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

  • 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