93 void setSigners(
const std::vector<GpgME::Key> &signers);
94 std::vector<GpgME::Key> signers()
const;
101 void setInputFile(
const QString &path);
114 void setOutputFile(
const QString &path);
125 void setSigningFlags(GpgME::SignatureMode
flags);
126 GpgME::SignatureMode signingFlags()
const;
136 void setAppendSignature(
bool append);
137 bool appendSignatureEnabled()
const;
143 virtual GpgME::Error
start(
const std::vector<GpgME::Key> &signers,
145 GpgME::SignatureMode
mode) = 0;
154 virtual void start(
const std::vector<GpgME::Key> &signers,
155 const std::shared_ptr<QIODevice> &
plainText,
156 const std::shared_ptr<QIODevice> &
signature,
157 GpgME::SignatureMode
mode) = 0;
159 virtual GpgME::SigningResult exec(
const std::vector<GpgME::Key> &signers,
161 GpgME::SignatureMode
mode,
171 void result(
const GpgME::SigningResult &result,
const QByteArray &
signature,
const QString &auditLogAsHtml =
QString(),
const GpgME::Error &auditLogError = GpgME::Error());
virtual void start(const std::vector< GpgME::Key > &signers, const std::shared_ptr< QIODevice > &plainText, const std::shared_ptr< QIODevice > &signature, GpgME::SignatureMode mode)=0