Versions in this module Expand all Collapse all v0 v0.0.1 May 5, 2024 Changes in this version + const RootCaPath + const RootKeyPath + func ISFileExists(path string) bool + type Certificate struct + RootCa *x509.Certificate + RootCaStr []byte + RootKey *rsa.PrivateKey + RootKeyStr []byte + RootPath string + func NewCertificate(rootPath string) (*Certificate, error) + func (c *Certificate) GenerateKey() (*rsa.PrivateKey, error) + func (c *Certificate) GeneratePem(host string, subject pkix.Name, isRoot ...bool) (*pem.Block, *pem.Block, error)