mirror of
https://github.com/golang/go
synced 2024-11-12 05:50:21 -07:00
x509: fix English.
(addressing comments from 1741045) R=r CC=golang-dev https://golang.org/cl/1678047
This commit is contained in:
parent
9c09ed13d2
commit
269df58270
@ -761,8 +761,8 @@ var (
|
||||
// MaxPathLen, SubjectKeyId, DNSNames.
|
||||
//
|
||||
// The certificate is signed by parent. If parent is equal to template then the
|
||||
// certificate is self-signed. pub is the public key of the signee. priv is the
|
||||
// private key of the signer.
|
||||
// certificate is self-signed. The parameter pub is the public key of the
|
||||
// signee and priv is the private key of the signer.
|
||||
//
|
||||
// The returned slice is the certificate in DER encoding.
|
||||
func CreateCertificate(rand io.Reader, template, parent *Certificate, pub *rsa.PublicKey, priv *rsa.PrivateKey) (cert []byte, err os.Error) {
|
||||
|
Loading…
Reference in New Issue
Block a user