Documentation ¶
Index ¶
- Constants
- type 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
Constants ¶
View Source
const ( DefaultPerm = 0o600 DefaultRsaKeySize = 4096 DefaultYearCertDur = 1000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CA ¶
type CA struct {
// contains filtered or unexported fields
}
func (*CA) CaCerBytes ¶
func (*CA) GenCertFilesForDomain ¶
func (*CA) GenCertFilesForDomainInRootDir ¶
func (*CA) GetCATLS ¶
func (c *CA) GetCATLS() tls.Certificate
func (*CA) GetCertFromRoot ¶
func (c *CA) GetCertFromRoot(domain string) (tls.Certificate, error)
func (*CA) GetOrGenFromRoot ¶
func (c *CA) GetOrGenFromRoot(domain string) (tls.Certificate, error)
Click to show internal directories.
Click to hide internal directories.