GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
27 #ifndef GPGFRONTEND_KEYPAIROPERATAB_H
28 #define GPGFRONTEND_KEYPAIROPERATAB_H
30 #include "core/function/gpg/GpgKeyGetter.h"
31 #include "ui/GpgFrontendUI.h"
62 void slot_export_short_private_key();
68 void slot_export_public_key();
74 void slot_modify_edit_datetime();
80 void slot_modify_password();
86 void slot_upload_key_to_server();
92 void slot_update_key_from_server();
98 void slot_gen_revoke_cert();
104 void slot_modify_tofu_policy();
108 QMenu* key_server_opera_menu_{};
109 QMenu* secret_key_export_opera_menu_{};
113 #endif // GPGFRONTEND_KEYPAIROPERATAB_H
Definition: FileReadTask.cpp:31
Definition: KeySetExpireDateDialog.h:42
std::string GetId() const
Definition: GpgKey.cpp:52
GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &path, const std::string &out_buffer)
Definition: GpgConstants.cpp:128
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:170
void slot_export_private_key()
Definition: KeyPairOperaTab.cpp:217
Definition: GpgKeyGetter.h:45
std::string GetEmail() const
Definition: GpgKey.cpp:60
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:275
bool IsPrivateKey() const
Definition: GpgKey.cpp:138
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:63
void SlotExecuteGpgCommand(const QStringList &arguments, const std::function< void(QProcess *)> &interact_func)
Definition: UserInterfaceUtils.cpp:216
bool IsHasMasterKey() const
Definition: GpgKey.cpp:146
static CommonUtils * GetInstance()
Get the Instance object.
Definition: UserInterfaceUtils.cpp:143
GpgFrontend::GpgError ModifyTOFUPolicy(const GpgKey &key, gpgme_tofu_policy_t tofu_policy)
Definition: GpgKeyOpera.cpp:284
std::string GetFingerprint() const
Definition: GpgKey.cpp:68
std::string GetName() const
Definition: GpgKey.cpp:56