test

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCertificate

func NewCertificate(privateKey crypto.PrivateKey) (*x509.Certificate, error)

NewCertificate generates a new certificate from a private key for testing

func NewECDSAPrivateKey

func NewECDSAPrivateKey() (*ecdsa.PrivateKey, error)

NewECDSAPrivateKey generates a new private key for testing

func NewEd25519KeyPair added in v1.3.0

func NewEd25519KeyPair() (ed25519.PublicKey, ed25519.PrivateKey, error)

NewEd25519KeyPair generates a new public and private key pair for testing

Types

This section is empty.

Jump to

Keyboard shortcuts

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