Protocolswift-certificates 1.8.0X509
RelativeDistinguishedNameConvertible
DNBuilder.swift:90protocol RelativeDistinguishedNameConvertible
Browse conforming typesprotocol RelativeDistinguishedNameConvertible
import X509
A library for working with X.509 certificates.
func makeRDN() throws -> RelativeDistinguishedName
@resultBuilder struct DistinguishedNameBuilder
Provides a result-builder style DSL for constructing DistinguishedName
values.
struct CommonName
Set the Common Name (CN) of a DistinguishedName
.
struct CountryName
Set the Country Name (C) of a DistinguishedName
.
struct LocalityName
Set the Locality Name (L) of a DistinguishedName
.
struct OrganizationalUnitName
Set the Organizational Unit Name (OU) of a DistinguishedName
.
struct OrganizationName
Set the Organization Name (O) of a DistinguishedName
.
struct StateOrProvinceName
Set the State or Province Name (ST) of a DistinguishedName
.
struct StreetAddress
Set the Street Address (STREET) of a DistinguishedName
.