Initializes a new instance of PrivateKeyStorage.
Object responsible for
exporting private key bytes from IPrivateKey objects and importing
private key bytes into IPrivateKey objects.
Object responsible for persistence of private keys data.
Removes the private key entry with the given name from persistent
storage.
Name of the private key to remove.
Retrieves the private key with the given name from persistent storage.
If private with the given name does not exist, resolves the returned
Promise with null.
Name of the private key to load.
Persists the given privateKey and meta under the given name.
If an entry with the same name already exists rejects the returned
Promise with PrivateKeyExistsError error.
Name of the private key.
The private key object.
Class responsible for storage of private keys.