54 :
public _detail::ThreadedJobMixin<EncryptJob, QGpgMEEncryptJobPrivate, std::tuple<GpgME::EncryptionResult, QByteArray, QString, GpgME::Error> >
63 explicit QGpgMEEncryptJob(GpgME::Context *context);
67 GpgME::Error
start(
const std::vector<GpgME::Key> &recipients,
68 const QByteArray &plainText,
bool alwaysTrust)
override;
71 void start(
const std::vector<GpgME::Key> &recipients,
72 const std::shared_ptr<QIODevice> &plainText,
73 const std::shared_ptr<QIODevice> &cipherText,
74 bool alwaysTrust)
override;
77 GpgME::EncryptionResult exec(
const std::vector<GpgME::Key> &recipients,
78 const QByteArray &plainText,
bool alwaysTrust,
79 QByteArray &cipherText)
override;
81 void start(
const std::vector<GpgME::Key> &recipients,
82 const std::shared_ptr<QIODevice> &plainText,
83 const std::shared_ptr<QIODevice> &cipherText,
84 const GpgME::Context::EncryptionFlags flags)
override;
87 GpgME::EncryptionResult
exec(
const std::vector<GpgME::Key> &recipients,
88 const QByteArray &plainText,
const GpgME::Context::EncryptionFlags flags,
89 QByteArray &cipherText)
override;
95 bool mOutputIsBase64Encoded;
98 Q_DECLARE_PRIVATE(QGpgMEEncryptJob)
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
void start(const std::vector< GpgME::Key > &recipients, const std::shared_ptr< QIODevice > &plainText, const std::shared_ptr< QIODevice > &cipherText, bool alwaysTrust) override