diff options
author | Ingo Klöcker <[email protected]> | 2023-12-21 10:53:23 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2023-12-22 09:01:17 +0000 |
commit | 20b32e03503f8c3187508d9cd5ba07db2b03f014 (patch) | |
tree | 16eae3b81c8c584ae98a958549e5920bd982cd7c /lang/cpp/src/util.cpp | |
parent | qt: Support writing/reading signed/encrypted files directly to/from file (diff) | |
download | gpgme-20b32e03503f8c3187508d9cd5ba07db2b03f014.tar.gz gpgme-20b32e03503f8c3187508d9cd5ba07db2b03f014.zip |
qt: Support decryption (with verification) directly to/from files
* lang/qt/src/Makefile.am: Add new files.
* lang/qt/src/job.cpp (DecryptVerifyJob): Move definition of constructor
and destructor and inclusion of the moc file to the corresponding .cpp
file.
* lang/qt/src/decryptverifyjob.cpp: New.
* lang/qt/src/decryptverifyjob.h (DecryptVerifyJob): Add member
functions setInputFile, inputFile, setOutputFile, outputFile.
* lang/qt/src/decryptverifyjob_p.h: New.
* lang/qt/src/qgpgmedecryptverifyjob.cpp (class
QGpgMEDecryptVerifyJobPrivate): New.
(QGpgMEDecryptVerifyJob::QGpgMEDecryptVerifyJob): Instantiate private
job class.
(decrypt_verify_from_filename): New.
* lang/qt/tests/Makefile.am: Add new test program.
* lang/qt/tests/run-decryptverifyjob.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
decrypting (and verifying) a file.
GnuPG-bug-id: 6550
Diffstat (limited to 'lang/cpp/src/util.cpp')
0 files changed, 0 insertions, 0 deletions