localityName
The ‘localityName’ attribute type contains names of a locality or place, such as a city, county, or other geographic region.
static let localityName: ASN1ObjectIdentifierThe ‘localityName’ attribute type contains names of a locality or place, such as a city, county, or other geographic region.
static let localityName: ASN1ObjectIdentifiers9SwiftASN10B16ObjectIdentifierV4X509E16RDNAttributeTypeO12localityNameACvpZ What are these?8CC0Simport SwiftASN1An implementation of ASN.1 types and DER serialization.
import X509A library for working with X.509 certificates.
enum RDNAttributeTypeCommon object identifiers used within Attributes.
struct ASN1ObjectIdentifierAn Object Identifier is a representation of some kind of object.
static let commonName: ASN1ObjectIdentifierThe ‘commonName’ attribute type contains names of an object.
static let countryName: ASN1ObjectIdentifierThe ‘countryName’ attribute type contains a two-letter ISO 3166 country code.
static let domainComponent: ASN1ObjectIdentifierThe domainComponent attribute type contains parts (labels) of a DNS domain name
static let emailAddress: ASN1ObjectIdentifierThe emailAddress attribute type contains email address defined in PCKS#9 (RFC2985). Be aware that, modern best practices (e.g., RFC 5280) discourage embedding email addresses in the Subject DN instead it should be in `Subject Alternative Name (SAN)
static let organizationName: ASN1ObjectIdentifierThe ‘organizationName’ attribute type contains the names of an organization.
static let organizationalUnitName: ASN1ObjectIdentifierThe ‘organizationalUnitName’ attribute type contains the names of an organizational unit.
static let stateOrProvinceName: ASN1ObjectIdentifierThe ‘stateOrProvinceName’ attribute type contains the full names of states or provinces.
static let streetAddress: ASN1ObjectIdentifierThe ‘streetAddress’ attribute type contains site information from a postal address (i.e., the street name, place, avenue, and the house number).