Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMockAESGCMKeyHandle ¶ added in v0.1.4
CreateMockAESGCMKeyHandle is a utility function that returns a mock key (for tests only, not registered in Tink).
func CreateMockED25519KeyHandle ¶ added in v0.1.4
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
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.
Click to show internal directories.
Click to hide internal directories.