Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertAsBytes ¶
func CertAsBytes(certs ...*x509.Certificate) (b []byte, err error)
func GenerateKeyAndCertificate ¶
func GenerateKeyAndCertificate(commonName string, parentKey *rsa.PrivateKey, parentCert *x509.Certificate, isCA bool, isClient bool) (*rsa.PrivateKey, []*x509.Certificate, error)
func PrivateKeyAsBytes ¶
func PrivateKeyAsBytes(key *rsa.PrivateKey) (b []byte, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.