Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RelativeDistinguishedNames

Represents the RelativeDistinguishedNames structure described in RFC5280

Hierarchy

Implements

Index

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

Methods

  • fromSchema(schema: any): void
  • isEqual(compareTo: unknown): boolean
  • toSchema(): Sequence
  • toString(encoding?: "base64" | "base64url" | "hex"): string
  • blockName(): string
  • compareWithDefault(memberName: string, memberValue: any): boolean
  • 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

  • defaultValues(memberName: "typesAndValues"): AttributeTypeAndValue[]
  • defaultValues(memberName: "valueBeforeDecode"): ArrayBuffer
  • fromBER<T>(this: PkiObjectConstructor<T>, raw: BufferSource): T
  • Creates PKI object from the raw data

    Type Parameters

    Parameters

    • this: PkiObjectConstructor<T>
    • raw: BufferSource

      ASN.1 encoded raw data

    Returns T

    Initialized and filled current class object

Generated using TypeDoc