Skip to content

NameAttribute

Single name attribute within a distinguished name.

RFC 5280 / X.501 call this structure an AttributeTypeAndValue.

ts
interface NameAttribute {
	readonly type: NameFieldKey;
	readonly value: string;
}

Properties

  • readonly type: NameFieldKey — Which attribute type this pair represents.
  • readonly value: string — The string value for this attribute (encoding chosen per field definition).

See also

Released under the MIT License.