Documentation ¶
Overview ¶
Package tls provides functionality for use when conducting tests with TLS
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTestKeyAndCert ¶
GetTestKeyAndCert returns a self-sign test TLS key and certificate
func GetTestKeyAndCertFiles ¶
GetTestKeyAndCertFiles returns the paths to key and certificate files generated by GetTestKeyAndCert
func WriteTestKeyAndCert ¶
WriteTestKeyAndCert writes a self-signed test TLS key and cert. Paths should use t.TempDir() to ensure they are auto-cleaned, otherwise, you must cleanup
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.