Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCACert ¶
func NewCACert() (*x509.Certificate, *rsa.PrivateKey, error)
NewCACert generates a new CA certificate and private key.
func NewSignedCert ¶
func NewSignedCert(caCert *x509.Certificate, caKey *rsa.PrivateKey, altNames tlsutil.AltNames, commonName string) (*x509.Certificate, *rsa.PrivateKey, error)
NewSignedCert generates a new signed certificate for a given CA.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.