Versions in this module Expand all Collapse all v0 v0.3.0-0.23.3 Feb 10, 2022 v0.2.0 Feb 10, 2022 Changes in this version + func CreateCertificateRequest(random io.Reader, bits int, cn string, orgs []string, dnsNames []string) (key *rsa.PrivateKey, csr []byte, err error) + func CreateDefaultCertificateRequest(cn string, orgs []string, dnsNames []string) (key *rsa.PrivateKey, csr []byte, err error) + func CreateSelfSignedCertificate(cn string, orgs []string, dnsNames []string) (key *rsa.PrivateKey, certBytes []byte, err error) + func PemCertificate(cert []byte) ([]byte, error) + func PemCertificateRequest(csr []byte) ([]byte, error) + func PemPkcs8PKey(privateKey *rsa.PrivateKey) ([]byte, error)