Class: CryptoKeyStore


new CryptoKeyStore(KVSImplClass, opts)

A CryptoKeyStore uses an underlying instance of module:api.KeyValueStore implementation to persist crypto keys.
Name Type Description
KVSImplClass function Optional. The built-in key store saves private keys. The key store may be backed by different KeyValueStore implementations. If specified, the value of the argument must point to a module implementing the KeyValueStore interface.
opts Object Implementation-specific option object used in the constructor