diff options
author | Jeffrey Stedfast <fejj@gnome.org> | 2011-02-08 09:03:02 -0500 |
---|---|---|
committer | Jeffrey Stedfast <fejj@gnome.org> | 2011-02-08 09:03:02 -0500 |
commit | afc52c04102a2b04135cc780cca676a555ddb6b7 (patch) | |
tree | 396908428f87fb83b5ec6bbd903188f24027bf48 /PORTING | |
parent | 4144b8690890ab1864a0f9e89c62dcf4920d1a3d (diff) | |
download | gmime-afc52c04102a2b04135cc780cca676a555ddb6b7.tar.gz |
Improved multipart/encrypted decrypt API
2011-02-08 Jeffrey Stedfast <fejj@novell.com>
* PORTING: Updated docs.
* mono/GMime.metadata: Fixed up for the new decrypt API.
* gmime/gmime-message.c (multipart_guess_body): Updated. We can
* no
longer descend into the decrypted part because it is no longer
cached.
* gmime/gmime-multipart-encrypted.c
* (g_mime_multipart_encrypted_decrypt):
Now takes a GMimeSignatureValidity argument and no longer caches
the decrypted mime part/validity.
(g_mime_multipart_encrypted_get_signature_validity): Removed.
(g_mime_multipart_encrypted_encrypt): Don't cache the input part
as the decrypted part.
Diffstat (limited to 'PORTING')
-rw-r--r-- | PORTING | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -54,8 +54,14 @@ Other API changes include: - g_mime_crypto_context_encrypt() now takes a digest algorithm argument which is used when the 'sign' argument is TRUE. -- g_mime_multipart_encrypted() also now takes a sigest algorithm - argument which it passes along to g_mime_crypto_context_encrypt(). +- g_mime_multipart_encrypted_encrypt() also now takes a digest + algorithm argument which it passes along to + g_mime_crypto_context_encrypt(). + +- g_mime_multipart_encrypted_decrypt() no longer caches the decrypted + part and also now takes a GMimeSignatureValidity** output argument + which it sets in place of having to call + g_mime_multipart_encrypted_get_signature_validity() afterward. For convenience, GMime 2.6 source packages include a shell-script to aid in porting applications using GMime 2.4 to the 2.6 API. You can |