From f042739d3a2ed23a90441a81782e4c3ac6ffb1c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Wed, 28 Oct 2020 17:02:22 +0100 Subject: qt: Add support for revoke signature quick command * lang/qt/src/quickjob.h (QuickJob::startRevokeSignature): New. * lang/qt/src/qgpgmequickjob.h, lang/qt/src/qgpgmequickjob.cpp (QGpgMEQuickJob::startRevokeSignature): New. * lang/qt/src/qgpgmequickjob.cpp (revokeSignatureWorker): New. -- GnuPG-bug-id: 5094 --- lang/qt/src/quickjob.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lang/qt/src/quickjob.h') diff --git a/lang/qt/src/quickjob.h b/lang/qt/src/quickjob.h index c0a655b7..82c9d89d 100644 --- a/lang/qt/src/quickjob.h +++ b/lang/qt/src/quickjob.h @@ -1,6 +1,9 @@ /* quickjob.h + This file is part of qgpgme, the Qt API binding for gpgme Copyright (c) 2017 Intevation GmbH + Copyright (c) 2020 g10 Code GmbH + Software engineering by Ingo Klöcker QGpgME is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -74,6 +77,14 @@ public: const QDateTime &expires = QDateTime(), unsigned int flags = 0) = 0; + /** + Starts the operation to revoke the signatures made with the key \a signingKey on the + user IDs \a userIds of the key \a key. If \a userIds is an empty list, then all + signatures made with \a signingKey on the user IDs of \a key will be revoked. + */ + virtual void startRevokeSignature(const GpgME::Key &key, const GpgME::Key &signingKey, + const std::vector &userIds = std::vector()) = 0; + Q_SIGNALS: void result(const GpgME::Error &error, const QString &auditLogAsHtml, const GpgME::Error &auditLogError); -- cgit v1.2.3