Documentation ¶
Overview ¶
Package encoding provies helper methods for PEM encoding x509 certificates and RSA private keys.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PEMEncodeCertificate ¶
func PEMEncodeCertificate(certificate *x509.Certificate) []byte
func PEMEncodeCertificates ¶
func PEMEncodeCertificates(certificates []*x509.Certificate) [][]byte
func PEMEncodeKey ¶
func PEMEncodeKey(key *rsa.PrivateKey) []byte
func PEMEncodeKeys ¶
func PEMEncodeKeys(keys []*rsa.PrivateKey) [][]byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.