Namespace Libplanet.KeyStore
Classes
IncorrectPassphraseException
The exception that is thrown when a user input passphrase (i.e., password) is incorrect.
InvalidKeyJsonException
The exception that is thrown when a key JSON is invalid, e.g., missing field.
KeyJsonException
Serves as the base class for exceptions thrown by FromJson(String) method.
KeyStoreException
Serves as the base class for exceptions thrown by IKeyStore implementations.
MismatchedAddressException
The exception that is thrown when an unprotected private key's actual address does not match to the expected address.
NoKeyException
The exception that is thrown when there is no ProtectedPrivateKey with a given key ID in an IKeyStore.
ProtectedPrivateKey
Protects a PrivateKey with a passphrase (i.e., password).
UnsupportedKeyJsonException
The exception that is thrown when a key JSON is valid but uses an unsupported feature, e.g., unsupported cipher algorithm.
Web3KeyStore
Web3 Secret Storage (i.e., Ethereum-style key store) compliant IKeyStore implementation. Key files are placed in a directory of the Path.
Use DefaultKeyStore property to get an instance.
In order to get an instance with a customized directory, use the Web3KeyStore(String) constructor.
Interfaces
IKeyStore
The interface to store ProtectedPrivateKeys. An appropriate implementation should be used according to a running platform.