| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
rsa_keys_frame.h
Go to the documentation of this file.
1
12#ifndef RSA_KEYS_FRAME_H
13#define RSA_KEYS_FRAME_H
14
15#include <config.h>
16
17#include <QFrame>
18
19#include <ui/qt/models/uat_model.h>
20
21 namespace Ui {
22 class RsaKeysFrame;
23}
24
25 class RsaKeysFrame : public QFrame
26{
27 Q_OBJECT
28
29 public:
30 explicit RsaKeysFrame(QWidget *parent = NULL);
31#ifdef HAVE_LIBGNUTLS
32 ~RsaKeysFrame();
33
34 int acceptChanges();
35 void rejectChanges();
36
37 private:
38 Ui::RsaKeysFrame *ui;
39
40 UatModel *rsa_keys_model_;
41 UatModel *pkcs11_libs_model_;
42
43 bool verifyKey(const char *uri, const char *password, bool *need_password, QString &error);
44 void addKey(const QString &uri, const QString &password);
45
46 private slots:
47 void keyCurrentChanged(const QModelIndex &current, const QModelIndex &previous);
48 void on_addFileButton_clicked();
49 void on_addItemButton_clicked();
50 void on_deleteItemButton_clicked();
51 void libCurrentChanged(const QModelIndex &current, const QModelIndex &previous);
52 void on_addLibraryButton_clicked();
53 void on_deleteLibraryButton_clicked();
54#endif /* HAVE_LIBGNUTLS */
55};
56
57#endif /* RSA_KEYS_FRAME_H */
RsaKeysFrame
Definition rsa_keys_frame.h:26
UatModel
Definition uat_model.h:25
uat_model.h