Class: Keystore

Keystore(configurationopt) → {Keystore}

Provides an encrypted datastore for generic object storage.

Constructor

new Keystore(configurationopt) → {Keystore}

Create an instance of the Store.
Parameters:
Name Type Attributes Description
configuration FabricStoreConfiguration <optional>
Settings to use.
Properties
Name Type Attributes Default Description
name String <optional>
"DefaultStore" Name of the Store.
Source:
Returns:
Instance of the store.
Type
Keystore

Methods

(async) _setState(state) → {Actor}

Saves an Object to the store.
Parameters:
Name Type Description
state Object State to store.
Source:
Returns:
The local instance of the provided State's Actor.
Type
Actor