Messagelib
9 #include "messagecore_export.h"
11 #include <KMime/Headers>
13 #include <gpgme++/data.h>
15 #include <QJsonDocument>
19 class AutocryptRecipientPrivate;
20 class AutocryptStorage;
21 class HeaderMixupNodeHelper;
23 class MESSAGECORE_EXPORT AutocryptRecipient
34 Q_REQUIRED_RESULT
bool hasChanged()
const;
35 void setChangedFlag(
bool changed);
38 Q_REQUIRED_RESULT
QByteArray bad_user_agent()
const;
40 Q_REQUIRED_RESULT
QDateTime last_seen()
const;
41 Q_REQUIRED_RESULT
QDateTime autocrypt_timestamp()
const;
42 Q_REQUIRED_RESULT
QDateTime counting_since()
const;
43 Q_REQUIRED_RESULT
QDateTime gossip_timestamp()
const;
45 Q_REQUIRED_RESULT
int count_have_ach()
const;
46 Q_REQUIRED_RESULT
int count_no_ach()
const;
48 Q_REQUIRED_RESULT
bool prefer_encrypt()
const;
50 Q_REQUIRED_RESULT GpgME::Key gpgKey()
const;
51 Q_REQUIRED_RESULT
QByteArray gpgKeydata()
const;
53 Q_REQUIRED_RESULT GpgME::Key gossipKey()
const;
54 Q_REQUIRED_RESULT
QByteArray gossipKeydata()
const;
57 std::unique_ptr<AutocryptRecipientPrivate> d_ptr;
58 Q_DECLARE_PRIVATE(AutocryptRecipient)
60 friend class AutocryptStorage;
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Apr 1 2023 04:01:56 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.