diff options
author | Ingo Klöcker <[email protected]> | 2023-02-02 09:12:34 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2023-02-02 11:11:29 +0000 |
commit | c407728064ca0c9b2f365437c6a7f2acc40e6d84 (patch) | |
tree | c345d30aad07abc95cb364369dcd3d280a9c5476 /lang/qt/src/protocol.h | |
parent | core: Make usage of input size hint compatible with gpgtar (diff) | |
download | gpgme-c407728064ca0c9b2f365437c6a7f2acc40e6d84.tar.gz gpgme-c407728064ca0c9b2f365437c6a7f2acc40e6d84.zip |
qt: Add job for extracting encrypted and signed archives
* lang/qt/src/decryptverifyarchivejob.cpp,
lang/qt/src/decryptverifyarchivejob.h,
lang/qt/src/decryptverifyarchivejob_p.h,
lang/qt/src/qgpgmedecryptverifyarchivejob.cpp,
lang/qt/src/qgpgmedecryptverifyarchivejob.h: New.
* lang/qt/src/protocol.h (class Protocol): Add pure virtual member
function decryptVerifyArchiveJob
* lang/qt/src/protocol_p.h (Protocol::decryptVerifyArchiveJob): ... and
implement it.
* lang/qt/src/Makefile.am: Update accordingly.
* lang/qt/tests/run-decryptverifyarchivejob.cpp: New.
* lang/qt/tests/Makefile.am: Add new test runner.
--
GnuPG-bug-id: 6342
Diffstat (limited to '')
-rw-r--r-- | lang/qt/src/protocol.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/qt/src/protocol.h b/lang/qt/src/protocol.h index e689ba66..cbd93877 100644 --- a/lang/qt/src/protocol.h +++ b/lang/qt/src/protocol.h @@ -60,6 +60,7 @@ class SignKeyJob; class VerifyDetachedJob; class VerifyOpaqueJob; class SignEncryptJob; +class DecryptVerifyArchiveJob; class DecryptVerifyJob; class RefreshKeysJob; class ChangeExpiryJob; @@ -196,6 +197,7 @@ public: virtual EncryptArchiveJob *encryptArchiveJob(bool armor = false) const = 0; virtual SignArchiveJob *signArchiveJob(bool armor = false) const = 0; virtual SignEncryptArchiveJob *signEncryptArchiveJob(bool armor = false) const = 0; + virtual DecryptVerifyArchiveJob *decryptVerifyArchiveJob() const = 0; }; /** Obtain a reference to the OpenPGP Protocol. |