Documentation ¶ Index ¶ Variables type BaseKey func NewBaseKey(metadata model.KeyMeta) BaseKey func (mk *BaseKey) KeyID() string func (mk *BaseKey) Metadata() model.KeyMeta func (mk *BaseKey) OwnsDataKey(key model.Key) bool 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 Source Files ¶ View all Source files basekey.go errors.go Directories ¶ Show internal Expand all Path Synopsis kms raw Click to show internal directories. Click to hide internal directories.