diff options
author | Werner Koch <[email protected]> | 2018-04-17 11:48:56 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-04-17 11:48:56 +0000 |
commit | 01435da498af9f7538d7ee810392d7eaa407957e (patch) | |
tree | 8a9515130220ecdf058c85fcf9ce24e88618872c /doc/gpgme.texi | |
parent | core: New keyword --file for OpenPGP recpstring. (diff) | |
download | gpgme-01435da498af9f7538d7ee810392d7eaa407957e.tar.gz gpgme-01435da498af9f7538d7ee810392d7eaa407957e.zip |
core: Extend decryption result with symkey_algo.
* src/gpgme.h.in (gpgme_op_decrypt_result_t): Add field 'symkey_algo'.
* src/decrypt.c (release_op_data): Free SYMKEY_ALGO.
(gpgme_op_decrypt_result): Make sure SYMKEY_ALGO is not NULL.
(parse_decryption_info): New.
(_gpgme_decrypt_status_handler): Parse DECRYPTION_INFO status.
* src/conversion.c (_gpgme_cipher_algo_name): New.
(_gpgme_cipher_mode_name): New.
* tests/run-decrypt.c (print_result): Print SYMKEY_ALGO
* src/util.h (_gpgme_map_gnupg_error): Remove obsolete prototype.
--
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | doc/gpgme.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi index f5efec67..5a09ea0a 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -5399,6 +5399,13 @@ You must not try to access this member of the struct unless or @code{gpgme_get_ctx_flag (ctx, "export-session-key")} returns true (non-empty string). +@item char *symkey_algo +@since{1.11.0} + +A string with the symmetric encryption algorithm and mode using the +format "<algo>.<mode>". Note that old non-MDC encryption mode of +OpenPGP is given as "PGPCFB". + @end table @end deftp |