9#include "messagecore_export.h"
11#include <KMime/Headers>
13#include <gpgme++/data.h>
15#include <QJsonDocument>
19class AutocryptRecipientPrivate;
20class AutocryptStorage;
21class HeaderMixupNodeHelper;
23class MESSAGECORE_EXPORT AutocryptRecipient
28 ~AutocryptRecipient();
35 [[nodiscard]]
bool hasChanged()
const;
36 void setChangedFlag(
bool changed);
39 [[nodiscard]]
QByteArray bad_user_agent()
const;
41 [[nodiscard]]
QDateTime last_seen()
const;
42 [[nodiscard]]
QDateTime autocrypt_timestamp()
const;
43 [[nodiscard]]
QDateTime counting_since()
const;
44 [[nodiscard]]
QDateTime gossip_timestamp()
const;
46 [[nodiscard]]
int count_have_ach()
const;
47 [[nodiscard]]
int count_no_ach()
const;
49 [[nodiscard]]
bool prefer_encrypt()
const;
51 [[nodiscard]] GpgME::Key gpgKey()
const;
54 [[nodiscard]] GpgME::Key gossipKey()
const;
55 [[nodiscard]]
QByteArray gossipKeydata()
const;
58 std::unique_ptr<AutocryptRecipientPrivate> d_ptr;
59 Q_DECLARE_PRIVATE(AutocryptRecipient)
61 friend class AutocryptStorage;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.