60 static bool isSupported();
67 void setRecipients(
const std::vector<GpgME::Key> &recipients);
68 std::vector<GpgME::Key> recipients()
const;
78 void setInputPaths(
const std::vector<QString> &paths);
79 std::vector<QString> inputPaths()
const;
93 void setOutputFile(
const QString &path);
94 QString outputFile()
const;
102 void setEncryptionFlags(GpgME::Context::EncryptionFlags flags);
103 GpgME::Context::EncryptionFlags encryptionFlags()
const;
109 void setBaseDirectory(
const QString &baseDirectory);
110 QString baseDirectory()
const;
121 virtual GpgME::Error
start(
const std::vector<GpgME::Key> &recipients,
122 const std::vector<QString> &paths,
123 const std::shared_ptr<QIODevice> &cipherText,
124 const GpgME::Context::EncryptionFlags flags) = 0;
144 void result(
const GpgME::EncryptionResult &result,
145 const QString &auditLogAsHtml = {},
146 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