64 static bool isSupported();
71 void setSigners(
const std::vector<GpgME::Key> &signers);
72 std::vector<GpgME::Key> signers()
const;
79 void setRecipients(
const std::vector<GpgME::Key> &recipients);
80 std::vector<GpgME::Key> recipients()
const;
90 void setInputPaths(
const std::vector<QString> &
paths);
91 std::vector<QString> inputPaths()
const;
105 void setOutputFile(
const QString &path);
114 void setEncryptionFlags(GpgME::Context::EncryptionFlags
flags);
115 GpgME::Context::EncryptionFlags encryptionFlags()
const;
121 void setBaseDirectory(
const QString &baseDirectory);
137 virtual GpgME::Error
start(
const std::vector<GpgME::Key> &signers,
138 const std::vector<GpgME::Key> &recipients,
139 const std::vector<QString> &
paths,
141 const GpgME::Context::EncryptionFlags
flags) = 0;
163 const QString &auditLogAsHtml = {},
164 const GpgME::Error &auditLogError = {});
virtual GpgME::Error start(const std::vector< GpgME::Key > &signers, const std::vector< GpgME::Key > &recipients, const std::vector< QString > &paths, const std::shared_ptr< QIODevice > &cipherText, const GpgME::Context::EncryptionFlags flags)=0