Messagelib
9#include "cryptobodypartmemento.h"
11#include <gpgme++/key.h>
12#include <gpgme++/verificationresult.h>
17#include "interfaces/bodypart.h"
21class VerifyDetachedJob;
25namespace MimeTreeParser
27class VerifyDetachedBodyPartMemento :
public CryptoBodyPartMemento
31 explicit VerifyDetachedBodyPartMemento(QGpgME::VerifyDetachedJob *job, QGpgME::KeyListJob *klj,
const QByteArray &signature,
const QByteArray &plainText);
32 ~VerifyDetachedBodyPartMemento()
override;
34 [[nodiscard]]
bool start()
override;
37 const GpgME::VerificationResult &verifyResult()
const
42 const GpgME::Key &signingKey()
const
48 void slotResult(
const GpgME::VerificationResult &vr);
49 void slotKeyListJobDone();
50 void slotNextKey(
const GpgME::Key &);
52 void saveResult(
const GpgME::VerificationResult &);
53 [[nodiscard]]
bool canStartKeyListJob()
const;
54 [[nodiscard]] QStringList keyListPattern()
const;
55 [[nodiscard]]
bool startKeyListJob();
59 const QByteArray m_signature;
60 const QByteArray m_plainText;
61 QPointer<QGpgME::VerifyDetachedJob> m_job;
62 QPointer<QGpgME::KeyListJob> m_keylistjob;
64 GpgME::VerificationResult m_vr;
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.