signer

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const MemoryScheme = "memory"

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, signer string, pass string) (signature.Signer, error)

Types

type File added in v0.12.1

type File struct {
	signature.SignerVerifier
}

returns an file based signer and verify, used for spinning up local instances

func NewFile added in v0.12.1

func NewFile(keyPath, keyPass string) (*File, error)

type Memory

type Memory struct {
	signature.ECDSASignerVerifier
}

returns an in-memory signer and verify, used for spinning up local instances

func NewMemory

func NewMemory() (*Memory, error)

Jump to

Keyboard shortcuts

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