Versions in this module Expand all Collapse all v0 v0.1.1 Feb 8, 2022 v0.1.0 Dec 28, 2021 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)