Versions in this module Expand all Collapse all v0 v0.1.0 Dec 4, 2019 Changes in this version + func IsValid(info CertificateInfo, dnsname string, duration time.Duration) bool + func Valid(key []byte, cert []byte, cacert []byte, dnsname string, duration time.Duration) bool + type CertificateInfo interface + CACert func() []byte + CAKey func() []byte + Cert func() []byte + Key func() []byte + func NewCertInfo(cert []byte, key []byte, cacert []byte, cakey []byte) CertificateInfo + func UpdateCertificate(old CertificateInfo, commonname, dnsname string, duration time.Duration) (CertificateInfo, error)