blob: 5020b81d3aa5c1f3c275a72048da648daeab5d23 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// SPDX-FileCopyrightText: 2021 Melvin Keskin <melvo@olomono.de>
//
// SPDX-License-Identifier: LGPL-2.1-or-later
#ifndef QXMPPTRUSTSECURITYPOLICY_H
#define QXMPPTRUSTSECURITYPOLICY_H
#include <QMetaType>
namespace QXmpp {
///
/// Security policy to decide which public long-term keys are used for encryption because they are
/// trusted
///
/// \since QXmpp 1.5
///
enum TrustSecurityPolicy {
/// New keys must be trusted manually.
NoSecurityPolicy,
/// New keys are trusted automatically until the first authentication but automatically
/// distrusted afterwards. \see \xep{0450, Automatic Trust Management (ATM)}
Toakafa,
};
} // namespace QXmpp
Q_DECLARE_METATYPE(QXmpp::TrustSecurityPolicy)
#endif // QXMPPTRUSTSECURITYPOLICY_H
|