Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateWithKey ¶
type CertificateWithKey struct { Certificate *x509.Certificate PrivateKey *rsa.PrivateKey PrivateKeyPEM []byte CertificatePEM []byte }
func GenerateCA ¶
func GenerateCA() (*CertificateWithKey, error)
func GenerateCertificateWithCA ¶
func GenerateCertificateWithCA(ca *CertificateWithKey) (*CertificateWithKey, error)
Click to show internal directories.
Click to hide internal directories.