Versions in this module Expand all Collapse all v0 v0.25.0 May 21, 2024 v0.24.0 Dec 31, 2023 Changes in this version + func CertUser(c *x509.Certificate) string + func GenCA(cafile string) error + func GenCert(uname, certfile string, ca *x509.Certificate, caPrivkey *rsa.PrivateKey) error + func LoadCA(certf string) (ca *x509.Certificate, pk *rsa.PrivateKey, err error) + func LoadCert(certf string) (cert *x509.Certificate, pk *rsa.PrivateKey, ca *x509.Certificate, err error) + func LoadTLSCert(certf string) (cert tls.Certificate, ca *x509.Certificate, err error) + func TLSCertUser(c *tls.Certificate) (string, error)