diff --git a/docs/html/CtxCheckThread_8h_source.html b/docs/html/CtxCheckThread_8h_source.html
index 93e320cf..88d7f709 100644
--- a/docs/html/CtxCheckThread_8h_source.html
+++ b/docs/html/CtxCheckThread_8h_source.html
@@ -114,7 +114,7 @@ $(document).ready(function(){initNavTree('CtxCheckThread_8h_source.html',''); in
Definition: CoreCommonUtil.cpp:29
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
Definition: CtxCheckThread.h:37
-void FlushKeyCache()
flush the keys in the cache
Definition: GpgKeyGetter.cpp:106
+void FlushKeyCache()
flush the keys in the cache
Definition: GpgKeyGetter.cpp:101
CtxCheckThread()
Construct a new Ctx Check Thread object.
Definition: CtxCheckThread.cpp:34
diff --git a/docs/html/ExportKeyPackageDialog_8h_source.html b/docs/html/ExportKeyPackageDialog_8h_source.html
index 57a55f4e..a493d2f8 100644
--- a/docs/html/ExportKeyPackageDialog_8h_source.html
+++ b/docs/html/ExportKeyPackageDialog_8h_source.html
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('ExportKeyPackageDialog_8h_source.html'
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
static bool GenerateKeyPackage(const std::filesystem::path &key_package_path, const std::string &key_package_name, KeyIdArgsListPtr &key_ids, std::string &phrase, bool secret)
generate key package
Definition: KeyPackageOperator.cpp:46
ExportKeyPackageDialog(KeyIdArgsListPtr key_ids, QWidget *parent)
Construct a new Export Key Package Dialog object.
Definition: ExportKeyPackageDialog.cpp:37
-
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:143
+
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:147
diff --git a/docs/html/FilePage_8h_source.html b/docs/html/FilePage_8h_source.html
index aefa69ba..03ea95f967 100644
--- a/docs/html/FilePage_8h_source.html
+++ b/docs/html/FilePage_8h_source.html
@@ -165,22 +165,22 @@ $(document).ready(function(){initNavTree('FilePage_8h_source.html',''); initResi
189 #endif // GPGFRONTEND_FILEPAGE_H
-void slot_file_tree_view_item_double_clicked(const QModelIndex &index)
Definition: FilePage.cpp:173
+void slot_file_tree_view_item_double_clicked(const QModelIndex &index)
Definition: FilePage.cpp:176
void slot_file_tree_view_item_clicked(const QModelIndex &index)
Definition: FilePage.cpp:101
Definition: VerifyDetailsDialog.cpp:33
void SignalPathChanged(const QString &path)
-void onCustomContextMenu(const QPoint &point)
Definition: FilePage.cpp:289
+void onCustomContextMenu(const QPoint &point)
Definition: FilePage.cpp:292
static std::string CalculateHash(const std::filesystem::path &file_path)
Definition: FileOperator.cpp:72
-void keyPressEvent(QKeyEvent *event) override
Definition: FilePage.cpp:438
+void keyPressEvent(QKeyEvent *event) override
Definition: FilePage.cpp:443
Definition: FilePage.h:45
InfoBoardStatus
Definition: InfoBoardWidget.h:43
-void slot_compress_files()
compress directory into gpg-zip
Definition: FilePage.cpp:452
+void slot_compress_files()
compress directory into gpg-zip
Definition: FilePage.cpp:457
void SignalRefreshInfoBoard(const QString &text, InfoBoardStatus verify_label_status)
FilePage(QWidget *parent=nullptr)
Construct a new File Page object.
Definition: FilePage.cpp:41
-QString GetSelected() const
Get the Selected object.
Definition: FilePage.cpp:184
+QString GetSelected() const
Get the Selected object.
Definition: FilePage.cpp:187
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
void SignalRefreshInfoBoard(const QString &text, InfoBoardStatus verify_label_status)
-void create_popup_menu()
Create a popup menu object.
Definition: FilePage.cpp:219
+void create_popup_menu()
Create a popup menu object.
Definition: FilePage.cpp:222
diff --git a/docs/html/GpgBasicOperator_8h_source.html b/docs/html/GpgBasicOperator_8h_source.html
index 7e344361..4d945d31 100644
--- a/docs/html/GpgBasicOperator_8h_source.html
+++ b/docs/html/GpgBasicOperator_8h_source.html
@@ -147,7 +147,7 @@ $(document).ready(function(){initNavTree('GpgBasicOperator_8h_source.html','');
Definition: CoreCommonUtil.cpp:29
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
gpgme_error_t DecryptVerify(BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgDecrResult &decrypt_result, GpgVerifyResult &verify_result)
Call the interface provided by gpgme to perform decryption and verification operations at the same ti...
Definition: GpgBasicOperator.cpp:123
-GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
+GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:57
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:252
std::unique_ptr< KeyArgsList > GetSigners()
Get a global signature private keys that has been set.
Definition: GpgBasicOperator.cpp:193
@@ -162,7 +162,7 @@ $(document).ready(function(){initNavTree('GpgBasicOperator_8h_source.html','');
ByteArrayPtr Read2Buffer()
Definition: GpgData.cpp:55
gpg_error_t Encrypt(KeyListPtr keys, BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgEncrResult &result)
Call the interface provided by gpgme for encryption operation.
Definition: GpgBasicOperator.cpp:38
-GPGFRONTEND_CORE_EXPORT GpgEncrResult _new_result(gpgme_encrypt_result_t &&result)
Definition: GpgConstants.cpp:191
+GPGFRONTEND_CORE_EXPORT GpgEncrResult _new_result(gpgme_encrypt_result_t &&result)
Definition: GpgConstants.cpp:170
diff --git a/docs/html/GpgConstants_8h_source.html b/docs/html/GpgConstants_8h_source.html
index 5e8964f0..549e28ce 100644
--- a/docs/html/GpgConstants_8h_source.html
+++ b/docs/html/GpgConstants_8h_source.html
@@ -191,19 +191,19 @@ $(document).ready(function(){initNavTree('GpgConstants_8h_source.html',''); init
226 #endif // GPG_CONSTANTS_H
-GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:85
-std::string get_file_extension(const std::string &path)
Get the file extension object.
Definition: GpgConstants.cpp:151
-GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &path, const std::string &out_buffer)
Definition: GpgConstants.cpp:135
+GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:87
+std::string get_file_extension(const std::string &path)
Get the file extension object.
Definition: GpgConstants.cpp:130
+GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &path, const std::string &out_buffer)
Definition: GpgConstants.cpp:125
Definition: CoreCommonUtil.cpp:29
-int text_is_signed(BypeArrayRef text)
Definition: GpgConstants.cpp:176
-GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
-std::string get_only_file_name_with_path(const std::string &path)
Get the only file name with path object.
Definition: GpgConstants.cpp:164
+int text_is_signed(BypeArrayRef text)
Definition: GpgConstants.cpp:155
+GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:57
+std::string get_only_file_name_with_path(const std::string &path)
Get the only file name with path object.
Definition: GpgConstants.cpp:143
Result Deleter.
Definition: GpgConstants.h:59
-std::string read_all_data_in_file(const std::string &path)
Definition: GpgConstants.cpp:117
+std::string read_all_data_in_file(const std::string &path)
Definition: GpgConstants.cpp:119
static const char * PGP_CRYPT_BEGIN
Definition: GpgConstants.h:213
-GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:66
Definition: GpgConstants.h:211
-GPGFRONTEND_CORE_EXPORT GpgEncrResult _new_result(gpgme_encrypt_result_t &&result)
Definition: GpgConstants.cpp:191
+GPGFRONTEND_CORE_EXPORT GpgEncrResult _new_result(gpgme_encrypt_result_t &&result)
Definition: GpgConstants.cpp:170
diff --git a/docs/html/GpgContext_8h_source.html b/docs/html/GpgContext_8h_source.html
index 7542895b..2daf2dbb 100644
--- a/docs/html/GpgContext_8h_source.html
+++ b/docs/html/GpgContext_8h_source.html
@@ -158,7 +158,7 @@ $(document).ready(function(){initNavTree('GpgContext_8h_source.html',''); initRe
Definition: GpgFunctionObject.h:159
Definition: CoreCommonUtil.cpp:29
std::string AppPath
executable binary path of gnupg
Definition: GpgInfo.h:41
-GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
+GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:57
const GpgInfo & GetInfo() const
Get the Info object.
Definition: GpgContext.h:95
Definition: GpgContext.h:59
void SetPassphraseCb(gpgme_passphrase_cb_t func) const
Set the Passphrase Cb object.
Definition: GpgContext.cpp:193
@@ -166,7 +166,7 @@ $(document).ready(function(){initNavTree('GpgContext_8h_source.html',''); initRe
GpgContext(const GpgContextInitArgs &args={})
Construct a new Gpg Context object.
Definition: GpgContext.cpp:53
Definition: GpgContext.h:118
Definition: GpgContext.h:43
-GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:66
static gpgme_error_t test_status_cb(void *hook, const char *keyword, const char *args)
Definition: GpgContext.cpp:221
static gpgme_error_t test_passphrase_cb(void *opaque, const char *uid_hint, const char *passphrase_info, int last_was_bad, int fd)
Definition: GpgContext.cpp:204
bool good() const
Definition: GpgContext.cpp:191
diff --git a/docs/html/GpgDecryptResultAnalyse_8h_source.html b/docs/html/GpgDecryptResultAnalyse_8h_source.html
index c33b9976..1bb92b24 100644
--- a/docs/html/GpgDecryptResultAnalyse_8h_source.html
+++ b/docs/html/GpgDecryptResultAnalyse_8h_source.html
@@ -119,9 +119,9 @@ $(document).ready(function(){initNavTree('GpgDecryptResultAnalyse_8h_source.html
Definition: CoreCommonUtil.cpp:29
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
GpgDecryptResultAnalyse(GpgError m_error, GpgDecrResult m_result)
Construct a new Decrypt Result Analyse object.
Definition: GpgDecryptResultAnalyse.cpp:33
+GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
Definition: GpgResultAnalyse.h:37
Definition: GpgDecryptResultAnalyse.h:41
-GpgKey GetKey(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
std::string GetName() const
Definition: GpgKey.cpp:58
diff --git a/docs/html/GpgFileOpera_8h_source.html b/docs/html/GpgFileOpera_8h_source.html
index 93e1ac1d..e430bd37 100644
--- a/docs/html/GpgFileOpera_8h_source.html
+++ b/docs/html/GpgFileOpera_8h_source.html
@@ -159,7 +159,7 @@ $(document).ready(function(){initNavTree('GpgFileOpera_8h_source.html',''); init
GpgFileOpera(int channel=SingletonFunctionObject::GetDefaultChannel())
Definition: GpgFileOpera.cpp:37
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:245
static bool ReadFileStd(const std::filesystem::path &file_name, std::string &data)
read file content using std struct
Definition: FileOperator.cpp:55
-
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:66
static GpgError DecryptVerifyFile(const std::string &in_path, const std::string &out_path, GpgDecrResult &decr_res, GpgVerifyResult &verify_res)
Definition: GpgFileOpera.cpp:197
static GpgError VerifyFile(const std::string &data_path, const std::string &sign_path, GpgVerifyResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)
Definition: GpgFileOpera.cpp:135
static GpgError EncryptSignFile(KeyListPtr keys, KeyListPtr signer_keys, const std::string &in_path, const std::string &out_path, GpgEncrResult &encr_res, GpgSignResult &sign_res, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)
Definition: GpgFileOpera.cpp:165
diff --git a/docs/html/GpgKeyGetter_8h_source.html b/docs/html/GpgKeyGetter_8h_source.html
index 4947e825..95c83295 100644
--- a/docs/html/GpgKeyGetter_8h_source.html
+++ b/docs/html/GpgKeyGetter_8h_source.html
@@ -105,11 +105,11 @@ $(document).ready(function(){initNavTree('GpgKeyGetter_8h_source.html',''); init
-
62 GpgKey GetKey(
const std::string&
id);
+
62 GpgKey GetKey(
const std::string&
id,
bool use_cache =
true);
70 KeyListPtr GetKeys(
const KeyIdArgsListPtr& ids);
-
78 GpgKey GetPubkey(
const std::string&
id);
+
78 GpgKey GetPubkey(
const std::string&
id,
bool use_cache =
true);
85 KeyLinkListPtr FetchKey();
@@ -120,7 +120,7 @@ $(document).ready(function(){initNavTree('GpgKeyGetter_8h_source.html',''); init
107 KeyLinkListPtr GetKeysCopy(
const KeyLinkListPtr& keys);
-
+
@@ -128,29 +128,32 @@ $(document).ready(function(){initNavTree('GpgKeyGetter_8h_source.html',''); init
-
-
-
-
137 #endif // GPGFRONTEND_ZH_CN_TS_GPGKEYGETTER_H
+
+
141 GpgKey get_key_in_cache(
const std::string&
id);
+
+
+
+
145 #endif // GPGFRONTEND_ZH_CN_TS_GPGKEYGETTER_H
Definition: GpgFunctionObject.h:159
GpgKeyGetter(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Gpg Key Getter object.
Definition: GpgKeyGetter.cpp:41
-KeyListPtr GetKeysCopy(const KeyListPtr &keys)
Get the Keys Copy object.
Definition: GpgKeyGetter.cpp:159
+KeyListPtr GetKeysCopy(const KeyListPtr &keys)
Get the Keys Copy object.
Definition: GpgKeyGetter.cpp:163
std::mutex keys_cache_mutex_
shared mutex for the keys cache
Definition: GpgKeyGetter.h:133
Definition: CoreCommonUtil.cpp:29
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
+GpgKey get_key_in_cache(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:172
Definition: GpgKeyGetter.h:45
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:252
-KeyLinkListPtr FetchKey()
Get all the keys by receiving a linked list.
Definition: GpgKeyGetter.cpp:87
+KeyLinkListPtr FetchKey()
Get all the keys by receiving a linked list.
Definition: GpgKeyGetter.cpp:82
Definition: GpgContext.h:59
-GpgKey GetPubkey(const std::string &id)
Get the Pubkey object.
Definition: GpgKeyGetter.cpp:69
-void FlushKeyCache()
flush the keys in the cache
Definition: GpgKeyGetter.cpp:106
+void FlushKeyCache()
flush the keys in the cache
Definition: GpgKeyGetter.cpp:101
+GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
+GpgKey GetPubkey(const std::string &id, bool use_cache=true)
Get the Pubkey object.
Definition: GpgKeyGetter.cpp:67
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:245
-GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
-std::map< std::string, GpgKey > keys_cache_
cache the keys with key fpr
Definition: GpgKeyGetter.h:127
-KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:143
-GpgKey GetKey(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
+GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:66
+std::map< std::string, GpgKey > keys_cache_
cache the keys with key id
Definition: GpgKeyGetter.h:127
+KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:147
std::mutex ctx_mutex_
shared mutex for the keys cache
Definition: GpgKeyGetter.h:121
diff --git a/docs/html/GpgKeyImportExporter_8h_source.html b/docs/html/GpgKeyImportExporter_8h_source.html
index 426bd80d..7624eb51 100644
--- a/docs/html/GpgKeyImportExporter_8h_source.html
+++ b/docs/html/GpgKeyImportExporter_8h_source.html
@@ -168,20 +168,20 @@ $(document).ready(function(){initNavTree('GpgKeyImportExporter_8h_source.html','
std::string GetId() const
Definition: GpgKey.cpp:54
Definition: CoreCommonUtil.cpp:29
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
-GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
+GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:57
GpgKeyImportExporter(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Gpg Key Import Exporter object.
Definition: GpgKeyImportExporter.cpp:34
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:252
Definition: GpgContext.h:59
Definition: GpgKeyImportExporter.h:45
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:245
-GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:66
ByteArrayPtr Read2Buffer()
Definition: GpgData.cpp:55
GpgImportInformation ImportKey(StdBypeArrayPtr inBuffer)
Definition: GpgKeyImportExporter.cpp:42
bool ExportKeyOpenSSH(const GpgKey &key, ByteArrayPtr &out_buffer) const
Definition: GpgKeyImportExporter.cpp:155
bool ExportSecretKey(const GpgKey &key, ByteArrayPtr &outBuffer) const
Definition: GpgKeyImportExporter.cpp:124
bool ExportSecretKeyShortest(const GpgKey &key, ByteArrayPtr &outBuffer) const
Definition: GpgKeyImportExporter.cpp:169
-KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:143
+KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:147
Definition: GpgKeyImportExporter.h:89
diff --git a/docs/html/GpgKeyManager_8h_source.html b/docs/html/GpgKeyManager_8h_source.html
index c1800c04..30376431 100644
--- a/docs/html/GpgKeyManager_8h_source.html
+++ b/docs/html/GpgKeyManager_8h_source.html
@@ -125,13 +125,13 @@ $(document).ready(function(){initNavTree('GpgKeyManager_8h_source.html',''); ini
Definition: CoreCommonUtil.cpp:29
static GpgBasicOperator & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
bool SetExpire(const GpgKey &key, std::unique_ptr< GpgSubKey > &subkey, std::unique_ptr< boost::posix_time::ptime > &expires)
Set the Expire object.
Definition: GpgKeyManager.cpp:78
-GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
+GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:57
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:252
void SetSigners(KeyArgsList &signers)
Set the private key for signatures, this operation is a global operation.
Definition: GpgBasicOperator.cpp:178
Definition: GpgContext.h:59
bool SignKey(const GpgKey &target, KeyArgsList &keys, const std::string &uid, const std::unique_ptr< boost::posix_time::ptime > &expires)
Sign a key pair(actually a certain uid)
Definition: GpgKeyManager.cpp:40
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:245
-GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:66
GpgKeyManager(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Gpg Key Manager object.
Definition: GpgKeyManager.cpp:37
Definition: GpgKeyManager.h:42
bool RevSign(const GpgFrontend::GpgKey &key, const GpgFrontend::SignIdArgsListPtr &signature_id)
Definition: GpgKeyManager.cpp:62
diff --git a/docs/html/GpgKeyOpera_8h_source.html b/docs/html/GpgKeyOpera_8h_source.html
index 2a692108..17dc1424 100644
--- a/docs/html/GpgKeyOpera_8h_source.html
+++ b/docs/html/GpgKeyOpera_8h_source.html
@@ -139,25 +139,25 @@ $(document).ready(function(){initNavTree('GpgKeyOpera_8h_source.html',''); initR
std::string GetId() const
Definition: GpgKey.cpp:54
Definition: CoreCommonUtil.cpp:29
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
-GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
+GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:57
Definition: GpgKeyOpera.h:47
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:252
GpgFrontend::GpgError GenerateSubkey(const GpgKey &key, const std::unique_ptr< GenKeyInfo > ¶ms)
Definition: GpgKeyOpera.cpp:245
GpgError SetExpire(const GpgKey &key, const SubkeyId &subkey_fpr, std::unique_ptr< boost::posix_time::ptime > &expires)
Set the Expire object.
Definition: GpgKeyOpera.cpp:76
Definition: GpgContext.h:59
GpgFrontend::GpgError GenerateKey(const std::unique_ptr< GenKeyInfo > ¶ms, GpgGenKeyResult &result)
Definition: GpgKeyOpera.cpp:166
+GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
GpgFrontend::GpgError ModifyPassword(const GpgKey &key)
Definition: GpgKeyOpera.cpp:276
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:245
-GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:66
std::string GetKeySizeStr() const
Get the Key Size Str object.
Definition: GpgGenKeyInfo.cpp:154
bool IsSubKey() const
Definition: GpgGenKeyInfo.h:100
GpgKeyOpera(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Gpg Key Opera object.
Definition: GpgKeyOpera.cpp:44
void Execute(StringArgsRef arguments, const std::function< void(boost::process::async_pipe &in, boost::process::async_pipe &out)> &interact_func)
Excuting an order.
Definition: GpgCommandExecutor.cpp:41
GpgFrontend::GpgError ModifyTOFUPolicy(const GpgKey &key, gpgme_tofu_policy_t tofu_policy)
Definition: GpgKeyOpera.cpp:285
-GpgKey GetKey(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
std::string GetFingerprint() const
Definition: GpgKey.cpp:70
-GPGFRONTEND_CORE_EXPORT GpgEncrResult _new_result(gpgme_encrypt_result_t &&result)
Definition: GpgConstants.cpp:191
+GPGFRONTEND_CORE_EXPORT GpgEncrResult _new_result(gpgme_encrypt_result_t &&result)
Definition: GpgConstants.cpp:170
void DeleteKey(const KeyId &key_id)
Definition: GpgKeyOpera.cpp:295
void DeleteKeys(KeyIdArgsListPtr key_ids)
Definition: GpgKeyOpera.cpp:52
diff --git a/docs/html/GpgSignResultAnalyse_8h_source.html b/docs/html/GpgSignResultAnalyse_8h_source.html
index 2781de12..1d0f9266 100644
--- a/docs/html/GpgSignResultAnalyse_8h_source.html
+++ b/docs/html/GpgSignResultAnalyse_8h_source.html
@@ -114,11 +114,11 @@ $(document).ready(function(){initNavTree('GpgSignResultAnalyse_8h_source.html','
Definition: CoreCommonUtil.cpp:29
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
+GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
Definition: GpgResultAnalyse.h:37
GpgSignResultAnalyse(GpgError error, GpgSignResult result)
Construct a new Sign Result Analyse object.
Definition: GpgSignResultAnalyse.cpp:33
std::unique_ptr< std::vector< GpgUID > > GetUIDs() const
Definition: GpgKey.cpp:163
Definition: GpgSignResultAnalyse.h:40
-GpgKey GetKey(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
diff --git a/docs/html/GpgUIDOperator_8h_source.html b/docs/html/GpgUIDOperator_8h_source.html
index 59256c8d..37551c7c 100644
--- a/docs/html/GpgUIDOperator_8h_source.html
+++ b/docs/html/GpgUIDOperator_8h_source.html
@@ -123,14 +123,14 @@ $(document).ready(function(){initNavTree('GpgUIDOperator_8h_source.html',''); in
Definition: CoreCommonUtil.cpp:29
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
bool SetPrimaryUID(const GpgKey &key, const std::string &uid)
Definition: GpgUIDOperator.cpp:55
-GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
+GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:57
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:252
Definition: GpgContext.h:59
GpgUIDOperator(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Gpg UID Opera object.
Definition: GpgUIDOperator.cpp:33
bool RevUID(const GpgKey &key, const std::string &uid)
Definition: GpgUIDOperator.cpp:45
bool AddUID(const GpgKey &key, const std::string &uid)
Definition: GpgUIDOperator.cpp:36
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:245
-GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:66
Definition: GpgUIDOperator.h:40
diff --git a/docs/html/GpgVerifyResultAnalyse_8h_source.html b/docs/html/GpgVerifyResultAnalyse_8h_source.html
index 4a3b5869..cd412305 100644
--- a/docs/html/GpgVerifyResultAnalyse_8h_source.html
+++ b/docs/html/GpgVerifyResultAnalyse_8h_source.html
@@ -117,15 +117,15 @@ $(document).ready(function(){initNavTree('GpgVerifyResultAnalyse_8h_source.html'
88 #endif // GPGFRONTEND_GPGVERIFYRESULTANALYSE_H
-GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:85
+GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:87
GpgVerifyResultAnalyse(GpgError error, GpgVerifyResult result)
Construct a new Verify Result Analyse object.
Definition: GpgVerifyResultAnalyse.cpp:37
Definition: CoreCommonUtil.cpp:29
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
Definition: GpgVerifyResultAnalyse.h:40
+GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
Definition: GpgResultAnalyse.h:37
bool print_signer(std::stringstream &stream, gpgme_signature_t sign)
Definition: GpgVerifyResultAnalyse.cpp:175
gpgme_signature_t GetSignatures() const
Get the Signatures object.
Definition: GpgVerifyResultAnalyse.cpp:205
-GpgKey GetKey(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
GpgVerifyResult TakeChargeOfResult()
Definition: GpgVerifyResultAnalyse.cpp:212
diff --git a/docs/html/KeyImportDetailDialog_8h_source.html b/docs/html/KeyImportDetailDialog_8h_source.html
index c8ca0af8..5a412d15 100644
--- a/docs/html/KeyImportDetailDialog_8h_source.html
+++ b/docs/html/KeyImportDetailDialog_8h_source.html
@@ -131,10 +131,10 @@ $(document).ready(function(){initNavTree('KeyImportDetailDialog_8h_source.html',
Definition: KeyImportDetailDialog.h:42
bool IsGood() const
Definition: GpgKey.cpp:52
void create_keys_table()
Create a keys table object.
Definition: KeyImportDetailDialog.cpp:130
+
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
void create_button_box()
Create a button box object.
Definition: KeyImportDetailDialog.cpp:198
void create_general_info_box()
Create a general info box object.
Definition: KeyImportDetailDialog.cpp:76
-
GpgKey GetKey(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
std::string GetName() const
Definition: GpgKey.cpp:58
diff --git a/docs/html/KeyList_8h_source.html b/docs/html/KeyList_8h_source.html
index 338b6897..210f94e9 100644
--- a/docs/html/KeyList_8h_source.html
+++ b/docs/html/KeyList_8h_source.html
@@ -256,42 +256,42 @@ $(document).ready(function(){initNavTree('KeyList_8h_source.html',''); initResiz
KeyList(KeyMenuAbility::AbilityType menu_ability, QWidget *parent=nullptr)
Construct a new Key List object.
Definition: KeyList.cpp:44
KeyTable(QTableWidget *_key_list, KeyListRow::KeyType _select_type, KeyListColumn::InfoType _info_type, std::function< bool(const GpgKey &)> _filter=[](const GpgKey &) -> bool { return true;})
Construct a new Key Table object.
Definition: KeyList.h:103
void SyncSettings() noexcept
sync the settings to the file
Definition: GlobalSettingStation.cpp:33
-
void dragEnterEvent(QDragEnterEvent *event) override
Definition: KeyList.cpp:372
-
void SetColumnWidth(int row, int size)
Set the Column Width object.
Definition: KeyList.cpp:280
+
void dragEnterEvent(QDragEnterEvent *event) override
Definition: KeyList.cpp:375
+
void SetColumnWidth(int row, int size)
Set the Column Width object.
Definition: KeyList.cpp:283
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
-
std::string GetSelectedKey()
Get the Selected Key object.
Definition: KeyList.cpp:406
+
std::string GetSelectedKey()
Get the Selected Key object.
Definition: KeyList.cpp:409
-
void dropEvent(QDropEvent *event) override
Definition: KeyList.cpp:300
+
void dropEvent(QDropEvent *event) override
Definition: KeyList.cpp:303
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
void SetChecked(KeyIdArgsListPtr key_ids)
Set the Checked object.
Definition: KeyList.cpp:237
-
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:96
-
void SetChecked(KeyIdArgsListPtr key_ids)
Set the Checked object.
Definition: KeyList.cpp:511
-
void slot_double_clicked(const QModelIndex &index)
Definition: KeyList.cpp:390
+
void SetChecked(KeyIdArgsListPtr key_ids)
Set the Checked object.
Definition: KeyList.cpp:240
+
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:99
+
void SetChecked(KeyIdArgsListPtr key_ids)
Set the Checked object.
Definition: KeyList.cpp:514
+
void slot_double_clicked(const QModelIndex &index)
Definition: KeyList.cpp:393
-
KeyIdArgsListPtr GetAllPrivateKeys()
Get the All Private Keys object.
Definition: KeyList.cpp:193
-
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:179
-
void Refresh(KeyLinkListPtr m_keys=nullptr)
Definition: KeyList.cpp:516
-
KeyLinkListPtr FetchKey()
Get all the keys by receiving a linked list.
Definition: GpgKeyGetter.cpp:87
-
void AddMenuAction(QAction *act)
Definition: KeyList.cpp:298
-
void import_keys(const QByteArray &inBuffer)
Definition: KeyList.cpp:383
+
KeyIdArgsListPtr GetAllPrivateKeys()
Get the All Private Keys object.
Definition: KeyList.cpp:196
+
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:182
+
void Refresh(KeyLinkListPtr m_keys=nullptr)
Definition: KeyList.cpp:519
+
KeyLinkListPtr FetchKey()
Get all the keys by receiving a linked list.
Definition: GpgKeyGetter.cpp:82
+
void AddMenuAction(QAction *act)
Definition: KeyList.cpp:301
+
void import_keys(const QByteArray &inBuffer)
Definition: KeyList.cpp:386
Definition: KeyImportDetailDialog.h:42
-
KeyIdArgsListPtr & GetChecked()
Get the Checked object.
Definition: KeyList.cpp:496
-
bool ContainsPrivateKeys()
Definition: KeyList.cpp:268
-
KeyIdArgsListPtr GetSelected()
Get the Selected object.
Definition: KeyList.cpp:251
-
KeyIdArgsListPtr GetPrivateChecked()
Get the Private Checked object.
Definition: KeyList.cpp:207
-
void SetDoubleClickedAction(std::function< void(const GpgKey &, QWidget *)> action)
Set the Double Clicked Action object.
Definition: KeyList.cpp:401
+
KeyIdArgsListPtr & GetChecked()
Get the Checked object.
Definition: KeyList.cpp:499
+
bool ContainsPrivateKeys()
Definition: KeyList.cpp:271
+
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
+
KeyIdArgsListPtr GetSelected()
Get the Selected object.
Definition: KeyList.cpp:254
+
KeyIdArgsListPtr GetPrivateChecked()
Get the Private Checked object.
Definition: KeyList.cpp:210
+
void SetDoubleClickedAction(std::function< void(const GpgKey &, QWidget *)> action)
Set the Double Clicked Action object.
Definition: KeyList.cpp:404
void SlotImportKeyFromKeyServer(QWidget *parent)
Definition: UserInterfaceUtils.cpp:188
Definition: KeyList.h:152
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
void SignalRefreshStatusBar(const QString &message, int timeout)
GpgImportInformation ImportKey(StdBypeArrayPtr inBuffer)
Definition: GpgKeyImportExporter.cpp:42
-
static void MarkKeys(QStringList *keyIds)
Definition: KeyList.cpp:379
+
static void MarkKeys(QStringList *keyIds)
Definition: KeyList.cpp:382
std::unique_ptr< std::vector< GpgUID > > GetUIDs() const
Definition: GpgKey.cpp:163
-
void contextMenuEvent(QContextMenuEvent *event) override
Definition: KeyList.cpp:287
-
GpgKey GetKey(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
+
void contextMenuEvent(QContextMenuEvent *event) override
Definition: KeyList.cpp:290
void SignalRefreshStatusBar(const QString &message, int timeout)
diff --git a/docs/html/KeyMgmt_8h_source.html b/docs/html/KeyMgmt_8h_source.html
index 35c29c49..fbb09c3d 100644
--- a/docs/html/KeyMgmt_8h_source.html
+++ b/docs/html/KeyMgmt_8h_source.html
@@ -178,22 +178,23 @@ $(document).ready(function(){initNavTree('KeyMgmt_8h_source.html',''); initResiz
void create_menus()
Create a menus object.
Definition: KeyMgmt.cpp:265
void create_actions()
Create a actions object.
Definition: KeyMgmt.cpp:169
static bool ImportKeyPackage(const std::filesystem::path &key_package_path, const std::filesystem::path &phrase_path, GpgFrontend::GpgImportInformation &import_info)
import key package
Definition: KeyPackageOperator.cpp:71
-
GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &path, const std::string &out_buffer)
Definition: GpgConstants.cpp:135
+
GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &path, const std::string &out_buffer)
Definition: GpgConstants.cpp:125
void SyncSettings() noexcept
sync the settings to the file
Definition: GlobalSettingStation.cpp:33
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:96
+
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:99
void closeEvent(QCloseEvent *event) override
Definition: KeyMgmt.cpp:409
-
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:179
+
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:182
-
void AddMenuAction(QAction *act)
Definition: KeyList.cpp:298
+
void AddMenuAction(QAction *act)
Definition: KeyList.cpp:301
Definition: KeyServerImportDialog.h:43
Definition: KeyDetailsDialog.h:37
-
KeyIdArgsListPtr GetSelected()
Get the Selected object.
Definition: KeyList.cpp:251
+
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
+
KeyIdArgsListPtr GetSelected()
Get the Selected object.
Definition: KeyList.cpp:254
void SlotImportKeyFromFile(QWidget *parent)
Definition: UserInterfaceUtils.cpp:172
void create_tool_bars()
Create a tool bars object.
Definition: KeyMgmt.cpp:288
bool IsPrivateKey() const
Definition: GpgKey.cpp:140
-
void SetDoubleClickedAction(std::function< void(const GpgKey &, QWidget *)> action)
Set the Double Clicked Action object.
Definition: KeyList.cpp:401
+
void SetDoubleClickedAction(std::function< void(const GpgKey &, QWidget *)> action)
Set the Double Clicked Action object.
Definition: KeyList.cpp:404
void delete_keys_with_warning(GpgFrontend::KeyIdArgsListPtr uidList)
Definition: KeyMgmt.cpp:328
void SlotImportKeyFromKeyServer(QWidget *parent)
Definition: UserInterfaceUtils.cpp:188
Definition: KeyList.h:152
@@ -204,7 +205,6 @@ $(document).ready(function(){initNavTree('KeyMgmt_8h_source.html',''); initResiz
bool IsDisabled() const
Definition: GpgKey.cpp:146
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
static CommonUtils * GetInstance()
Get the Instance object.
Definition: UserInterfaceUtils.cpp:127
-
GpgKey GetKey(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
void DeleteKeys(KeyIdArgsListPtr key_ids)
Definition: GpgKeyOpera.cpp:52
void SignalRefreshStatusBar(const QString &message, int timeout)
diff --git a/docs/html/KeyPairDetailTab_8h_source.html b/docs/html/KeyPairDetailTab_8h_source.html
index 5e41b137..11f2a2f4 100644
--- a/docs/html/KeyPairDetailTab_8h_source.html
+++ b/docs/html/KeyPairDetailTab_8h_source.html
@@ -144,7 +144,7 @@ $(document).ready(function(){initNavTree('KeyPairDetailTab_8h_source.html','');
99 #endif // GPGFRONTEND_KEYPAIRDETAILTAB_H
-GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:85
+GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:87
QLabel * expire_var_label_
Label containing the keys expiration date.
Definition: KeyPairDetailTab.h:73
Definition: VerifyDetailsDialog.cpp:33
QGroupBox * fingerprint_box_
Groupbox containing fingerprint information.
Definition: KeyPairDetailTab.h:65
@@ -167,6 +167,7 @@ $(document).ready(function(){initNavTree('KeyPairDetailTab_8h_source.html','');
boost::posix_time::ptime GetCreateTime() const
Create a time object.
Definition: GpgKey.cpp:109
KeyPairDetailTab(const std::string &key_id, QWidget *parent=nullptr)
Construct a new Key Pair Detail Tab object.
Definition: KeyPairDetailTab.cpp:35
bool IsHasActualEncryptionCapability() const
Definition: GpgKey.cpp:216
+GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
bool IsHasActualSigningCapability() const
Definition: GpgKey.cpp:174
bool IsHasActualAuthenticationCapability() const
Definition: GpgKey.cpp:188
bool IsPrivateKey() const
Definition: GpgKey.cpp:140
@@ -186,7 +187,6 @@ $(document).ready(function(){initNavTree('KeyPairDetailTab_8h_source.html','');
bool IsHasCertificationCapability() const
Definition: GpgKey.cpp:125
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
boost::posix_time::ptime GetLastUpdateTime() const
Definition: GpgKey.cpp:100
-GpgKey GetKey(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
std::string GetFingerprint() const
Definition: GpgKey.cpp:70
std::string GetName() const
Definition: GpgKey.cpp:58
diff --git a/docs/html/KeyPairOperaTab_8h_source.html b/docs/html/KeyPairOperaTab_8h_source.html
index 77d3952a..5700443f 100644
--- a/docs/html/KeyPairOperaTab_8h_source.html
+++ b/docs/html/KeyPairOperaTab_8h_source.html
@@ -134,17 +134,17 @@ $(document).ready(function(){initNavTree('KeyPairOperaTab_8h_source.html',''); i
Definition: VerifyDetailsDialog.cpp:33
Definition: KeySetExpireDateDialog.h:41
std::string GetId() const
Definition: GpgKey.cpp:54
-GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &path, const std::string &out_buffer)
Definition: GpgConstants.cpp:135
+GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &path, const std::string &out_buffer)
Definition: GpgConstants.cpp:125
void CreateOperaMenu()
Create a Opera Menu object.
Definition: KeyPairOperaTab.cpp:103
static GpgKeyImportExporter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
-void slot_export_private_key()
Definition: KeyPairOperaTab.cpp:210
+void slot_export_private_key()
Definition: KeyPairOperaTab.cpp:217
Definition: GpgKeyGetter.h:45
std::string GetEmail() const
Definition: GpgKey.cpp:62
KeyPairOperaTab(const std::string &key_id, QWidget *parent)
Construct a new Key Pair Opera Tab object.
Definition: KeyPairOperaTab.cpp:38
GpgFrontend::GpgError ModifyPassword(const GpgKey &key)
Definition: GpgKeyOpera.cpp:276
bool IsPrivateKey() const
Definition: GpgKey.cpp:140
Definition: KeyPairOperaTab.h:34
-GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:66
void SlotExecuteGpgCommand(const QStringList &arguments, const std::function< void(QProcess *)> &interact_func)
Definition: UserInterfaceUtils.cpp:199
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
static CommonUtils * GetInstance()
Get the Instance object.
Definition: UserInterfaceUtils.cpp:127
diff --git a/docs/html/KeyPairSubkeyTab_8h_source.html b/docs/html/KeyPairSubkeyTab_8h_source.html
index 34df2ea0..899a778c 100644
--- a/docs/html/KeyPairSubkeyTab_8h_source.html
+++ b/docs/html/KeyPairSubkeyTab_8h_source.html
@@ -166,6 +166,7 @@ $(document).ready(function(){initNavTree('KeyPairSubkeyTab_8h_source.html','');
std::unique_ptr< std::vector< GpgSubKey > > GetSubKeys() const
Definition: GpgKey.cpp:153
void create_subkey_list()
Create a subkey list object.
Definition: KeyPairSubkeyTab.cpp:141
QLabel * key_size_var_label_
Label containing the keys key size.
Definition: KeyPairSubkeyTab.h:80
+GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
std::string GetFingerprint() const
Definition: GpgSubKey.cpp:51
bool IsPrivateKey() const
Definition: GpgKey.cpp:140
KeyPairSubkeyTab(const std::string &key, QWidget *parent)
Construct a new Key Pair Subkey Tab object.
Definition: KeyPairSubkeyTab.cpp:36
@@ -176,7 +177,6 @@ $(document).ready(function(){initNavTree('KeyPairSubkeyTab_8h_source.html','');
QLabel * fingerprint_var_label_
Label containing the keys fingerprint.
Definition: KeyPairSubkeyTab.h:85
const GpgSubKey & get_selected_subkey()
Get the selected subkey object.
Definition: KeyPairSubkeyTab.cpp:324
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
-GpgKey GetKey(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
diff --git a/docs/html/KeyPairUIDTab_8h_source.html b/docs/html/KeyPairUIDTab_8h_source.html
index ede7e42e..ba9fee22 100644
--- a/docs/html/KeyPairUIDTab_8h_source.html
+++ b/docs/html/KeyPairUIDTab_8h_source.html
@@ -180,6 +180,7 @@ $(document).ready(function(){initNavTree('KeyPairUIDTab_8h_source.html',''); ini
Definition: KeyPairUIDTab.h:39
static void slot_add_uid_result(int result)
Definition: KeyPairUIDTab.cpp:348
void create_sign_list()
Create a sign list object.
Definition: KeyPairUIDTab.cpp:142
+
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
void create_uid_popup_menu()
Create a uid popup menu object.
Definition: KeyPairUIDTab.cpp:452
void create_uid_list()
Create a uid list object.
Definition: KeyPairUIDTab.cpp:118
UIDArgsListPtr get_uid_checked()
Get the uid checked object.
Definition: KeyPairUIDTab.cpp:316
@@ -188,7 +189,6 @@ $(document).ready(function(){initNavTree('KeyPairUIDTab_8h_source.html',''); ini
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
std::unique_ptr< std::vector< GpgUID > > GetUIDs() const
Definition: GpgKey.cpp:163
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
-
GpgKey GetKey(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
Definition: KeyNewUIDDialog.h:34
diff --git a/docs/html/KeySetExpireDateDialog_8h_source.html b/docs/html/KeySetExpireDateDialog_8h_source.html
index 902bcc95..fba009f3 100644
--- a/docs/html/KeySetExpireDateDialog_8h_source.html
+++ b/docs/html/KeySetExpireDateDialog_8h_source.html
@@ -139,7 +139,7 @@ $(document).ready(function(){initNavTree('KeySetExpireDateDialog_8h_source.html'
GpgError SetExpire(const GpgKey &key, const SubkeyId &subkey_fpr, std::unique_ptr< boost::posix_time::ptime > &expires)
Set the Expire object.
Definition: GpgKeyOpera.cpp:76
KeySetExpireDateDialog(const KeyId &key_id, QWidget *parent=nullptr)
Construct a new Key Set Expire Date Dialog object.
Definition: KeySetExpireDateDialog.cpp:41
boost::posix_time::ptime GetExpireTime() const
Definition: GpgKey.cpp:105
-
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:66
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
diff --git a/docs/html/KeyUIDSignDialog_8h_source.html b/docs/html/KeyUIDSignDialog_8h_source.html
index 4986c47c..de60c4e1 100644
--- a/docs/html/KeyUIDSignDialog_8h_source.html
+++ b/docs/html/KeyUIDSignDialog_8h_source.html
@@ -128,8 +128,8 @@ $(document).ready(function(){initNavTree('KeyUIDSignDialog_8h_source.html','');
std::string GetId() const
Definition: GpgKey.cpp:54
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
KeyUIDSignDialog(const GpgKey &key, UIDArgsListPtr uid, QWidget *parent=nullptr)
Construct a new Key U I D Sign Dialog object.
Definition: KeyUIDSignDialog.cpp:35
-
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:96
-
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:179
+
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:99
+
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:182
Definition: KeyUIDSignDialog.h:36
void slot_sign_key(bool clicked)
Definition: KeyUIDSignDialog.cpp:104
Definition: KeyList.h:152
@@ -137,7 +137,7 @@ $(document).ready(function(){initNavTree('KeyUIDSignDialog_8h_source.html','');
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
bool IsRevoked() const
Definition: GpgKey.cpp:144
bool IsDisabled() const
Definition: GpgKey.cpp:146
-
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:143
+
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:147
bool IsHasCertificationCapability() const
Definition: GpgKey.cpp:125
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
diff --git a/docs/html/MainWindow_8h_source.html b/docs/html/MainWindow_8h_source.html
index 72ac5dc3..f0a7cab5 100644
--- a/docs/html/MainWindow_8h_source.html
+++ b/docs/html/MainWindow_8h_source.html
@@ -333,7 +333,7 @@ $(document).ready(function(){initNavTree('MainWindow_8h_source.html',''); initRe
QMenu * view_menu_
Submenu for view operations.
Definition: MainWindow.h:331
Definition: SoftwareVersion.h:39
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
void SetChecked(KeyIdArgsListPtr key_ids)
Set the Checked object.
Definition: KeyList.cpp:237
+
void SetChecked(KeyIdArgsListPtr key_ids)
Set the Checked object.
Definition: KeyList.cpp:240
QMenu * file_menu_
Submenu for file-operations.
Definition: MainWindow.h:326
QAction * sign_act_
Action to sign text.
Definition: MainWindow.h:364
void slot_append_selected_keys()
Definition: MainWindowSlotFunction.cpp:449
@@ -348,7 +348,7 @@ $(document).ready(function(){initNavTree('MainWindow_8h_source.html',''); initRe
void slot_start_wizard()
Definition: MainWindowSlotUI.cpp:40
void create_dock_windows()
Definition: MainWindowUI.cpp:445
QAction * copy_mail_address_to_clipboard_act_
Definition: MainWindow.h:372
-
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:179
+
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:182
QAction * switch_tab_up_act_
Action to switch tab up.
Definition: MainWindow.h:351
void SlotSetRestartNeeded(bool needed)
Definition: MainWindowSlotUI.cpp:185
void slot_clean_double_line_breaks()
Definition: MainWindowSlotUI.cpp:137
@@ -360,7 +360,7 @@ $(document).ready(function(){initNavTree('MainWindow_8h_source.html',''); initRe
QDockWidget * attachment_dock_
Attachment Dock.
Definition: MainWindow.h:347
QAction * paste_act_
Action to paste text.
Definition: MainWindow.h:378
void slot_encrypt()
Definition: MainWindowSlotFunction.cpp:42
-
void AddMenuAction(QAction *act)
Definition: KeyList.cpp:298
+
void AddMenuAction(QAction *act)
Definition: KeyList.cpp:301
QToolBar * crypt_tool_bar_
Toolbar holding crypt actions.
Definition: MainWindow.h:338
QMenu * steganography_menu_
Submenu for steganography operations.
Definition: MainWindow.h:337
nlohmann::json & Check(const std::string &key, const nlohmann::json &default_value)
Definition: SettingsObject.cpp:31
diff --git a/docs/html/SettingsAdvanced_8h_source.html b/docs/html/SettingsAdvanced_8h_source.html
index deb2ed8c..24a837f8 100644
--- a/docs/html/SettingsAdvanced_8h_source.html
+++ b/docs/html/SettingsAdvanced_8h_source.html
@@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
PlainTextEditorPage * SlotCurPageTextEdit() const
Definition: TextEdit.cpp:394
QAction * sign_act_
Action to sign text.
Definition: MainWindow.h:364
void SlotRedo() const
redo last change in current text page
Definition: TextEdit.cpp:565
-
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:96
+
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:99
void slot_append_selected_keys()
Definition: MainWindowSlotFunction.cpp:449
void process_operation(QWidget *parent, const std::string &waiting_title, const std::function< void()> &func)
Definition: UserInterfaceUtils.cpp:112
QAction * verify_act_
Action to verify text.
Definition: MainWindow.h:365
@@ -175,7 +175,7 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
gpgme_error_t Verify(BypeArrayRef in_buffer, ByteArrayPtr &sig_buffer, GpgVerifyResult &result) const
Call the interface provided by gpgme for verification operation.
Definition: GpgBasicOperator.cpp:81
QAction * copy_mail_address_to_clipboard_act_
Definition: MainWindow.h:372
gpg_error_t Sign(KeyListPtr signers, BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, gpgme_sig_mode_t mode, GpgSignResult &result)
Call the interface provided by gpgme for signing operation.
Definition: GpgBasicOperator.cpp:101
-
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:179
+
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:182
QAction * switch_tab_up_act_
Action to switch tab up.
Definition: MainWindow.h:351
void SlotSetRestartNeeded(bool needed)
Definition: MainWindowSlotUI.cpp:185
void slot_clean_double_line_breaks()
Definition: MainWindowSlotUI.cpp:137
@@ -208,16 +208,17 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
bool SlotSaveAs()
Definition: TextEdit.cpp:219
void slot_copy_mail_address_to_clipboard()
Definition: MainWindowSlotFunction.cpp:462
void SlotSwitchTabUp() const
Definition: TextEdit.cpp:494
+
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
QAction * switch_tab_down_act_
Action to switch tab down.
Definition: MainWindow.h:352
void SlotPrint()
Definition: TextEdit.cpp:460
The SettingsObject class This class is used to store settings for the application securely.
Definition: SettingsObject.h:43
void SlotUndo() const
Definition: TextEdit.cpp:557
void SlotFileSign()
Definition: MainWindowFileSlotFunction.cpp:355
-
KeyIdArgsListPtr GetSelected()
Get the Selected object.
Definition: KeyList.cpp:251
+
KeyIdArgsListPtr GetSelected()
Get the Selected object.
Definition: KeyList.cpp:254
void SlotImportKeyFromFile(QWidget *parent)
Definition: UserInterfaceUtils.cpp:172
QAction * append_selected_keys_act_
Action to append selected keys to edit.
Definition: MainWindow.h:371
QAction * check_update_act_
Action to open about dialog.
Definition: MainWindow.h:386
-
KeyIdArgsListPtr GetPrivateChecked()
Get the Private Checked object.
Definition: KeyList.cpp:207
+
KeyIdArgsListPtr GetPrivateChecked()
Get the Private Checked object.
Definition: KeyList.cpp:210
Definition: SignersPicker.h:42
Definition: GpgEncryptResultAnalyse.h:40
void create_tool_bars()
Definition: MainWindowUI.cpp:380
@@ -239,7 +240,7 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
void SlotFileVerify()
Definition: MainWindowFileSlotFunction.cpp:447
void slot_disable_tab_actions(int number)
Definition: MainWindowSlotUI.cpp:60
void SlotImportKeyFromKeyServer(QWidget *parent)
Definition: UserInterfaceUtils.cpp:188
-
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:66
void SlotSave()
Definition: TextEdit.cpp:148
static GpgError DecryptVerifyFile(const std::string &in_path, const std::string &out_path, GpgDecrResult &decr_res, GpgVerifyResult &verify_res)
Definition: GpgFileOpera.cpp:197
bool get_restart_needed() const
return true, if restart is needed
Definition: MainWindowSlotUI.cpp:189
@@ -257,7 +258,7 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
void slot_find()
Definition: MainWindowSlotFunction.cpp:225
QMenu * key_menu_
Submenu for key-operations.
Definition: MainWindow.h:330
QAction * import_key_from_edit_act_
Action to import key from edit.
Definition: MainWindow.h:366
-
QString GetSelected() const
Get the Selected object.
Definition: FilePage.cpp:184
+
QString GetSelected() const
Get the Selected object.
Definition: FilePage.cpp:187
static GpgError DecryptFile(const std::string &in_path, const std::string &out_path, GpgDecrResult &result)
Definition: GpgFileOpera.cpp:71
int TabCount() const
Definition: TextEdit.cpp:392
QAction * select_all_act_
Action to select whole text.
Definition: MainWindow.h:379
@@ -280,7 +281,7 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
bool IsDisabled() const
Definition: GpgKey.cpp:146
void SlotFileDecrypt()
Definition: MainWindowFileSlotFunction.cpp:283
TextEdit * edit_
Tabwidget holding the edit-windows.
Definition: MainWindow.h:325
-
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:143
+
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:147
QAction * open_settings_act_
Action to open settings dialog.
Definition: MainWindow.h:388
void slot_add_pgp_header()
Definition: MainWindowSlotUI.cpp:147
Definition: GpgSignResultAnalyse.h:40
@@ -290,7 +291,6 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
static CommonUtils * GetInstance()
Get the Instance object.
Definition: UserInterfaceUtils.cpp:127
Definition: GpgDecryptResultAnalyse.h:41
QToolBar * edit_tool_bar_
Toolbar holding edit actions.
Definition: MainWindow.h:340
-
GpgKey GetKey(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
void SlotSwitchTabDown() const
Definition: TextEdit.cpp:501
QAction * show_key_details_act_
Action to open key-details dialog.
Definition: MainWindow.h:389
gpg_error_t Encrypt(KeyListPtr keys, BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgEncrResult &result)
Call the interface provided by gpgme for encryption operation.
Definition: GpgBasicOperator.cpp:38
diff --git a/docs/html/SignersPicker_8h_source.html b/docs/html/SignersPicker_8h_source.html
index 5be807a4..58d7857c 100644
--- a/docs/html/SignersPicker_8h_source.html
+++ b/docs/html/SignersPicker_8h_source.html
@@ -114,9 +114,9 @@ $(document).ready(function(){initNavTree('SignersPicker_8h_source.html',''); ini
Definition: VerifyDetailsDialog.cpp:33
-void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:96
+void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:99
GpgFrontend::KeyIdArgsListPtr GetCheckedSigners()
Get the Checked Signers object.
Definition: SignersPicker.cpp:70
-KeyIdArgsListPtr GetPrivateChecked()
Get the Private Checked object.
Definition: KeyList.cpp:207
+KeyIdArgsListPtr GetPrivateChecked()
Get the Private Checked object.
Definition: KeyList.cpp:210
Definition: SignersPicker.h:42
bool IsHasActualSigningCapability() const
Definition: GpgKey.cpp:174
Definition: KeyList.h:152
diff --git a/docs/html/SubkeyGenerateDialog_8h_source.html b/docs/html/SubkeyGenerateDialog_8h_source.html
index cd7d9b6b..a5b4d1e3 100644
--- a/docs/html/SubkeyGenerateDialog_8h_source.html
+++ b/docs/html/SubkeyGenerateDialog_8h_source.html
@@ -172,7 +172,7 @@ $(document).ready(function(){initNavTree('SubkeyGenerateDialog_8h_source.html','
Definition: SubkeyGenerateDialog.h:39
void slot_activated_key_type(int index)
Definition: SubkeyGenerateDialog.cpp:336
void slot_key_gen_accept()
Definition: SubkeyGenerateDialog.cpp:238
-GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:66
QComboBox * key_type_combo_box_
Combobox for Key tpe.
Definition: SubkeyGenerateDialog.h:68
void slot_authentication_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:328
static const std::vector< std::string > & GetSupportedKeyAlgo()
Get the Supported Key Algo object.
Definition: GpgGenKeyInfo.cpp:200
diff --git a/docs/html/UserInterfaceUtils_8h_source.html b/docs/html/UserInterfaceUtils_8h_source.html
index 58bd9def..af9012a9 100644
--- a/docs/html/UserInterfaceUtils_8h_source.html
+++ b/docs/html/UserInterfaceUtils_8h_source.html
@@ -191,7 +191,7 @@ $(document).ready(function(){initNavTree('UserInterfaceUtils_8h_source.html','')
TextEdit class.
Definition: TextEdit.h:41
Definition: GpgVerifyResultAnalyse.h:40
Definition: KeyServerImportDialog.h:43
-void FlushKeyCache()
flush the keys in the cache
Definition: GpgKeyGetter.cpp:106
+void FlushKeyCache()
flush the keys in the cache
Definition: GpgKeyGetter.cpp:101
Definition: KeyImportDetailDialog.h:42
void slot_update_key_status()
update the key status when signal is emitted
Definition: UserInterfaceUtils.cpp:331
diff --git a/docs/html/VerifyKeyDetailBox_8h_source.html b/docs/html/VerifyKeyDetailBox_8h_source.html
index 111adc64..a9f6f668 100644
--- a/docs/html/VerifyKeyDetailBox_8h_source.html
+++ b/docs/html/VerifyKeyDetailBox_8h_source.html
@@ -114,7 +114,7 @@ $(document).ready(function(){initNavTree('VerifyKeyDetailBox_8h_source.html','')
73 #endif // __VERIFYKEYDETAILBOX_H__
-GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:85
+GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:87
Definition: VerifyDetailsDialog.cpp:33
std::string GetFingerprint() const
Definition: GpgSignature.cpp:116
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
@@ -125,8 +125,8 @@ $(document).ready(function(){initNavTree('VerifyKeyDetailBox_8h_source.html','')
gpgme_error_t GetStatus() const
Definition: GpgSignature.cpp:62
bool IsGood() const
Definition: GpgKey.cpp:52
gpgme_error_t GetSummary() const
Definition: GpgSignature.cpp:71
+GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
Definition: VerifyKeyDetailBox.h:40
-GpgKey GetKey(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
std::string GetName() const
Definition: GpgKey.cpp:58
QGridLayout * create_key_info_grid(const GpgSignature &signature)
Create a key info grid object.
Definition: VerifyKeyDetailBox.cpp:166
diff --git a/docs/html/classGpgFrontend_1_1ChannelObject.html b/docs/html/classGpgFrontend_1_1ChannelObject.html
index 24bc6365..ae741803 100644
--- a/docs/html/classGpgFrontend_1_1ChannelObject.html
+++ b/docs/html/classGpgFrontend_1_1ChannelObject.html
@@ -122,7 +122,7 @@ Inheritance diagram for GpgFrontend::ChannelObject:
-
+
diff --git a/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.map b/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.map
index a1ee78ed..1d310521 100644
--- a/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.map
+++ b/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.map
@@ -19,7 +19,7 @@
-
+
diff --git a/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.md5
index 52d6ee4b..2f03f451 100644
--- a/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.md5
+++ b/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.md5
@@ -1 +1 @@
-b54c039b6b64c8372b30948f6487fd63
\ No newline at end of file
+859ce943a8cab88aadef2eaccc278411
\ No newline at end of file
diff --git a/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.png b/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.png
index 90fa59ca..cb4ee912 100644
Binary files a/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.png and b/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.png differ
diff --git a/docs/html/classGpgFrontend_1_1GpgDecryptResultAnalyse.html b/docs/html/classGpgFrontend_1_1GpgDecryptResultAnalyse.html
index 949a26cc..8ccce7a4 100644
--- a/docs/html/classGpgFrontend_1_1GpgDecryptResultAnalyse.html
+++ b/docs/html/classGpgFrontend_1_1GpgDecryptResultAnalyse.html
@@ -272,7 +272,7 @@ bool analysed_ = false
- References GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::GpgKeyGetter::GetKey(), and GpgFrontend::GpgKey::GetName().
+References GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::GpgKeyGetter::GetKey(), and GpgFrontend::GpgKey::GetName().
diff --git a/docs/html/classGpgFrontend_1_1GpgKeyGetter-members.html b/docs/html/classGpgFrontend_1_1GpgKeyGetter-members.html
index 11ee6f9e..d152c680 100644
--- a/docs/html/classGpgFrontend_1_1GpgKeyGetter-members.html
+++ b/docs/html/classGpgFrontend_1_1GpgKeyGetter-members.html
@@ -94,33 +94,34 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1GpgKeyGetter.html'
| ChannelObject() noexcept | GpgFrontend::ChannelObject | |
ChannelObject(int channel) | GpgFrontend::ChannelObject | |
CreateInstance(int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory) | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | inlinestatic |
- ctx_ (defined in GpgFrontend::GpgKeyGetter) | GpgFrontend::GpgKeyGetter | private |
+ ctx_ | GpgFrontend::GpgKeyGetter | private |
ctx_mutex_ | GpgFrontend::GpgKeyGetter | mutableprivate |
FetchKey() | GpgFrontend::GpgKeyGetter | |
FlushKeyCache() | GpgFrontend::GpgKeyGetter | |
- GetAllChannelId() | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | inlinestatic |
- GetChannel() const | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | inline |
- GpgFrontend::ChannelObject::GetChannel() const | GpgFrontend::ChannelObject | |
- GetDefaultChannel() | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | inlinestatic |
- GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL) | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | inlinestatic |
- GetKey(const std::string &id) | GpgFrontend::GpgKeyGetter | |
- GetKeys(const KeyIdArgsListPtr &ids) | GpgFrontend::GpgKeyGetter | |
- GetKeysCopy(const KeyListPtr &keys) | GpgFrontend::GpgKeyGetter | |
- GetKeysCopy(const KeyLinkListPtr &keys) | GpgFrontend::GpgKeyGetter | |
- GetPubkey(const std::string &id) | GpgFrontend::GpgKeyGetter | |
- GpgKeyGetter(int channel=SingletonFunctionObject::GetDefaultChannel()) | GpgFrontend::GpgKeyGetter | explicit |
- keys_cache_ | GpgFrontend::GpgKeyGetter | private |
- keys_cache_mutex_ | GpgFrontend::GpgKeyGetter | mutableprivate |
- operator=(const SingletonFunctionObject< GpgKeyGetter > &)=delete | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | |
- operator=(const GpgKeyGetter &)=delete (defined in GpgFrontend::SingletonFunctionObject< GpgKeyGetter >) | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | |
- ReleaseChannel(int channel) | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | inlinestatic |
- SetChannel(int channel) | GpgFrontend::ChannelObject | |
- SingletonFunctionObject(const SingletonFunctionObject< GpgKeyGetter > &)=delete | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | |
- SingletonFunctionObject(GpgKeyGetter &&)=delete | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | |
- SingletonFunctionObject(const GpgKeyGetter &)=delete | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | |
- SingletonFunctionObject()=default | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | protected |
- SingletonFunctionObject(int channel) | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | inlineexplicitprotected |
- ~SingletonFunctionObject()=default | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | protectedvirtual |
+ get_key_in_cache(const std::string &id) | GpgFrontend::GpgKeyGetter | private |
+ GetAllChannelId() | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | inlinestatic |
+ GetChannel() const | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | inline |
+ GpgFrontend::ChannelObject::GetChannel() const | GpgFrontend::ChannelObject | |
+ GetDefaultChannel() | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | inlinestatic |
+ GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL) | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | inlinestatic |
+ GetKey(const std::string &id, bool use_cache=true) | GpgFrontend::GpgKeyGetter | |
+ GetKeys(const KeyIdArgsListPtr &ids) | GpgFrontend::GpgKeyGetter | |
+ GetKeysCopy(const KeyListPtr &keys) | GpgFrontend::GpgKeyGetter | |
+ GetKeysCopy(const KeyLinkListPtr &keys) | GpgFrontend::GpgKeyGetter | |
+ GetPubkey(const std::string &id, bool use_cache=true) | GpgFrontend::GpgKeyGetter | |
+ GpgKeyGetter(int channel=SingletonFunctionObject::GetDefaultChannel()) | GpgFrontend::GpgKeyGetter | explicit |
+ keys_cache_ | GpgFrontend::GpgKeyGetter | private |
+ keys_cache_mutex_ | GpgFrontend::GpgKeyGetter | mutableprivate |
+ operator=(const SingletonFunctionObject< GpgKeyGetter > &)=delete | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | |
+ operator=(const GpgKeyGetter &)=delete (defined in GpgFrontend::SingletonFunctionObject< GpgKeyGetter >) | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | |
+ ReleaseChannel(int channel) | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | inlinestatic |
+ SetChannel(int channel) | GpgFrontend::ChannelObject | |
+ SingletonFunctionObject(const SingletonFunctionObject< GpgKeyGetter > &)=delete | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | |
+ SingletonFunctionObject(GpgKeyGetter &&)=delete | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | |
+ SingletonFunctionObject(const GpgKeyGetter &)=delete | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | |
+ SingletonFunctionObject()=default | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | protected |
+ SingletonFunctionObject(int channel) | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | inlineexplicitprotected |
+ ~SingletonFunctionObject()=default | GpgFrontend::SingletonFunctionObject< GpgKeyGetter > | protectedvirtual |
diff --git a/docs/html/classGpgFrontend_1_1GpgKeyGetter.html b/docs/html/classGpgFrontend_1_1GpgKeyGetter.html
index 099d38cc..77db3501 100644
--- a/docs/html/classGpgFrontend_1_1GpgKeyGetter.html
+++ b/docs/html/classGpgFrontend_1_1GpgKeyGetter.html
@@ -84,6 +84,7 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1GpgKeyGetter.html'
-
-◆ GetPubkey()
+
+◆ GetPubkey()
@@ -443,8 +496,18 @@ Additional Inherited Members
GpgFrontend::GpgKey GpgFrontend::GpgKeyGetter::GetPubkey |
( |
const std::string & |
-
id | ) |
+
id, |
+
+
+ |
|
+ bool |
+ use_cache = true |
+
+
+ |
+ ) |
+ | |
@@ -483,6 +546,8 @@ Additional Inherited Members
Initial value:
+
Get the gpgme context object.
+
@@ -529,7 +594,7 @@ Additional Inherited Members
-
cache the keys with key fpr
+
cache the keys with key id
diff --git a/docs/html/classGpgFrontend_1_1GpgKeyGetter.js b/docs/html/classGpgFrontend_1_1GpgKeyGetter.js
index 653cdefd..ab2f19d7 100644
--- a/docs/html/classGpgFrontend_1_1GpgKeyGetter.js
+++ b/docs/html/classGpgFrontend_1_1GpgKeyGetter.js
@@ -3,11 +3,12 @@ var classGpgFrontend_1_1GpgKeyGetter =
[ "GpgKeyGetter", "classGpgFrontend_1_1GpgKeyGetter.html#a8eeee9f6dd74dc24c24794ce63c62285", null ],
[ "FetchKey", "classGpgFrontend_1_1GpgKeyGetter.html#afe78ac470287d70e7df51aae327b9f54", null ],
[ "FlushKeyCache", "classGpgFrontend_1_1GpgKeyGetter.html#ad9a902ea54566d4583304b072c4add51", null ],
- [ "GetKey", "classGpgFrontend_1_1GpgKeyGetter.html#ada46e39c09db8ae8ce9c87ca3ed3a876", null ],
+ [ "get_key_in_cache", "classGpgFrontend_1_1GpgKeyGetter.html#ab5196ef4ed5323fc2af70abf801ea260", null ],
+ [ "GetKey", "classGpgFrontend_1_1GpgKeyGetter.html#a94243d09c9418c8ebf0c7cdab4a2b7f1", null ],
[ "GetKeys", "classGpgFrontend_1_1GpgKeyGetter.html#aa5979c21af58b874b33c203752dcc805", null ],
[ "GetKeysCopy", "classGpgFrontend_1_1GpgKeyGetter.html#a028fe69516a51c526bbd2ec4235053ad", null ],
[ "GetKeysCopy", "classGpgFrontend_1_1GpgKeyGetter.html#a7ec8d8431a771c602cbfa946d13d6c74", null ],
- [ "GetPubkey", "classGpgFrontend_1_1GpgKeyGetter.html#a841c3fd042e99a76a40ab568f84e77e3", null ],
+ [ "GetPubkey", "classGpgFrontend_1_1GpgKeyGetter.html#a7a8bc7c0f12a11e108051e4c824fc430", null ],
[ "ctx_", "classGpgFrontend_1_1GpgKeyGetter.html#aa4aef315d82123726be879097d3df147", null ],
[ "ctx_mutex_", "classGpgFrontend_1_1GpgKeyGetter.html#a81941e1f562dc22977a71d00dd10956a", null ],
[ "keys_cache_", "classGpgFrontend_1_1GpgKeyGetter.html#a9567d5e08ae73c5bafcd1dc378fed066", null ],
diff --git a/docs/html/classGpgFrontend_1_1GpgKeyGetter__coll__graph.map b/docs/html/classGpgFrontend_1_1GpgKeyGetter__coll__graph.map
index f9ffa337..8ad31b63 100644
--- a/docs/html/classGpgFrontend_1_1GpgKeyGetter__coll__graph.map
+++ b/docs/html/classGpgFrontend_1_1GpgKeyGetter__coll__graph.map
@@ -1,5 +1,5 @@