juju: github.com/wallyworld/juju/pki/test Index | Files

package test

import "github.com/wallyworld/juju/pki/test"

Index

Package Files

authority.go keyprofile.go

Variables

var OriginalDefaultKeyProfile = pki.DefaultKeyProfile

OriginalDefaultKeyProfile is the pre-patched pki.DefaultKeyProfile value.

func InsecureKeyProfile Uses

func InsecureKeyProfile() (crypto.Signer, error)

InsecureKeyProfile for tests. Will panic if used outside tests.

func NewTestAuthority Uses

func NewTestAuthority() (pki.Authority, error)

NewTestAuthority returns a valid pki Authority for testing

Package test imports 6 packages (graph). Updated 2020-08-06. Refresh now. Tools for package owners.