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: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: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: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:66
void SlotExecuteGpgCommand(const QStringList &arguments, const std::function< void(QProcess *)> &interact_func)
Definition: UserInterfaceUtils.cpp:215
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
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:285
std::string GetFingerprint() const
Definition: GpgKey.cpp:70
std::string GetName() const
Definition: GpgKey.cpp:58