Class: CryptoKeyStore


A CryptoKeyStore uses an underlying instance of module:api.KeyValueStore implementation to persist crypto keys. This class enforces the special indexing mechanism with private and public keys on top of a standard implementation of the KeyValueStore interface with the getKey() and putKey() methods

new CryptoKeyStore(keyValueStore)

Name Type Description
keyValueStore KeyValueStore