Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenCACert ¶
func GenCACert(option CertOption) (*x509.Certificate, *rsa.PrivateKey, error)
func GenClientCert ¶
func GenClientCert(option CertOption) (*x509.Certificate, *rsa.PrivateKey, error)
func GenServerCert ¶
func GenServerCert(option CertOption) (*x509.Certificate, *rsa.PrivateKey, error)
Types ¶
type CertOption ¶
Click to show internal directories.
Click to hide internal directories.