Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertToPEMBase64 ¶
certToPEMBase64 returns the Base64 encoded PEM block for a given DER certificate (i.e., it returns "Base64(PEM(asn1))").
func GetOrCreateX509KeyPair ¶
func GetOrCreateX509KeyPair(opts CertificateOptions) (*tls.Certificate, error)
func LoadX509KeyPair ¶
func LoadX509KeyPair(certPath, keyPath string) (*tls.Certificate, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.