Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyManager ¶
KeyManager is a fake key manager that returns the same key for all requests
func (KeyManager) GenerateKey ¶
func (f KeyManager) GenerateKey(ctx context.Context, id string, keyType cryptoutil.KeyType) (keymanager.Key, error)
func (KeyManager) GetKey ¶
func (f KeyManager) GetKey(ctx context.Context, id string) (keymanager.Key, error)
func (KeyManager) GetKeys ¶
func (f KeyManager) GetKeys(ctx context.Context) ([]keymanager.Key, error)
Click to show internal directories.
Click to hide internal directories.