some initial work and thoughts about encryption
This commit is contained in:
parent
758a9d95f3
commit
b45a73b723
12 changed files with 342 additions and 18 deletions
|
@ -127,23 +127,28 @@ Q_ENUM_NS(Support)
|
|||
|
||||
enum class TrustLevel {
|
||||
/// The key's trust is not decided.
|
||||
Undecided,
|
||||
undecided,
|
||||
/// The key is automatically distrusted (e.g., by the security policy TOAKAFA).
|
||||
/// \see SecurityPolicy
|
||||
AutomaticallyDistrusted,
|
||||
automaticallyDistrusted,
|
||||
/// The key is manually distrusted (e.g., by clicking a button or \xep{0450, Automatic Trust
|
||||
/// Management (ATM)}).
|
||||
ManuallyDistrusted,
|
||||
manuallyDistrusted,
|
||||
/// The key is automatically trusted (e.g., by the client for all keys of a bare JID until one
|
||||
/// of it is authenticated).
|
||||
AutomaticallyTrusted,
|
||||
automaticallyTrusted,
|
||||
/// The key is manually trusted (e.g., by clicking a button).
|
||||
ManuallyTrusted,
|
||||
manuallyTrusted,
|
||||
/// The key is authenticated (e.g., by QR code scanning or \xep{0450, Automatic Trust
|
||||
/// Management (ATM)}).
|
||||
Authenticated
|
||||
authenticated
|
||||
};
|
||||
Q_ENUM_NS(TrustLevel)
|
||||
|
||||
enum class EncryptionProtocol {
|
||||
omemo
|
||||
};
|
||||
Q_ENUM_NS(EncryptionProtocol)
|
||||
|
||||
}
|
||||
#endif // SHARED_ENUMS_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue