aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/protocol.h
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2022-05-02 13:28:09 +0000
committerIngo Klöcker <[email protected]>2022-05-02 13:51:44 +0000
commite12861f18c6b431b40bfa78eb6f1d149690a5fcd (patch)
tree045026adeffcc5105a6f9dc5b73b32556cc834c2 /lang/qt/src/protocol.h
parentcpp: Add RAII class for saving/restoring the key list mode (diff)
downloadgpgme-e12861f18c6b431b40bfa78eb6f1d149690a5fcd.tar.gz
gpgme-e12861f18c6b431b40bfa78eb6f1d149690a5fcd.zip
qt: Add job for refreshing OpenPGP keys
* lang/qt/src/qgpgmerefreshopenpgpkeysjob.h, lang/qt/src/qgpgmerefreshopenpgpkeysjob.cpp: New. * lang/qt/src/Makefile.am: Add new files. * lang/qt/src/protocol_p.h (Protocol::refreshKeysJob): Add support for OpenPGP protocol. -- The new job performs a --locate-external-keys for the email addresses of all not revoked user IDs of the given keys, and it performs a --recv-keys for the fingerprints of the given keys. The former may import new keys from WKD or an LDAP server or via some other (hopefully trusted) auto-key-locate mechanism. GnuPG-bug-id: 5951
Diffstat (limited to '')
-rw-r--r--lang/qt/src/protocol.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lang/qt/src/protocol.h b/lang/qt/src/protocol.h
index 8538bd8d..d8500174 100644
--- a/lang/qt/src/protocol.h
+++ b/lang/qt/src/protocol.h
@@ -135,6 +135,14 @@ public:
virtual DeleteJob *deleteJob() const = 0;
virtual SignEncryptJob *signEncryptJob(bool armor = false, bool textMode = false) const = 0;
virtual DecryptVerifyJob *decryptVerifyJob(bool textmode = false) const = 0;
+
+ /**
+ * For S/MIME keys this job performs a full validation check of the keys
+ * with updated CRLs.
+ * For OpenPGP keys this job performs a refresh of keys via the external
+ * methods as defined by the \c auto-key-locate option and from the
+ * configured keyserver.
+ */
virtual RefreshKeysJob *refreshKeysJob() const = 0;
virtual ChangeExpiryJob *changeExpiryJob() const = 0;
virtual SignKeyJob *signKeyJob() const = 0;