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
34 [[nodiscard]]
bool hasChanged()
const;
35 void setChangedFlag(
bool changed);
38 [[nodiscard]]
QByteArray bad_user_agent()
const;
40 [[nodiscard]]
QDateTime last_seen()
const;
41 [[nodiscard]]
QDateTime autocrypt_timestamp()
const;
42 [[nodiscard]]
QDateTime counting_since()
const;
43 [[nodiscard]]
QDateTime gossip_timestamp()
const;
45 [[nodiscard]]
int count_have_ach()
const;
46 [[nodiscard]]
int count_no_ach()
const;
48 [[nodiscard]]
bool prefer_encrypt()
const;
50 [[nodiscard]] GpgME::Key gpgKey()
const;
53 [[nodiscard]] GpgME::Key gossipKey()
const;
54 [[nodiscard]]
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-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:26 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.