keyprovider

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 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 KeyProvider

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

func NewKeyProvider

func NewKeyProvider(providerID string, providerKind types.ProviderKind, vendOnDecrypt bool) *KeyProvider

func (*KeyProvider) DecryptDataKey

func (*KeyProvider) DecryptDataKeyFromList

func (kp *KeyProvider) DecryptDataKeyFromList(ctx context.Context, MKP model.MasterKeyProvider, encryptedDataKeys []model.EncryptedDataKeyI, alg *suite.AlgorithmSuite, ec suite.EncryptionContext) (model.DataKeyI, error)

func (*KeyProvider) GoString

func (kp *KeyProvider) GoString() string

func (*KeyProvider) ID

func (kp *KeyProvider) ID() string

func (*KeyProvider) Kind

func (kp *KeyProvider) Kind() types.ProviderKind

func (*KeyProvider) String

func (kp *KeyProvider) String() string

func (*KeyProvider) VendOnDecrypt

func (kp *KeyProvider) VendOnDecrypt() bool

Jump to

Keyboard shortcuts

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