aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/job.cpp
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2023-12-22 09:05:16 +0000
committerIngo Klöcker <[email protected]>2023-12-22 09:05:16 +0000
commite77a8ac0cc2ef356ef7e9da2793329432caf7406 (patch)
tree03f18a6d6f94013898e9ffd36cecf28651e1699a /lang/qt/src/job.cpp
parentqt: Support decryption (with verification) directly to/from files (diff)
downloadgpgme-e77a8ac0cc2ef356ef7e9da2793329432caf7406.tar.gz
gpgme-e77a8ac0cc2ef356ef7e9da2793329432caf7406.zip
qt: Support verification of opaque signed data directly to/from files
* lang/qt/src/Makefile.am: Add new files. * lang/qt/src/job.cpp (VerifyOpaqueJob): Move definition of constructor and destructor and inclusion of the moc file to the corresponding .cpp file. * lang/qt/src/verifyopaquejob.cpp: New. * lang/qt/src/verifyopaquejob.h (VerifyOpaqueJob): Add member functions setInputFile, inputFile, setOutputFile, outputFile. * lang/qt/src/verifyopaquejob_p.h: New. * lang/qt/src/qgpgmeverifyopaquejob.cpp (class QGpgMEVerifyOpaqueJobPrivate): New. (QGpgMEVerifyOpaqueJob::QGpgMEVerifyOpaqueJob): Instantiate private job class. (verify_from_filename): New. * lang/qt/tests/Makefile.am: Add new test program. * lang/qt/tests/run-verifyopaquejob.cpp: New. -- This makes it possible to tell gpg to read the input and write the output directly to a specified file bypassing GpgME's Data IO when verifying an opaque signed (or clear signed) file. GnuPG-bug-id: 6550
Diffstat (limited to 'lang/qt/src/job.cpp')
-rw-r--r--lang/qt/src/job.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lang/qt/src/job.cpp b/lang/qt/src/job.cpp
index 56088ce3..dbaba195 100644
--- a/lang/qt/src/job.cpp
+++ b/lang/qt/src/job.cpp
@@ -46,7 +46,6 @@
#include "decryptjob.h"
#include "signkeyjob.h"
#include "verifydetachedjob.h"
-#include "verifyopaquejob.h"
#include "keygenerationjob.h"
#include "importjob.h"
#include "importfromkeyserverjob.h"
@@ -163,7 +162,6 @@ make_job_subclass(ListAllKeysJob)
make_job_subclass(DecryptJob)
make_job_subclass(SignKeyJob)
make_job_subclass(VerifyDetachedJob)
-make_job_subclass(VerifyOpaqueJob)
make_job_subclass(KeyGenerationJob)
make_job_subclass(AbstractImportJob)
make_job_subclass_ext(ImportJob, AbstractImportJob)
@@ -197,7 +195,6 @@ make_job_subclass(SetPrimaryUserIDJob)
#include "decryptjob.moc"
#include "signkeyjob.moc"
#include "verifydetachedjob.moc"
-#include "verifyopaquejob.moc"
#include "keygenerationjob.moc"
#include "abstractimportjob.moc"
#include "importjob.moc"