aboutsummaryrefslogtreecommitdiff
path: root/src/cryptoidentity.hpp
diff options
context:
space:
mode:
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 {