aboutsummaryrefslogtreecommitdiff
path: root/src/trustedhost.hpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-16 00:41:57 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-16 00:41:57 +0200
commit33c91102a58e2fbcf9d7a66e33b41a65fa3f0e0c (patch)
treea724f0c3dcc48c8ce1f78c2665fe8ef170acb379 /src/trustedhost.hpp
parent5bb3f3f92e62a0af02fe475943759b8c25cd4592 (diff)
downloadkristall-33c91102a58e2fbcf9d7a66e33b41a65fa3f0e0c.tar.gz
Adds improved client certificate management, adds server certificate management.
Diffstat (limited to 'src/trustedhost.hpp')
-rw-r--r--src/trustedhost.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/trustedhost.hpp b/src/trustedhost.hpp
new file mode 100644
index 0000000..6cba5ab
--- /dev/null
+++ b/src/trustedhost.hpp
@@ -0,0 +1,15 @@
+#ifndef TRUSTEDHOST_HPP
+#define TRUSTEDHOST_HPP
+
+#include <QSslKey>
+#include <QUrl>
+#include <QDateTime>
+
+struct TrustedHost
+{
+ QString host_name;
+ QSslKey public_key;
+ QDateTime trusted_at;
+};
+
+#endif // TRUSTEDHOST_HPP