keymanager

package
v0.0.0-...-a65a15d Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyManager

type KeyManager struct {
	// contains filtered or unexported fields
}

func NewKeyManager

func NewKeyManager(opts ...Option) (*KeyManager, error)

func (*KeyManager) Next

func (r *KeyManager) Next() *derivation.Derivation

func (*KeyManager) PublicKey

func (r *KeyManager) PublicKey() ed25519.PublicKey

func (*KeyManager) Rotate

func (r *KeyManager) Rotate() error

func (*KeyManager) Signer

func (r *KeyManager) Signer() derivation.Signer

type Option

type Option func(*KeyManager) error

func WithAEAD

func WithAEAD(a tink.AEAD) Option

func WithSecrets

func WithSecrets(s []string) Option

func WithStore

func WithStore(store db.DB) Option

Jump to

Keyboard shortcuts

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