Versions in this module Expand all Collapse all v0 v0.0.1 Mar 26, 2023 Changes in this version + func WriteCA(cert *CERT, file string) error + type CERT struct + CERT []byte + CERTKEY *ecdsa.PrivateKey + CERTKEYPEM *bytes.Buffer + CERTPEM *bytes.Buffer + CSR *x509.Certificate + func CreateCA(sub *pkix.Name, notBefore time.Time, expire int) (*CERT, error) + func CreateReq(ca *CERT, sub *pkix.Name, notBefore time.Time, expire int, dns []string, ...) (*CERT, error) + func ReadCA(caCrt, caKey []byte) (*CERT, error)