testkeys

package
v0.147.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package testkeys generates signing keys for tests. Every helper panics on failure.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EC

func EC(kid string) keys.Signer

EC is a fresh ES256 signer.

func Ed25519

func Ed25519(kid string) keys.Signer

Ed25519 is a fresh EdDSA signer.

func RSA

func RSA(kid string) keys.Signer

RSA is a fresh RS256 signer.

func Source

func Source(s keys.Signer) keys.Static

Source is a key source whose only key is s.

Types

This section is empty.

Jump to

Keyboard shortcuts

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