From e77a8ac0cc2ef356ef7e9da2793329432caf7406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Fri, 22 Dec 2023 10:05:16 +0100 Subject: 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 --- lang/qt/src/job.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'lang/qt/src/job.cpp') 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" -- cgit v1.2.3