![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <keepass.h>
Classes | |
class | CKeePassEntry |
class | CKeePassRequest |
class | CKeePassResponse |
Public Member Functions | |
CKeePassIntegrator () | |
void | init () |
void | rpcAssociate (std::string &strId, SecureString &sKeyBase64) |
SecureString | retrievePassphrase () |
void | updatePassphrase (const SecureString &sWalletPassphrase) |
Static Public Member Functions | |
static SecureString | generateKeePassKey () |
Private Member Functions | |
void | doHTTPPost (const std::string &strRequest, int &nStatus, std::string &strResponse) |
void | rpcTestAssociation (bool bTriggerUnlock) |
std::vector< CKeePassEntry > | rpcGetLogins () |
void | rpcSetLogin (const SecureString &sWalletPass, const SecureString &sEntryId) |
Static Private Member Functions | |
static SecureString | generateRandomKey (size_t nSize) |
static std::string | constructHTTPPost (const std::string &strMsg, const std::map< std::string, std::string > &mapRequestHeaders) |
Private Attributes | |
bool | bIsActive |
unsigned int | nPort |
SecureString | sKeyBase64 |
SecureString | sKey |
SecureString | sUrl |
std::string | strKeePassId |
std::string | strKeePassEntryName |
Static Private Attributes | |
static const int | KEEPASS_CRYPTO_KEY_SIZE = 32 |
static const int | KEEPASS_CRYPTO_BLOCK_SIZE = 16 |
static const int | KEEPASS_HTTP_CONNECT_TIMEOUT = 30 |
static const char * | KEEPASS_HTTP_HOST = "localhost" |
CKeePassIntegrator::CKeePassIntegrator | ( | ) |
Definition at line 93 of file keepass.cpp.
|
staticprivate |
Definition at line 242 of file keepass.cpp.
|
private |
Definition at line 292 of file keepass.cpp.
Referenced by rpcAssociate(), rpcGetLogins(), rpcSetLogin(), and rpcTestAssociation().
|
static |
Definition at line 533 of file keepass.cpp.
Referenced by keepass().
|
staticprivate |
Definition at line 229 of file keepass.cpp.
Referenced by generateKeePassKey(), CKeePassIntegrator::CKeePassRequest::init(), and rpcAssociate().
void CKeePassIntegrator::init | ( | ) |
Definition at line 104 of file keepass.cpp.
Referenced by AppInit2().
SecureString CKeePassIntegrator::retrievePassphrase | ( | ) |
Definition at line 579 of file keepass.cpp.
Referenced by CWallet::ChangeWalletPassphrase(), and CWallet::Unlock().
void CKeePassIntegrator::rpcAssociate | ( | std::string & | strId, |
SecureString & | sKeyBase64 | ||
) |
Definition at line 540 of file keepass.cpp.
Referenced by keepass().
|
private |
Definition at line 440 of file keepass.cpp.
Referenced by retrievePassphrase(), and updatePassphrase().
|
private |
Definition at line 484 of file keepass.cpp.
Referenced by updatePassphrase().
|
private |
Definition at line 427 of file keepass.cpp.
void CKeePassIntegrator::updatePassphrase | ( | const SecureString & | sWalletPassphrase | ) |
Definition at line 613 of file keepass.cpp.
Referenced by CWallet::ChangeWalletPassphrase(), CWallet::EncryptWallet(), and keepass().
|
private |
Definition at line 25 of file keepass.h.
Referenced by CKeePassIntegrator(), and init().
|
staticprivate |
Definition at line 21 of file keepass.h.
Referenced by CKeePassIntegrator::CKeePassRequest::init().
|
staticprivate |
Definition at line 20 of file keepass.h.
Referenced by generateKeePassKey(), and rpcAssociate().
|
staticprivate |
Definition at line 22 of file keepass.h.
Referenced by doHTTPPost().
|
staticprivate |
Definition at line 23 of file keepass.h.
Referenced by doHTTPPost().
|
private |
Definition at line 26 of file keepass.h.
Referenced by CKeePassIntegrator(), and init().
|
private |
Definition at line 28 of file keepass.h.
Referenced by CKeePassIntegrator::CKeePassRequest::addStrParameter(), CKeePassIntegrator(), CKeePassIntegrator::CKeePassResponse::decrypt(), generateKeePassKey(), generateRandomKey(), init(), retrievePassphrase(), rpcAssociate(), rpcGetLogins(), rpcSetLogin(), rpcTestAssociation(), and updatePassphrase().
|
private |
Definition at line 27 of file keepass.h.
Referenced by CKeePassIntegrator(), generateKeePassKey(), init(), rpcAssociate(), rpcGetLogins(), and rpcSetLogin().
|
private |
Definition at line 32 of file keepass.h.
Referenced by init(), retrievePassphrase(), and updatePassphrase().
|
private |
Definition at line 31 of file keepass.h.
Referenced by init(), retrievePassphrase(), rpcGetLogins(), rpcSetLogin(), and updatePassphrase().
|
private |
Definition at line 29 of file keepass.h.
Referenced by CKeePassIntegrator(), init(), rpcGetLogins(), and rpcSetLogin().