Help us shape the future of Go! Take the 2026 Go Developer Survey

kms

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMockAESGCMKeyHandle added in v0.1.4

func CreateMockAESGCMKeyHandle() (*keyset.Handle, error)

CreateMockAESGCMKeyHandle is a utility function that returns a mock key (for tests only, not registered in Tink).

func CreateMockED25519KeyHandle added in v0.1.4

func CreateMockED25519KeyHandle() (*keyset.Handle, error)

CreateMockED25519KeyHandle is a utility function that returns a mock key (for tests only, not registered in Tink).

Types

type KeyManager

type KeyManager = mockkms.KeyManager

KeyManager mocks a local Key Management Service + ExportableKeyManager.

type Provider added in v0.1.3

type Provider = mockkms.Provider

Provider provides mock Provider implementation.

func NewProviderForKMS added in v0.1.4

func NewProviderForKMS(storeProvider storage.Provider, secretLock secretlock.Service) (*Provider, error)

NewProviderForKMS creates a new mock Provider to create a KMS.

Jump to

Keyboard shortcuts

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