signer

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoKeyForCheck = errors.New("no signing entity exists for check")

ErrNoKeyForCheck is the error returned when Voucher does not have a key for the Check in question.

Functions

This section is empty.

Types

type AttestationSigner

type AttestationSigner interface {
	// Sign finds the key for a given check, signs the body and returns the signature and the key identifier
	Sign(checkName, body string) (string, string, error)
	Close() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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