60 static bool isSupported();
67 void setSigners(
const std::vector<GpgME::Key> &signers);
68 std::vector<GpgME::Key> signers()
const;
75 void setRecipients(
const std::vector<GpgME::Key> &recipients);
76 std::vector<GpgME::Key> recipients()
const;
86 void setInputPaths(
const std::vector<QString> &
paths);
87 std::vector<QString> inputPaths()
const;
101 void setOutputFile(
const QString &path);
110 void setEncryptionFlags(GpgME::Context::EncryptionFlags
flags);
111 GpgME::Context::EncryptionFlags encryptionFlags()
const;
117 void setBaseDirectory(
const QString &baseDirectory);
133 virtual GpgME::Error
start(
const std::vector<GpgME::Key> &signers,
134 const std::vector<GpgME::Key> &recipients,
135 const std::vector<QString> &
paths,
137 const GpgME::Context::EncryptionFlags
flags) = 0;
159 const QString &auditLogAsHtml = {},
160 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