Versions in this module Expand all Collapse all v0 v0.1.4 Sep 29, 2023 Changes in this version + const DefaultPerm + const DefaultRsaKeySize + const DefaultYearCertDur + type CA struct + func New() *CA + func (c *CA) CaCerBytes() ([]byte, error) + func (c *CA) GenCertFilesForDomain(domain string, dir string) error + func (c *CA) GenCertFilesForDomainInRootDir(d string) error + func (c *CA) GenCertForDomain(domain string) ([]byte, []byte, error) + func (c *CA) GetCATLS() tls.Certificate + func (c *CA) GetCertFromRoot(domain string) (tls.Certificate, error) + func (c *CA) GetOrGenFromRoot(domain string) (tls.Certificate, error) + func (c *CA) Init(rdir string, installca func(ca string)) error