testkeys

package
v0.0.0-...-e43486a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL