diff options
author | Ingo Klöcker <[email protected]> | 2020-10-28 16:02:22 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2020-10-29 11:57:10 +0000 |
commit | f042739d3a2ed23a90441a81782e4c3ac6ffb1c5 (patch) | |
tree | c96b36b2b16bef7aad038d95e19ca04928770ec4 /lang/qt/src/quickjob.h | |
parent | qt: Some minor cleanups (diff) | |
download | gpgme-f042739d3a2ed23a90441a81782e4c3ac6ffb1c5.tar.gz gpgme-f042739d3a2ed23a90441a81782e4c3ac6ffb1c5.zip |
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
Diffstat (limited to 'lang/qt/src/quickjob.h')
-rw-r--r-- | lang/qt/src/quickjob.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 <[email protected]> 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<GpgME::UserID> &userIds = std::vector<GpgME::UserID>()) = 0; + Q_SIGNALS: void result(const GpgME::Error &error, const QString &auditLogAsHtml, const GpgME::Error &auditLogError); |