mirror of
https://github.com/golang/go
synced 2024-11-19 20:54:39 -07:00
crypto/x509: sort the list of fields used by CreateCertificateRequest.
Change-Id: I67589cb9e728e6c7df5ef6e981189193154338d3 Reviewed-on: https://go-review.googlesource.com/36559 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
7853b090dd
commit
6a29806e01
@ -2031,10 +2031,10 @@ func parseCSRExtensions(rawAttributes []asn1.RawValue) ([]pkix.Extension, error)
|
|||||||
return ret, nil
|
return ret, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// CreateCertificateRequest creates a new certificate request based on a template.
|
// CreateCertificateRequest creates a new certificate request based on a
|
||||||
// The following members of template are used: Subject, Attributes,
|
// template. The following members of template are used: Attributes, DNSNames,
|
||||||
// SignatureAlgorithm, ExtraExtensions, DNSNames, EmailAddresses, and IPAddresses.
|
// EmailAddresses, ExtraExtensions, IPAddresses, SignatureAlgorithm, and
|
||||||
// The private key is the private key of the signer.
|
// Subject. The private key is the private key of the signer.
|
||||||
//
|
//
|
||||||
// The returned slice is the certificate request in DER encoding.
|
// The returned slice is the certificate request in DER encoding.
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user