aboutsummaryrefslogtreecommitdiff
path: root/src/cryptoidentity.hpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-12 17:22:43 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-12 17:22:43 +0200
commit4f8f8fc2a9450982078f18d49ddfa9036023bc29 (patch)
tree6c0452651d4954c65a1542d46aaaebeef47da64d /src/cryptoidentity.hpp
parent79e62a80579c5669542c65d1e9e7b31dc3872137 (diff)
downloadkristall-4f8f8fc2a9450982078f18d49ddfa9036023bc29.tar.gz
Adds certificate manager, removes client certificate window.
Diffstat (limited to 'src/cryptoidentity.hpp')
-rw-r--r--src/cryptoidentity.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cryptoidentity.hpp b/src/cryptoidentity.hpp
index a5fbb7f..09e9489 100644
--- a/src/cryptoidentity.hpp
+++ b/src/cryptoidentity.hpp
@@ -10,10 +10,19 @@
//! of a key-certificate pair and some user information.
struct CryptoIdentity
{
+ //! The certificate that is used for cryptography
QSslCertificate certificate;
+
+ //! The actual private key that is used for cryptography
QSslKey private_key;
+
+ //! The title with which the identity is presented to the user.
QString display_name;
+ //! Notes that the user can have per identity for improved identity management
+ QString user_notes;
+
+ //! True for long-lived identities
bool is_persistent = false;
bool isValid() const {