Skip to content

ParsedRelativeDistinguishedName

A single RelativeDistinguishedName SET from an X.501 Name.

ts
interface ParsedRelativeDistinguishedName {
	readonly derHex: string;
	readonly attributes: readonly ParsedNameAttribute[];
	readonly values: Readonly<Partial<Record<NameFieldKey, string>>>;
}

Properties

  • readonly derHex: string — Hex-encoded DER of this RDN SET element.
  • readonly attributes: readonly ParsedNameAttribute[] — Attributes within this RDN (usually one, but multi-valued RDNs are legal).
  • readonly values: Readonly<Partial<Record<NameFieldKey, string>>> — First-occurrence map of well-known fields within this RDN.

Released under the MIT License.