diff options
author | Ingo Klöcker <[email protected]> | 2023-08-21 14:01:37 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2023-08-21 16:06:52 +0000 |
commit | 2ad36f71144731f847c89b1f1e91f21c215cffa1 (patch) | |
tree | 6fbef75aa42e52d07ef343660c5735d96027bb70 /lang/qt/src/protocol.h | |
parent | doc: Fix interface changes (diff) | |
download | gpgme-2ad36f71144731f847c89b1f1e91f21c215cffa1.tar.gz gpgme-2ad36f71144731f847c89b1f1e91f21c215cffa1.zip |
qt: Add job for refreshing OpenPGP keys via WKD
* lang/qt/src/wkdrefreshjob.cpp, lang/qt/src/wkdrefreshjob.h,
lang/qt/src/wkdrefreshjob_p.h, lang/qt/src/qgpgmewkdrefreshjob.cpp,
lang/qt/src/qgpgmewkdrefreshjob.h: New.
* lang/qt/src/protocol.h (class Protocol): Add pure virtual member
function wkdRefreshJob
* lang/qt/src/protocol_p.h (Protocol::wkdRefreshJob): ... and
implement it.
* lang/qt/src/Makefile.am: Update accordingly.
* lang/qt/tests/run-wkdrefreshjob.cpp: New.
* lang/qt/tests/Makefile.am: Add new test runner.
--
This job allows updating keys via WKD. Only user IDs that were
originally retrieved via WKD (i.e. which have origin WKD) are
considered.
GnuPG-bug-id: 6672
Diffstat (limited to 'lang/qt/src/protocol.h')
-rw-r--r-- | lang/qt/src/protocol.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/qt/src/protocol.h b/lang/qt/src/protocol.h index cbd93877..74fb921d 100644 --- a/lang/qt/src/protocol.h +++ b/lang/qt/src/protocol.h @@ -77,6 +77,7 @@ class GpgCardJob; class ReceiveKeysJob; class RevokeKeyJob; class SetPrimaryUserIDJob; +class WKDRefreshJob; /** The main entry point for QGpgME Comes in OpenPGP and SMIME(CMS) flavors. * @@ -198,6 +199,8 @@ public: virtual SignArchiveJob *signArchiveJob(bool armor = false) const = 0; virtual SignEncryptArchiveJob *signEncryptArchiveJob(bool armor = false) const = 0; virtual DecryptVerifyArchiveJob *decryptVerifyArchiveJob() const = 0; + + virtual WKDRefreshJob *wkdRefreshJob() const = 0; }; /** Obtain a reference to the OpenPGP Protocol. |