keys

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDecryptKey      = errors.New("unable to decrypt data key")
	ErrGenerateDataKey = errors.New("unable to generate data key")
	ErrEncryptKey      = errors.New("unable to encrypt data key")
)

Functions

This section is empty.

Types

type BaseKey added in v0.1.0

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

func NewBaseKey added in v0.1.0

func NewBaseKey(metadata model.KeyMeta) BaseKey

func (*BaseKey) KeyID added in v0.1.0

func (mk *BaseKey) KeyID() string

func (*BaseKey) Metadata added in v0.1.0

func (mk *BaseKey) Metadata() model.KeyMeta

func (*BaseKey) OwnsDataKey added in v0.1.0

func (mk *BaseKey) OwnsDataKey(key model.Key) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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