diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-07 14:37:18 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-07 14:37:18 +0800 |
commit | ae05d707ad0185f657c466181b0320ad04ed0ee8 (patch) | |
tree | 5693ed08a22bf6b7658855fb097812c5673a8ecd /mail/mail-crypto.h | |
parent | 53af5692dfd501eb6ba728abb934931f6d5c8ab8 (diff) | |
download | gsoc2013-evolution-ae05d707ad0185f657c466181b0320ad04ed0ee8.tar gsoc2013-evolution-ae05d707ad0185f657c466181b0320ad04ed0ee8.tar.gz gsoc2013-evolution-ae05d707ad0185f657c466181b0320ad04ed0ee8.tar.bz2 gsoc2013-evolution-ae05d707ad0185f657c466181b0320ad04ed0ee8.tar.lz gsoc2013-evolution-ae05d707ad0185f657c466181b0320ad04ed0ee8.tar.xz gsoc2013-evolution-ae05d707ad0185f657c466181b0320ad04ed0ee8.tar.zst gsoc2013-evolution-ae05d707ad0185f657c466181b0320ad04ed0ee8.zip |
New function to decide if a mime part is an S/MIME v3 signed part.
2001-03-07 Jeffrey Stedfast <fejj@ximian.com>
* mail-crypto.c (mail_crypto_is_smime_v3_signed): New function to
decide if a mime part is an S/MIME v3 signed part.
(mail_crypto_is_pkcs7_mime): New function to decide if a mime part
is an application/pkcs7-mime part (or an application/octet-stream
part with application/pkcs7-mime data).
svn path=/trunk/; revision=8578
Diffstat (limited to 'mail/mail-crypto.h')
-rw-r--r-- | mail/mail-crypto.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-crypto.h b/mail/mail-crypto.h index 8a5c328c9c..746320082e 100644 --- a/mail/mail-crypto.h +++ b/mail/mail-crypto.h @@ -33,9 +33,11 @@ extern "C" { #endif /* __cplusplus }*/ gboolean mail_crypto_is_rfc2015_signed (CamelMimePart *part); - gboolean mail_crypto_is_rfc2015_encrypted (CamelMimePart *part); +gboolean mail_crypto_is_smime_v3_signed (CamelMimePart *mime_part); +gboolean mail_crypto_is_pkcs7_mime (CamelMimePart *mime_part); + void pgp_mime_part_sign (CamelMimePart **mime_part, const gchar *userid, PgpHashType hash, |