Documentation ¶
Overview ¶
Package testkeys generates ephemeral test keys.
Generated keys are unique per execution of the binary and are generated on demand.
DO NOT USE THESE KEYS OUTSIDE OF UNIT TESTING.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ECP256 ¶
func ECP256() *ecdsa.PrivateKey
Ephemeral ECDSA-P256 key which is unique per execution of the binary.
func ED25519 ¶
func ED25519() ed25519.PrivateKey
Ephemeral ED25519 key which is unique per execution of the binary.
func RSA1024 ¶
func RSA1024() *rsa.PrivateKey
Ephemeral RSA-1024 key which is unique per execution of the binary.
func RSA2048 ¶
func RSA2048() *rsa.PrivateKey
Ephemeral RSA-2048 key which is unique per execution of the binary.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.