Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CertificateData []byte
CertificateData contains the PEM-encoded test certificate and its key.
View Source
var InvalidCertificateData []byte
InvalidCertificateData contains the PEM-encoded invalid test certificate and its key.
View Source
var TruststoreData []byte
TruststoreData contains the PEM-encoded test truststore.
Functions ¶
func CertificateFile ¶
CertificateFile returns the path to a file containing a valid test certificate and its key.
func InvalidCertificate ¶
func InvalidCertificate() tls.Certificate
InvalidCertificate returns an invalid test certificate.
func InvalidCertificateFile ¶
InvalidCertificateFile returns the path to a file containing an invalid test certificate and its key.
func TruststoreFile ¶
TruststoreFile returns the path to a file containing a test truststore.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.