Versions in this module Expand all Collapse all v0 v0.1.0 Aug 2, 2023 Changes in this version + type CA struct + PrivateKey rsa.PrivateKey + RootCert x509.Certificate + func New(l Loader) (*CA, error) + func (ca *CA) GenerateCert(commonName string) (*tls.Certificate, error) + func (ca *CA) GetCert(commonName string) (*tls.Certificate, error) + type Getter interface + GetCert func(commonName string) (*tls.Certificate, error) + type Loader interface + Load func() (*rsa.PrivateKey, *x509.Certificate, error) + type MemoryLoader struct + func (m *MemoryLoader) Load() (*rsa.PrivateKey, *x509.Certificate, error) + type PathLoader struct + StorePath string + func NewPathLoader(path string) (*PathLoader, error) + func (p *PathLoader) Load() (*rsa.PrivateKey, *x509.Certificate, error)