mirror of
https://github.com/golang/go
synced 2024-11-12 07:40:23 -07:00
crypto/x509: document specifically that only v3 certificates are created.
Fixes #21593 Change-Id: I5d6c644ed1d60ae4610712155bae5cf13ee1f886 Reviewed-on: https://go-review.googlesource.com/79876 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
41d6c89e1e
commit
7da2f8278f
@ -2050,7 +2050,7 @@ func signingParamsForPublicKey(pub interface{}, requestedSigAlgo SignatureAlgori
|
||||
// just an empty SEQUENCE.
|
||||
var emptyASN1Subject = []byte{0x30, 0}
|
||||
|
||||
// CreateCertificate creates a new certificate based on a template.
|
||||
// CreateCertificate creates a new X.509v3 certificate based on a template.
|
||||
// The following members of template are used: AuthorityKeyId,
|
||||
// BasicConstraintsValid, DNSNames, ExcludedDNSDomains, ExtKeyUsage,
|
||||
// IsCA, KeyUsage, MaxPathLen, MaxPathLenZero, NotAfter, NotBefore,
|
||||
|
Loading…
Reference in New Issue
Block a user