Skip to main content

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

ConstructorModifiersDescription
(constructor)(dbConnection, secretBox)Constructs a new instance of the PrivateKeyStore class

Methods

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