aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-crypto.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-06-01 04:37:06 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-06-01 04:37:06 +0800
commite6b36266c76dcdd4eca1c0e2e6f682ca0b9f7dcc (patch)
treedea3949c456568b65e35be3a4d688ca9841ce9c7 /mail/mail-crypto.h
parentfb099f5619f60f6c47658c052fae8d9a597b86d6 (diff)
downloadgsoc2013-evolution-e6b36266c76dcdd4eca1c0e2e6f682ca0b9f7dcc.tar
gsoc2013-evolution-e6b36266c76dcdd4eca1c0e2e6f682ca0b9f7dcc.tar.gz
gsoc2013-evolution-e6b36266c76dcdd4eca1c0e2e6f682ca0b9f7dcc.tar.bz2
gsoc2013-evolution-e6b36266c76dcdd4eca1c0e2e6f682ca0b9f7dcc.tar.lz
gsoc2013-evolution-e6b36266c76dcdd4eca1c0e2e6f682ca0b9f7dcc.tar.xz
gsoc2013-evolution-e6b36266c76dcdd4eca1c0e2e6f682ca0b9f7dcc.tar.zst
gsoc2013-evolution-e6b36266c76dcdd4eca1c0e2e6f682ca0b9f7dcc.zip
Removed the code to check for the validity of an S/MIME part. Stuff works
2001-05-31 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_signed): Removed the code to check for the validity of an S/MIME part. Stuff works differently now. * mail-crypto.c: Rewrote how the S/MIME stuff is going to work. svn path=/trunk/; revision=10066
Diffstat (limited to 'mail/mail-crypto.h')
-rw-r--r--mail/mail-crypto.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/mail/mail-crypto.h b/mail/mail-crypto.h
index 806430173e..2508d77304 100644
--- a/mail/mail-crypto.h
+++ b/mail/mail-crypto.h
@@ -48,21 +48,22 @@ void mail_crypto_pgp_mime_part_encrypt (CamelMimePart **mime_part,
CamelMimePart *mail_crypto_pgp_mime_part_decrypt (CamelMimePart *mime_part,
CamelException *ex);
-/* S/MIME convenience wrappers */
-void mail_crypto_smime_part_sign (CamelMimePart **mime_part,
- const char *userid,
- CamelCipherHash hash,
- CamelException *ex);
+/* S/MIME v3 convenience wrappers */
+CamelMimeMessage *mail_crypto_smime_sign (CamelMimeMessage *message, const char *userid,
+ gboolean signing_time, gboolean detached,
+ CamelException *ex);
-CamelCipherValidity *mail_crypto_smime_part_verify (CamelMimePart *mime_part,
- CamelException *ex);
+CamelMimeMessage *mail_crypto_smime_certsonly (CamelMimeMessage *message, const char *userid,
+ GPtrArray *recipients, CamelException *ex);
-void mail_crypto_smime_part_encrypt (CamelMimePart **mime_part,
- GPtrArray *recipients,
- CamelException *ex);
+CamelMimeMessage *mail_crypto_smime_encrypt (CamelMimeMessage *message, const char *userid,
+ GPtrArray *recipients, CamelException *ex);
-CamelMimePart *mail_crypto_smime_part_decrypt (CamelMimePart *mime_part,
- CamelException *ex);
+CamelMimeMessage *mail_crypto_smime_envelope (CamelMimeMessage *message, const char *userid,
+ GPtrArray *recipients, CamelException *ex);
+
+CamelMimeMessage *mail_crypto_smime_decode (CamelMimeMessage *message,
+ CamelCMSValidityInfo **info, CamelException *ex);
#ifdef __cplusplus
}