GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
29 #ifndef GPGFRONTEND_EXPORTKEYPACKAGEDIALOG_H
30 #define GPGFRONTEND_EXPORTKEYPACKAGEDIALOG_H
32 #include "GpgFrontendUI.h"
33 #include "ui/dialog/GeneralDialog.h"
35 class Ui_exportKeyPackageDialog;
56 std::shared_ptr<Ui_exportKeyPackageDialog> ui_;
57 KeyIdArgsListPtr key_ids_;
58 std::string passphrase_;
62 #endif // GPGFRONTEND_EXPORTKEYPACKAGEDIALOG_H
Definition: FileReadTask.cpp:31
Definition: ExportKeyPackageDialog.h:43
static std::string GenerateKeyPackageName()
generate the name of the key package
Definition: KeyPackageOperator.cpp:115
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
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
Definition: GeneralDialog.h:35
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:148