Documentation ¶
Index ¶
- Variables
- func Cert(filename string) (tls.Certificate, error)
- type CA
- func (ca *CA) AsTLS() *tls.Certificate
- func (ca *CA) CreateCA() error
- func (ca *CA) CreateCert(hosts []string) (tls.Certificate, error)
- func (ca *CA) HasCA() bool
- func (ca *CA) Install(force bool) error
- func (ca *CA) IsExpired() bool
- func (ca *CA) IsTrusted() bool
- func (ca *CA) LoadCA() error
- func (ca *CA) MakeCert(filename string, hosts []string) error
- func (ca *CA) MustBeRegenerated() bool
- func (ca *CA) Uninstall() error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type CA ¶
type CA struct { Key crypto.PrivateKey // contains filtered or unexported fields }
func (*CA) AsTLS ¶
func (ca *CA) AsTLS() *tls.Certificate
func (*CA) CreateCert ¶
func (ca *CA) CreateCert(hosts []string) (tls.Certificate, error)
func (*CA) MustBeRegenerated ¶
Click to show internal directories.
Click to hide internal directories.