35#ifndef __QGPGME_QGPGMEENCRYPTJOB_H__
36#define __QGPGME_QGPGMEENCRYPTJOB_H__
38#include "encryptjob.h"
40#include "threadedjobmixin.h"
42#include <gpgme++/encryptionresult.h>
43#include <gpgme++/key.h>
65 GpgME::Error
start(
const std::vector<GpgME::Key> &recipients,
69 void start(
const std::vector<GpgME::Key> &recipients,
70 const std::shared_ptr<QIODevice> &
plainText,
75 GpgME::EncryptionResult exec(
const std::vector<GpgME::Key> &recipients,
79 void start(
const std::vector<GpgME::Key> &recipients,
80 const std::shared_ptr<QIODevice> &
plainText,
82 const GpgME::Context::EncryptionFlags
flags)
override;
85 GpgME::EncryptionResult
exec(
const std::vector<GpgME::Key> &recipients,
93 bool mOutputIsBase64Encoded;
An abstract base class for asynchronous encrypters.
Definition encryptjob.h:84
Definition qgpgmeencryptjob.h:54
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:95
Definition threadedjobmixin.h:126
Definition qgpgmebackend.h:43