test

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 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