35 #ifndef __KLEO_SIGNKEYJOB_H__
36 #define __KLEO_SIGNKEYJOB_H__
46 enum class TrustSignatureTrust : char;
80 virtual GpgME::Error start(
const GpgME::Key &keyToSign) = 0;
87 virtual void setUserIDsToSign(
const std::vector<unsigned int> &idsToSign) = 0;
94 virtual void setCheckLevel(
unsigned int checkLevel) = 0;
100 virtual void setExportable(
bool exportable) = 0;
105 virtual void setSigningKey(
const GpgME::Key &key) = 0;
111 virtual void setNonRevocable(
bool nonRevocable) = 0;
146 virtual void setTrustSignature(GpgME::TrustSignatureTrust trust,
unsigned short depth,
const QString &scope) { Q_UNUSED(trust); Q_UNUSED(depth); Q_UNUSED(scope); };
159 void result(
const GpgME::Error &result,
const QString &auditLogAsHtml = QString(),
const GpgME::Error &auditLogError = GpgME::Error());
164 #endif // __KLEO_SIGNKEYJOB_H__