Documentation ¶
Index ¶
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PemCertificate ¶
func PemCertificateRequest ¶
func PemPkcs8PKey ¶
func PemPkcs8PKey(privateKey *rsa.PrivateKey) ([]byte, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.