Skip to main content

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

ConstructorModifiersDescription
(constructor)(dbConnection)Constructs a new instance of the KeyStore class

Methods

MethodModifiersDescription
deleteKey({ kid })
getKey({ kid })
importKey(args)
listKeys(args)