GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
Signals | |
void | SignalGnupgNotInstall () |
Public Member Functions | |
void | SetTempCacheValue (const std::string, const std::string) |
set a temp cache under a certain key | |
std::string | GetTempCacheValue (const std::string) |
after get the temp cache, its value will be imediately ease in storage More... | |
void | ResetTempCacheValue (const std::string) |
imediately ease temp cache in storage More... | |
Static Public Member Functions | |
static CoreCommonUtil * | GetInstance () |
Construct a new Core Common Util object. | |
Private Attributes | |
std::map< std::string, std::string > | temp_cache_ |
Static Private Attributes | |
static std::unique_ptr< CoreCommonUtil > | instance_ = nullptr |
std::string GpgFrontend::CoreCommonUtil::GetTempCacheValue | ( | const std::string | key | ) |
after get the temp cache, its value will be imediately ease in storage
Referenced by GpgFrontend::GpgContext::custom_passphrase_cb().
void GpgFrontend::CoreCommonUtil::ResetTempCacheValue | ( | const std::string | key | ) |
imediately ease temp cache in storage
Referenced by GpgFrontend::UI::KeyGenDialog::slot_key_gen_accept(), and GpgFrontend::UI::SubkeyGenerateDialog::slot_key_gen_accept().