-
Notifications
You must be signed in to change notification settings - Fork 0
/
verify.h
64 lines (49 loc) · 1 KB
/
verify.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#ifndef VERIFY_H
#define VERIFY_H
#include <QPushButton>
#include <QLabel>
#include <QFileDialog>
#include <QLineEdit>
#include <QGridLayout>
#include <QMessageBox>
#include <QDialog>
#include "rsa.h"
#include "elgamal.h"
#include "dsa.h"
class Verify : public QDialog
{
Q_OBJECT
public:
Verify();
Verify(int);
private:
int rep;
QPushButton *buttonBrowseHash;
QPushButton *buttonBrowseSigned;
QPushButton *buttonBrowsePuKey;
QPushButton *buttonCancel;
QPushButton *buttonCompute;
QLabel *labelHash;
QLabel *labelSigned;
QLabel *labelPuKey;
QFileDialog *fdHash;
QFileDialog *fdSigned;
QFileDialog *fdPuKey;
QLineEdit *leHash;
QLineEdit *leSigned;
QLineEdit *lePuKey;
QMessageBox *mb;
QRegExp *rePuKey;
QRegExp *reSign;
QRegExp *reHash;
QGridLayout *gl;
ElGamal *elGamal;
RSA *rsa;
DSA *dsa;
signals:
public slots:
void computeRSA();
void computeElGamal();
void computeDSA();
};
#endif // VERIFY_H