}
// Adding another extension here? Remember to update the maximum number
- // of elements in the make() at the top of the function.
+ // of elements in the make() at the top of the function and the list of
+ // template fields used in CreateCertificate documentation.
return append(ret[:n], template.ExtraExtensions...), nil
}
//
// - AuthorityKeyId
// - BasicConstraintsValid
+// - CRLDistributionPoints
// - DNSNames
+// - EmailAddresses
// - ExcludedDNSDomains
+// - ExcludedEmailAddresses
+// - ExcludedIPRanges
+// - ExcludedURIDomains
// - ExtKeyUsage
+// - ExtraExtensions
// - IsCA
+// - IssuingCertificateURL
// - KeyUsage
// - MaxPathLen
// - MaxPathLenZero
// - NotAfter
// - NotBefore
+// - OCSPServer
// - PermittedDNSDomains
// - PermittedDNSDomainsCritical
+// - PermittedEmailAddresses
+// - PermittedIPRanges
+// - PermittedURIDomains
+// - PolicyIdentifiers
// - SerialNumber
// - SignatureAlgorithm
// - Subject
// - SubjectKeyId
+// - URIs
// - UnknownExtKeyUsage
//
// The certificate is signed by parent. If parent is equal to template then the