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
20
21namespace Ui {
22class RsaKeysFrame;
23}
24
28class RsaKeysFrame : public QFrame
29{
30 Q_OBJECT
31
32public:
37 explicit RsaKeysFrame(QWidget *parent = NULL);
38#ifdef HAVE_LIBGNUTLS
43
48 int acceptChanges();
49
53 void rejectChanges();
54
55private:
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
82private 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 */
UI frame for managing RSA keys and PKCS#11 libraries.
Definition rsa_keys_frame.h:29
Table model for representing and managing User Accessible Tables (UAT).
Definition uat_model.h:28