test

package
v0.0.0-...-4308112 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OriginalDefaultKeyProfile = pki.DefaultKeyProfile

OriginalDefaultKeyProfile is the pre-patched pki.DefaultKeyProfile value.

Functions

func InsecureKeyProfile

func InsecureKeyProfile() (crypto.Signer, error)

InsecureKeyProfile for tests. Will panic if used outside tests.

func NewTestAuthority

func NewTestAuthority() (pki.Authority, error)

NewTestAuthority returns a valid pki Authority 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