IKeyManager interface
Key manager interface.
This defines an interface for a plugin that orchestrates various implementations of AbstractKeyManagementSystem.
See KeyManager for a reference implementation.
The methods of this plugin are used automatically by other plugins, such as DIDManager, CredentialPlugin, or DIDComm to perform their required cryptographic operations using the managed keys.
Signature:
export interface IKeyManager extends IPluginMethodMap
Extends: IPluginMethodMap
Methods
|
Method |
Description |
|---|---|
|
Creates and returns a new key | |
|
(BETA) Decrypts data This API may change without a BREAKING CHANGE notice. | |
|
Deletes a key | |
|
(BETA) Encrypts data This API may change without a BREAKING CHANGE notice. | |
|
Returns an existing key | |
|
Lists available key management systems | |
|
Imports a created key | |
|
Compute a shared secret with the public key of another party. This computes the raw shared secret (the result of a Diffie-Hellman computation) To use this for symmetric encryption you MUST apply a KDF on the result. | |
|
Generates a signature according to the algorithm specified. | |
|
Signs Ethereum transaction | |
|
Signs JWT |