|
| QGpgMEVerifyOpaqueJob (GpgME::Context *context) |
|
GpgME::Error | start (const QByteArray &signedData) Q_DECL_OVERRIDE |
|
void | start (const std::shared_ptr< QIODevice > &signedData, const std::shared_ptr< QIODevice > &plainText) Q_DECL_OVERRIDE |
|
GpgME::VerificationResult | exec (const QByteArray &signedData, QByteArray &plainData) Q_DECL_OVERRIDE |
|
void | resultHook (const result_type &r) Q_DECL_OVERRIDE |
|
virtual QString | auditLogAsHtml () const |
|
virtual GpgME::Error | auditLogError () const |
|
bool | isAuditLogSupported () const |
|
|
typedef ThreadedJobMixin< VerifyOpaqueJob, std::tuple< GpgME::VerificationResult, QByteArray, QString, GpgME::Error > > | mixin_type |
|
typedef std::tuple< GpgME::VerificationResult, QByteArray, QString, GpgME::Error > | result_type |
|
void | result (const GpgME::VerificationResult &result, const QByteArray &plainText, const QString &auditLogAsHtml=QString(), const GpgME::Error &auditLogError=GpgME::Error()) |
|
void | progress (const QString &what, int current, int total) |
|
void | done () |
|
static GpgME::Context * | context (Job *job) |
|
| ThreadedJobMixin (GpgME::Context *ctx) |
|
void | lateInitialization () |
|
void | run (const T_binder &func) |
|
void | run (const T_binder &func, const std::shared_ptr< QIODevice > &io) |
|
void | run (const T_binder &func, const std::shared_ptr< QIODevice > &io1, const std::shared_ptr< QIODevice > &io2) |
|
GpgME::Context * | context () const |
|
void | slotFinished () |
|
void | slotCancel () Q_DECL_OVERRIDE |
|
QString | auditLogAsHtml () const Q_DECL_OVERRIDE |
|
GpgME::Error | auditLogError () const Q_DECL_OVERRIDE |
|
void | showProgress (const char *, int, int current, int total) Q_DECL_OVERRIDE |
|
| VerifyOpaqueJob (QObject *parent) |
|
| Job (QObject *parent) |
|
◆ exec()
GpgME::VerificationResult QGpgME::QGpgMEVerifyOpaqueJob::exec |
( |
const QByteArray & |
signedData, |
|
|
QByteArray & |
plainText |
|
) |
| |
|
virtual |
◆ start() [1/2]
Error QGpgMEVerifyOpaqueJob::start |
( |
const QByteArray & |
signedData | ) |
|
|
virtual |
Starts the verification operation. signature contains the signature data, while signedData contains the data over which the signature was made.
Implements QGpgME::VerifyOpaqueJob.
◆ start() [2/2]
void QGpgMEVerifyOpaqueJob::start |
( |
const std::shared_ptr< QIODevice > & |
signedData, |
|
|
const std::shared_ptr< QIODevice > & |
plainText |
|
) |
| |
|
virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
If plainText is non-null, the plaintext is written there. Otherwise, it will be delivered in the second argument of result().
- Exceptions
-
GpgME::Exception | if starting fails |
Implements QGpgME::VerifyOpaqueJob.
The documentation for this class was generated from the following files: