| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
rsa_keys_frame.h
Go to the documentation of this file.
1
11
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
28 class RsaKeysFrame : public QFrame
29{
30 Q_OBJECT
31
32 public:
37 explicit RsaKeysFrame(QWidget *parent = NULL);
38#ifdef HAVE_LIBGNUTLS
42 ~RsaKeysFrame();
43
48 int acceptChanges();
49
53 void rejectChanges();
54
55 private:
57 Ui::RsaKeysFrame *ui;
58
60 UatModel *rsa_keys_model_;
61
63 UatModel *pkcs11_libs_model_;
64
73 bool verifyKey(const char *uri, const char *password, bool *need_password, QString &error);
74
80 void addKey(const QString &uri, const QString &password);
81
82 private slots:
88 void keyCurrentChanged(const QModelIndex &current, const QModelIndex &previous);
89
93 void on_addFileButton_clicked();
94
98 void on_addItemButton_clicked();
99
103 void on_deleteItemButton_clicked();
104
110 void libCurrentChanged(const QModelIndex &current, const QModelIndex &previous);
111
115 void on_addLibraryButton_clicked();
116
120 void on_deleteLibraryButton_clicked();
121#endif /* HAVE_LIBGNUTLS */
122};
123
124#endif /* RSA_KEYS_FRAME_H */
RsaKeysFrame::RsaKeysFrame
RsaKeysFrame(QWidget *parent=NULL)
Constructs a new RsaKeysFrame object.
Definition rsa_keys_frame.cpp:58
UatModel
Table model for representing and managing User Accessible Tables (UAT).
Definition uat_model.h:28
uat_model.h