Initializerswift-certificates 1.8.0X509
init(_:)
Construct a new country name
init(_ name: String)
Parameters
- name
The value of the country name
Construct a new country name
init(_ name: String)
The value of the country name
import X509
A library for working with X.509 certificates.
struct CountryName
Set the Country Name (C) of a DistinguishedName
.
@frozen struct String
A Unicode string value that is a collection of characters.
var name: String
The value of the country name field.
func makeRDN() throws -> RelativeDistinguishedName