signer

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, factory func() SignerProvider, opts ...registry.Configurer)

func RegisterVerifier added in v0.3.0

func RegisterVerifier(name string, factory func() VerifierProvider, opts ...registry.Configurer)

func RegistryEntries

func RegistryEntries() []registry.Entry[SignerProvider]

func VerifierRegistryEntries added in v0.3.0

func VerifierRegistryEntries() []registry.Entry[VerifierProvider]

Types

type SignerProvider

type SignerProvider interface {
	Signer(context.Context) (cryptoutil.Signer, error)
}

func NewSignerProvider

func NewSignerProvider(name string, opts ...func(SignerProvider) (SignerProvider, error)) (SignerProvider, error)

type VerifierProvider added in v0.3.0

type VerifierProvider interface {
	Verifier(context.Context) (cryptoutil.Verifier, error)
}

NOTE: This is a temporary interface, and should not be used. It will be deprecated in a future release. The same applies to the functions that use this interface.

func NewVerifierProvider added in v0.3.0

func NewVerifierProvider(name string, opts ...func(VerifierProvider) (VerifierProvider, error)) (VerifierProvider, error)

Directories

Path Synopsis
kms
aws
gcp

Jump to

Keyboard shortcuts

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