Build a subject
name := pkix.Name{
CommonName: "example.com",
Organization: []string{"Example Inc"},
Country: []string{"US"},
}
crypto/x509/pkixASN.1 structures used inside X.509: Name, RDNSequence, CertificateList. Mostly used alongside crypto/x509 types.
name := pkix.Name{
CommonName: "example.com",
Organization: []string{"Example Inc"},
Country: []string{"US"},
}