enclave

package
v0.0.0-...-6f3c314 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoBackend = errors.New("enclave: no backend available")
)

Functions

func Available

func Available() bool

func OpaqueSigner

func OpaqueSigner(kp Keypair) jose.OpaqueSigner

Types

type Keypair

type Keypair interface {
	crypto.Signer

	Label() string
	ID() string
}

func Generate

func Generate(app string, label string) (Keypair, error)

func List

func List(app string) ([]Keypair, error)

Jump to

Keyboard shortcuts

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