diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-08-06 14:34:14 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-08-06 14:34:14 +0800 |
commit | 43e3ba9da9a44b1f0ad6a5f78a27927f5cc8b531 (patch) | |
tree | 18a2fddb1ded7ce680f329473dc8576282466676 /mail/mail.h | |
parent | c115cff69df04b7580fd8a50e087c7bd53614cec (diff) | |
download | gsoc2013-evolution-43e3ba9da9a44b1f0ad6a5f78a27927f5cc8b531.tar.gz gsoc2013-evolution-43e3ba9da9a44b1f0ad6a5f78a27927f5cc8b531.tar.zst gsoc2013-evolution-43e3ba9da9a44b1f0ad6a5f78a27927f5cc8b531.zip |
Added support for encrypting with GnuPG. Support for PGP5 and PGP2 are
2000-08-06 Jeffrey Stedfast <fejj@helixcode.com>
* mail-crypto.c (mail_crypto_openpgp_encrypt): Added support for
encrypting with GnuPG. Support for PGP5 and PGP2 are still in
progress.
svn path=/trunk/; revision=4557
Diffstat (limited to 'mail/mail.h')
-rw-r--r-- | mail/mail.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/mail.h b/mail/mail.h index 83f5001605..6247ae5d24 100644 --- a/mail/mail.h +++ b/mail/mail.h @@ -36,6 +36,12 @@ CamelFolder *mail_uri_to_folder (const char *uri); char *mail_crypto_openpgp_decrypt (const char *ciphertext, const char *passphrase, CamelException *ex); + +char *mail_crypto_openpgp_encrypt (const char *plaintext, + const GPtrArray *recipients, + const char *passphrase, + gboolean sign, + CamelException *ex); /* FIXME: add encryption & signing functions */ /* mail-format */ |