35#ifndef __QGPGME_QGPGMEENCRYPTJOB_H__
36#define __QGPGME_QGPGMEENCRYPTJOB_H__
38#include "encryptjob.h"
40#include "threadedjobmixin.h"
43# include "encryptionresult.h"
45#include <gpgme++/encryptionresult.h>
50#include <gpgme++/key.h>
73 GpgME::Error
start(
const std::vector<GpgME::Key> &recipients,
77 void start(
const std::vector<GpgME::Key> &recipients,
78 const std::shared_ptr<QIODevice> &
plainText,
83 GpgME::EncryptionResult exec(
const std::vector<GpgME::Key> &recipients,
87 void start(
const std::vector<GpgME::Key> &recipients,
88 const std::shared_ptr<QIODevice> &
plainText,
90 const GpgME::Context::EncryptionFlags
flags)
override;
93 GpgME::EncryptionResult
exec(
const std::vector<GpgME::Key> &recipients,
101 void resultHook(
const result_type &
r)
override;
104 bool mOutputIsBase64Encoded;
105 GpgME::EncryptionResult mResult;
An abstract base class for asynchronous encrypters.
Definition encryptjob.h:79
Definition qgpgmeencryptjob.h:62
GpgME::EncryptionResult exec(const std::vector< GpgME::Key > &recipients, const QByteArray &plainText, const GpgME::Context::EncryptionFlags flags, QByteArray &cipherText) override
void start(const std::vector< GpgME::Key > &recipients, const std::shared_ptr< QIODevice > &plainText, const std::shared_ptr< QIODevice > &cipherText, const GpgME::Context::EncryptionFlags flags) override
GpgME::Error start(const std::vector< GpgME::Key > &recipients, const QByteArray &plainText, bool alwaysTrust) override
void start(const std::vector< GpgME::Key > &recipients, const std::shared_ptr< QIODevice > &plainText, const std::shared_ptr< QIODevice > &cipherText, bool alwaysTrust) override
void setOutputIsBase64Encoded(bool on) override
Definition qgpgmeencryptjob.cpp:99
Definition threadedjobmixin.h:131
Definition qgpgmebackend.h:43