64 static bool isSupported();
71 void setRecipients(
const std::vector<GpgME::Key> &recipients);
72 std::vector<GpgME::Key> recipients()
const;
82 void setInputPaths(
const std::vector<QString> &paths);
83 std::vector<QString> inputPaths()
const;
97 void setOutputFile(
const QString &path);
98 QString outputFile()
const;
106 void setEncryptionFlags(GpgME::Context::EncryptionFlags flags);
107 GpgME::Context::EncryptionFlags encryptionFlags()
const;
113 void setBaseDirectory(
const QString &baseDirectory);
114 QString baseDirectory()
const;
125 virtual GpgME::Error
start(
const std::vector<GpgME::Key> &recipients,
126 const std::vector<QString> &paths,
127 const std::shared_ptr<QIODevice> &cipherText,
128 const GpgME::Context::EncryptionFlags flags) = 0;
148 void result(
const GpgME::EncryptionResult &result,
149 const QString &auditLogAsHtml = {},
150 const GpgME::Error &auditLogError = {});
virtual GpgME::Error start(const std::vector< GpgME::Key > &recipients, const std::vector< QString > &paths, const std::shared_ptr< QIODevice > &cipherText, const GpgME::Context::EncryptionFlags flags)=0