Documentation
¶
Index ¶
Constants ¶
View Source
const (
// CertificateBlockType is a possible value for pem.Block.Type.
CertificateBlockType = "CERTIFICATE"
)
Variables ¶
This section is empty.
Functions ¶
func EncodeCertPEM ¶
func EncodeCertPEM(cert *x509.Certificate) []byte
EncodeCertPEM returns PEM-endcoded certificate data
func WriteCert ¶
func WriteCert(certPath string, cert *x509.Certificate) error
WriteCert stores the given certificate at the given location
func WriteKeyAndCert ¶ added in v1.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.