Skip to main content

StaticKeystoreProvider

Class: StaticKeystoreProvider

StaticKeystoreProvider will look for a privateKeyOverride in the provided options, and bootstrap a Keystore using those options if provided.

If no privateKeyOverride is supplied will throw a KeystoreProviderUnavailableError causing the client to continue iterating through the KeystoreProviders list.

Implements

Constructors

constructor

new StaticKeystoreProvider()

Methods

newKeystore

newKeystore(opts): Promise<Keystore>

Parameters

NameType
optsKeystoreProviderOptions

Returns

Promise<Keystore>

Implementation of

KeystoreProvider.newKeystore

Defined in

keystore/providers/StaticKeystoreProvider.ts:19

Was the information on this page helpful?