Versions in this module Expand all Collapse all v0 v0.1.0 Jul 14, 2023 Changes in this version + type Cert interface + CertData func() []byte + CreateAndSignCertificate func(commonName string, orgUnit string, dnsnames []string) (cert Cert, err error) + KeyData func() []byte + SecretData func(ca Cert) map[string][]byte + SecretDataCA func() map[string][]byte + type PEMCert struct + func (ca *PEMCert) CreateAndSignCertificate(commonName string, orgUnit string, dnsnames []string) (cert Cert, err error) + func (ca *PEMCert) SecretDataCA() map[string][]byte + func (cert *PEMCert) CertData() []byte + func (cert *PEMCert) KeyData() []byte + func (cert *PEMCert) SecretData(ca Cert) map[string][]byte + type PKI interface + CAFromSecret func(data map[string][]byte) Cert + GenerateCA func(name string) (ca Cert, err error) + func NewPKI() PKI + type PkiImpl struct + func (pki *PkiImpl) CAFromSecret(data map[string][]byte) Cert + func (pki *PkiImpl) GenerateCA(name string) (ca Cert, err error)