Versions in this module Expand all Collapse all v0 v0.0.2 Apr 20, 2024 Changes in this version + func TlsLeaf(cert *tls.Certificate) *x509.Certificate + type CertGen struct + func LoadCertGen(certBytes, keyBytes []byte) (*CertGen, error) + func MakeCaTls(bits int, name pkix.Name, serialNumber *big.Int, future Future) (*CertGen, error) + func MakeClientTls(ca *CertGen, bits int, name pkix.Name, serialNumber *big.Int, future Future) (*CertGen, error) + func MakeServerTls(ca *CertGen, bits int, name pkix.Name, serialNumber *big.Int, future Future, ...) (*CertGen, error) + func (ca *CertGen) GetCertPem() []byte + func (ca *CertGen) GetKeyPem() []byte + func (ca *CertGen) GetTlsLeaf() tls.Certificate + func (ca *CertGen) SaveFiles(caCert, caKey io.Writer) error + type Future func(now time.Time) time.Time