Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCertificate ¶
func GenerateCertificate(t *testing.T, caKeyPem, caCertificatePem, keyPem, commonName string) string
GenerateCertificate generates a local CA x509 certificate PEM string.
func GeneratePrivateKey ¶
GeneratePrivateKey generates a RSA private key PEM string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.