Versions in this module Expand all Collapse all v2 v2.6.0 Jul 29, 2022 v2.0.0 Aug 1, 2022 Changes in this version + func GenerateCA() (ca *x509.Certificate, cert, key []byte, priv *ecdsa.PrivateKey, err error) + func GenerateCertificate(ca *x509.Certificate, caPriv *ecdsa.PrivateKey, email string) (cert, key []byte, err error) + func LoadCertPool(caBytes []byte) (*x509.CertPool, error) + func LoadCertificate(certBytes []byte) (*tls.Certificate, error) + func LoadKey(keyBytes []byte) (crypto.PrivateKey, error) + func LoadKeyAndCertificate(keyBytes []byte, certBytes []byte) (*tls.Certificate, error)