countryName
The ‘countryName’ attribute type contains a two-letter ISO 3166 country code.
static let countryName: ASN1ObjectIdentifier
The ‘countryName’ attribute type contains a two-letter ISO 3166 country code.
static let countryName: ASN1ObjectIdentifier
s9SwiftASN10B16ObjectIdentifierV4X509E16RDNAttributeTypeO11countryNameACvpZ
What are these?58UOZ
import SwiftASN1
An implementation of ASN.1 types and DER serialization.
import X509
A library for working with X.509 certificates.
enum RDNAttributeType
Common object identifiers used within Attribute
s.
struct ASN1ObjectIdentifier
An Object Identifier is a representation of some kind of object.
static let commonName: ASN1ObjectIdentifier
The ‘commonName’ attribute type contains names of an object.
static let localityName: ASN1ObjectIdentifier
The ‘localityName’ attribute type contains names of a locality or place, such as a city, county, or other geographic region.
static let organizationName: ASN1ObjectIdentifier
The ‘organizationName’ attribute type contains the names of an organization.
static let organizationalUnitName: ASN1ObjectIdentifier
The ‘organizationalUnitName’ attribute type contains the names of an organizational unit.
static let stateOrProvinceName: ASN1ObjectIdentifier
The ‘stateOrProvinceName’ attribute type contains the full names of states or provinces.
static let streetAddress: ASN1ObjectIdentifier
The ‘streetAddress’ attribute type contains site information from a postal address (i.e., the street name, place, avenue, and the house number).