![]() |
Anoncoin
0.9.4
P2P Digital Currency
|
Keystore which keeps the private keys encrypted. More...
#include <crypter.h>
Public Member Functions | |
CCryptoKeyStore () | |
bool | IsCrypted () const |
bool | IsLocked () const |
bool | Lock () |
virtual bool | AddCryptedKey (const CPubKey &vchPubKey, const std::vector< unsigned char > &vchCryptedSecret) |
bool | AddKeyPubKey (const CKey &key, const CPubKey &pubkey) |
bool | HaveKey (const CKeyID &address) const |
bool | GetKey (const CKeyID &address, CKey &keyOut) const |
bool | GetPubKey (const CKeyID &address, CPubKey &vchPubKeyOut) const |
void | GetKeys (std::set< CKeyID > &setAddress) const |
![]() | |
bool | AddKeyPubKey (const CKey &key, const CPubKey &pubkey) |
bool | HaveKey (const CKeyID &address) const |
void | GetKeys (std::set< CKeyID > &setAddress) const |
bool | GetKey (const CKeyID &address, CKey &keyOut) const |
virtual bool | AddCScript (const CScript &redeemScript) |
virtual bool | HaveCScript (const CScriptID &hash) const |
virtual bool | GetCScript (const CScriptID &hash, CScript &redeemScriptOut) const |
virtual bool | AddWatchOnly (const CScript &dest) |
virtual bool | RemoveWatchOnly (const CScript &dest) |
virtual bool | HaveWatchOnly (const CScript &dest) const |
virtual bool | HaveWatchOnly () const |
![]() | |
virtual | ~CKeyStore () |
virtual bool | AddKey (const CKey &key) |
Public Attributes | |
boost::signals2::signal< void(CCryptoKeyStore *wallet)> | NotifyStatusChanged |
Protected Member Functions | |
bool | SetCrypted () |
bool | EncryptKeys (CKeyingMaterial &vMasterKeyIn) |
bool | Unlock (const CKeyingMaterial &vMasterKeyIn) |
Private Attributes | |
CryptedKeyMap | mapCryptedKeys |
CKeyingMaterial | vMasterKey |
bool | fUseCrypto |
Additional Inherited Members | |
![]() | |
KeyMap | mapKeys |
ScriptMap | mapScripts |
WatchOnlySet | setWatchOnly |
![]() | |
CCriticalSection | cs_KeyStore |
Keystore which keeps the private keys encrypted.
It derives from the basic key store, which is used if no encryption is active.
|
virtual |
Reimplemented in CWallet.
Definition at line 200 of file crypter.cpp.
Implements CKeyStore.
Reimplemented in CWallet.
Definition at line 178 of file crypter.cpp.
|
protected |
Implements CKeyStore.
Definition at line 212 of file crypter.cpp.
|
inlinevirtual |
Reimplemented from CKeyStore.
Definition at line 236 of file crypter.cpp.
|
inlinevirtual |
|
inline |
|
inline |
bool CCryptoKeyStore::Lock | ( | ) |
Definition at line 135 of file crypter.cpp.
|
protected |
|
protected |
Definition at line 149 of file crypter.cpp.
|
private |
boost::signals2::signal<void (CCryptoKeyStore* wallet)> CCryptoKeyStore::NotifyStatusChanged |
|
private |