Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Creator ¶ added in v0.1.2
type Creator func(provider Provider) (KeyManager, error)
Creator method to create new key management service
type KeyManager ¶
type KeyManager interface {
// Create a new key/keyset/key handle for the type kt
Create(kt string) (string, interface{}, error)
// Get key handle for the given keyID
Get(keyID string) (interface{}, error)
// Rotate a key referenced by keyID and return a new handle of a keyset including old key and
// new key with type kt. It also returns the updated keyID as the first return value
Rotate(kt, keyID string) (string, interface{}, error)
}
KeyManager manages keys and their storage for the aries framework
Click to show internal directories.
Click to hide internal directories.