Messagelib
9#include "cryptobodypartmemento.h"
10#include <gpgme++/decryptionresult.h>
11#include <gpgme++/key.h>
12#include <gpgme++/verificationresult.h>
17#include "interfaces/bodypart.h"
27namespace MimeTreeParser
29class VerifyOpaqueBodyPartMemento :
public CryptoBodyPartMemento
33 explicit VerifyOpaqueBodyPartMemento(QGpgME::VerifyOpaqueJob *job, QGpgME::KeyListJob *klj,
const QByteArray &signature);
34 ~VerifyOpaqueBodyPartMemento()
override;
36 bool start()
override;
39 const QByteArray &plainText()
const
44 const GpgME::VerificationResult &verifyResult()
const
49 const GpgME::Key &signingKey()
const
55 void slotResult(
const GpgME::VerificationResult &vr,
const QByteArray &plainText);
56 void slotKeyListJobDone();
57 void slotNextKey(
const GpgME::Key &);
59 void saveResult(
const GpgME::VerificationResult &,
const QByteArray &);
60 [[nodiscard]]
bool canStartKeyListJob()
const;
61 [[nodiscard]] QStringList keyListPattern()
const;
62 [[nodiscard]]
bool startKeyListJob();
65 const QByteArray m_signature;
66 QPointer<QGpgME::VerifyOpaqueJob> m_job;
67 QPointer<QGpgME::KeyListJob> m_keylistjob;
69 GpgME::VerificationResult m_vr;
70 QByteArray m_plainText;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:47:09 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.