101 void setFileName(
const QString &fileName);
109 void setSigners(
const std::vector<GpgME::Key> &signers);
110 std::vector<GpgME::Key> signers()
const;
117 void setRecipients(
const std::vector<GpgME::Key> &recipients);
118 std::vector<GpgME::Key> recipients()
const;
125 void setInputFile(
const QString &path);
137 void setOutputFile(
const QString &path);
148 void setEncryptionFlags(GpgME::Context::EncryptionFlags
flags);
149 GpgME::Context::EncryptionFlags encryptionFlags()
const;
161 virtual GpgME::Error
start(
const std::vector<GpgME::Key> &signers,
162 const std::vector<GpgME::Key> &recipients,
173 virtual void start(
const std::vector<GpgME::Key> &signers,
174 const std::vector<GpgME::Key> &recipients,
175 const std::shared_ptr<QIODevice> &
plainText,
176 const std::shared_ptr<QIODevice> &
cipherText = std::shared_ptr<QIODevice>(),
179 virtual std::pair<GpgME::SigningResult, GpgME::EncryptionResult>
180 exec(
const std::vector<GpgME::Key> &signers,
181 const std::vector<GpgME::Key> &recipients,
193 virtual void start(
const std::vector<GpgME::Key> &signers,
194 const std::vector<GpgME::Key> &recipients,
195 const std::shared_ptr<QIODevice> &
plainText,
196 const std::shared_ptr<QIODevice> &
cipherText = std::shared_ptr<QIODevice>(),
197 const GpgME::Context::EncryptionFlags
flags = GpgME::Context::None) = 0;
201 virtual std::pair<GpgME::SigningResult, GpgME::EncryptionResult>
202 exec(
const std::vector<GpgME::Key> &signers,
203 const std::vector<GpgME::Key> &recipients,
210 const GpgME::Error &auditLogError = GpgME::Error());
virtual void start(const std::vector< GpgME::Key > &signers, const std::vector< GpgME::Key > &recipients, const std::shared_ptr< QIODevice > &plainText, const std::shared_ptr< QIODevice > &cipherText=std::shared_ptr< QIODevice >(), const GpgME::Context::EncryptionFlags flags=GpgME::Context::None)=0
virtual std::pair< GpgME::SigningResult, GpgME::EncryptionResult > exec(const std::vector< GpgME::Key > &signers, const std::vector< GpgME::Key > &recipients, const QByteArray &plainText, const GpgME::Context::EncryptionFlags flags, QByteArray &cipherText)=0
virtual void start(const std::vector< GpgME::Key > &signers, const std::vector< GpgME::Key > &recipients, const std::shared_ptr< QIODevice > &plainText, const std::shared_ptr< QIODevice > &cipherText=std::shared_ptr< QIODevice >(), bool alwaysTrust=false)=0