Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cert ¶
type Cert tls.Certificate
Cert is an alias for tls.Certificate with extra helper methods.
func CACert ¶
CACert generates a new certificate that can sign leaf & intermediary certificates. The certificate is self-signed if parent is nil.
func LeafCert ¶
LeafCert generates a new leaf certificate. The certificate is self-signed if parent is nil.
Click to show internal directories.
Click to hide internal directories.