aboutsummaryrefslogtreecommitdiff
path: root/VMProtect/export_key_pair_dialog.h
diff options
context:
space:
mode:
authorjmpoep <OriginalEntryPoint@qq.com>2023-12-07 16:51:07 +0800
committerjmpoep <OriginalEntryPoint@qq.com>2023-12-07 16:51:07 +0800
commit28008a746a31abb7909dd86cb0cd413ac8943b0b (patch)
treea30b74b8cad548048c3c1551d652828ab76fa9bd /VMProtect/export_key_pair_dialog.h
downloadvmprotect-3.5.1-master.tar
vmprotect-3.5.1-master.tar.gz
vmprotect-3.5.1-master.tar.bz2
vmprotect-3.5.1-master.zip
first commitHEADmaster
Diffstat (limited to 'VMProtect/export_key_pair_dialog.h')
-rw-r--r--VMProtect/export_key_pair_dialog.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/VMProtect/export_key_pair_dialog.h b/VMProtect/export_key_pair_dialog.h
new file mode 100644
index 0000000..564a692
--- /dev/null
+++ b/VMProtect/export_key_pair_dialog.h
@@ -0,0 +1,23 @@
+#ifndef EXPORT_KEY_PAIR_DIALOG_H
+#define EXPORT_KEY_PAIR_DIALOG_H
+
+class ExportKeyPairDialog : public QDialog
+{
+ Q_OBJECT
+public:
+ ExportKeyPairDialog(QWidget *parent, LicensingManager *manager);
+private slots:
+ void formatChanged(int format);
+ void copyClicked();
+ void helpClicked();
+private:
+ size_t bits_;
+ std::vector<uint8_t> public_exp_;
+ std::vector<uint8_t> private_exp_;
+ std::vector<uint8_t> modulus_;
+ std::vector<uint8_t> product_code_;
+
+ QPlainTextEdit *edit_;
+};
+
+#endif \ No newline at end of file