PrivateKeyStore class
An implementation of AbstractPrivateKeyStore that uses a TypeORM database connection to store private key material.
The keys can be encrypted while at rest if this class is initialized with an AbstractSecretBox implementation.
Signature:
export declare class PrivateKeyStore extends AbstractPrivateKeyStore
Extends: AbstractPrivateKeyStore
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(dbConnection, secretBox) | Constructs a new instance of the PrivateKeyStore class |
Methods
| Method | Modifiers | Description |
|---|---|---|
| deleteKey({ alias }) | ||
| getKey({ alias }) | ||
| importKey(args) | ||
| listKeys() |