testutils

package
v0.0.0-...-9a1ea71 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTestCaCertWithKey

func AddTestCaCertWithKey(crypto11Ctx *crypto11.Context, keyId []byte, key crypto.Signer) error

func AddTestKert

func AddTestKert(crypto11Ctx *crypto11.Context) ([]byte, error)

AddTestKert generates a test key pair and a corresponding test CA certificate.

func AddTestKeyPair

func AddTestKeyPair(crypto11Ctx *crypto11.Context) ([]byte, error)

func TryDelKeyPair

func TryDelKeyPair(key crypto11.Signer, keyId []byte)

func TryPurgeAllKerts

func TryPurgeAllKerts(crypto11Ctx *crypto11.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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