signing

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	// Signer returns a security.Signer for the specified key, which will
	// generally be referred to as a filename. Credentials
	// will generally be a passphrase for accessing the key.
	Signer(ctx context.Context, key []byte, credentials []byte) (security.Signer, error)

	// Close releases/closes all resources associated with the service instance.
	Close(ctx context.Context) error
}

Service defines the interface for a signing service.

Jump to

Keyboard shortcuts

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