KeyStore class
An implementation of AbstractKeyStore that uses a TypeORM database to store the relationships between keys, their IDs, aliases and KMS implementations, as they are known and managed by a Veramo agent.
An instance of this class can be used by KeyManager as the data storage layer.
To make full use of this class, it should use the same database as the one used by DIDStore.
Signature:
export declare class KeyStore extends AbstractKeyStore
Extends: AbstractKeyStore
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(dbConnection) | Constructs a new instance of the KeyStore class |
Methods
Method | Modifiers | Description |
---|---|---|
deleteKey({ kid }) | ||
getKey({ kid }) | ||
importKey(args) | ||
listKeys(args) |