Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertBytesToX509Certificate ¶ added in v0.0.5
func CertBytesToX509Certificate(certBytes []byte) (cert []*x509.Certificate, err error)
CertBytesToX509Certificate converts a byte array to an X509 certificate, using PEM formatting.
func EncodeCertificateToPEM ¶
EncodeCertificateToPEM encodes a certificate to PEM format.
func EncodePrivateKeyToPEM ¶
EncodePrivateKeyToPEM encodes a private key to PEM format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.