gpgme/lang/cpp/src
Werner Koch d8d5f5a167
core: New GPGME_DATA_ENCODING_MIME.
* src/gpgme.h.in (GPGME_DATA_ENCODING_MIME): New.
* src/data.c (gpgme_data_set_encoding): Adjust check.
* src/engine-gpg.c (have_gpg_version): New.
(gpg_encrypt, gpg_encrypt_sign): Pass flag '--mimemode'.
(gpg_sign): Ditto.

* lang/cpp/src/data.h (GpgME): Add MimeEncoding.
* lang/cpp/src/data.cpp (encoding, setEncoding): Support MimeEncoding.

* src/gpgme-tool.c (server_data_encoding): Add flag --mime.
--

This feature allows an application to declare that the encrypted or
signed data is a valid MIME part.

What is missing is a way to return that information to the application
after decryption/verification.  This can be done by setting the
encoding of the output data object; however this requires some
internal additions to our processing model.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-07-13 14:45:02 +02:00
..
interfaces Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
assuanresult.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
assuanresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
callbacks.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
callbacks.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
configuration.cpp Cpp: Remove last usages of boost 2016-04-11 17:00:59 +02:00
configuration.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
context_glib.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
context_p.h Qt / Cpp: Port auto_ptr to unique_ptr 2016-05-17 17:54:53 +02:00
context_qt.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
context_vanilla.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
context.cpp Cpp: Add feature enum for new identify 2016-07-13 11:56:18 +02:00
context.h Cpp: Add support for pinentry_mode 2016-07-04 11:44:38 +02:00
data_p.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
data.cpp core: New GPGME_DATA_ENCODING_MIME. 2016-07-13 14:45:02 +02:00
data.h core: New GPGME_DATA_ENCODING_MIME. 2016-07-13 14:45:02 +02:00
decryptionresult.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
decryptionresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
defaultassuantransaction.cpp Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
defaultassuantransaction.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
editinteractor.cpp Cpp: Do not treat KEYEXPIRED as error 2016-06-27 14:47:44 +02:00
editinteractor.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
encryptionresult.cpp Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
encryptionresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
engineinfo.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
engineinfo.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
error.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
eventloopinteractor.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
eventloopinteractor.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
exception.cpp Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
exception.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
global.h Cpp: Add feature enum for new identify 2016-07-13 11:56:18 +02:00
gpgadduserideditinteractor.cpp Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgadduserideditinteractor.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgagentgetinfoassuantransaction.cpp Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
gpgagentgetinfoassuantransaction.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgmefw.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgmepp_export.h Qt/Cpp: Add license blurb to export headers 2016-07-12 11:35:39 +02:00
gpgmepp_version.h.in Qt/Cpp: Add version headers 2016-07-12 11:35:39 +02:00
GpgmeppConfig.cmake.in.in Add pthread in gpgmepp config 2016-04-04 10:59:13 +02:00
GpgmeppConfigVersion.cmake.in Add cmake configuration files 2016-03-02 18:41:42 +01:00
gpgsetexpirytimeeditinteractor.cpp Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgsetexpirytimeeditinteractor.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgsetownertrusteditinteractor.cpp Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgsetownertrusteditinteractor.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgsignkeyeditinteractor.cpp Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
gpgsignkeyeditinteractor.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
importresult.cpp Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
importresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
key.cpp Cpp: Expose gpgme_pubkey_algo_name 2016-07-06 15:07:34 +02:00
key.h Cpp: Expose gpgme_pubkey_algo_name 2016-07-06 15:07:34 +02:00
keygenerationresult.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
keygenerationresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
keylistresult.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
keylistresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
Makefile.am Qt/Cpp: Add version headers 2016-07-12 11:35:39 +02:00
notation.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
result_p.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
result.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
scdgetinfoassuantransaction.cpp Cpp: Remove last usages of boost 2016-04-11 17:00:59 +02:00
scdgetinfoassuantransaction.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
signingresult.cpp Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
signingresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
tofuinfo.cpp Cpp: Add TofuInfo to signatures 2016-07-01 16:52:34 +02:00
tofuinfo.h Cpp: Add TofuInfo to signatures 2016-07-01 16:52:34 +02:00
trustitem.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
trustitem.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
util.h Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
verificationresult.cpp Cpp: Add support for TOFU_CONFLICT sigsum 2016-07-04 11:44:39 +02:00
verificationresult.h Cpp: Add support for TOFU_CONFLICT sigsum 2016-07-04 11:44:39 +02:00
vfsmountresult.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
vfsmountresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00