Documentation
¶
Overview ¶
package x509 provides utilities for working with x509 types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCertificateRequest ¶
func CreateCertificateRequest(rand io.Reader, template *CertificateRequest, priv interface{}) (csr []byte, err error)
CreateCertificateRequest creates a new certificate request based on a template. The resulting CSR is similar to x509 but optionally supports the challengePassword attribute.
func ParseChallengePassword ¶
ParseChallengePassword extracts the challengePassword attribute from a DER encoded Certificate Signing Request.
Types ¶
type CertificateRequest ¶
type CertificateRequest struct {
x509.CertificateRequest
ChallengePassword string
}
Click to show internal directories.
Click to hide internal directories.