Attribute

A general-purpose representation of a CertificateSigningRequest attribute.

CSRAttribute.swift:27
iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
struct Attribute

CertificateSigningRequests can have a number of attributes applied to them. These attributes are non-binding, but can be used to encode things like extensions that should be applied to the generated certificate, or challenge material that can be used to enable later revocation.

Attributes are a general representation, keyed by an object identifier and storing a SET of arbitrary values. This SET cannot be empty. Individual Attributes can be parsed into more specific values as-needed.