Documentation
¶
Overview ¶
Package testcert generates throwaway TLS material for tests.
The public tree deliberately ships no committed private key: secret scanners flag any tracked PEM private key, regardless of it being a test fixture. Tests that need a certificate/key pair call Generate and get a freshly created, self-signed pair inside a caller supplied directory (typically t.TempDir()), which disappears with the test run.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.