Attribute

A single attribute of a RelativeDistinguishedName.

RDNAttribute.swift:28
struct Attribute

A RelativeDistinguishedName is made up of one or more attributes that represent the same node in the hierarchical DistinguishedName representation. In almost all cases there is only one Attribute in a given RelativeDistinguishedName.

These attributes are a key-value type, with the type of the node being identified by type and the value being stored in value. In the vast majority of cases the value of the node will be an ASN1PrintableString or ASN1UTF8String, but the value can only be derived by inspection.