aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-cipher-context.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-05-15 06:25:02 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-05-15 06:25:02 +0800
commit2798919c3c8031d9bff195b83feeb61a4583d8ee (patch)
treeaadb5b0db44aa5993868b2f3ea5a1e04ffccaba6 /camel/camel-cipher-context.h
parentdbeec96be886a5253455f804683c1c3b3c711fc8 (diff)
downloadgsoc2013-evolution-2798919c3c8031d9bff195b83feeb61a4583d8ee.tar
gsoc2013-evolution-2798919c3c8031d9bff195b83feeb61a4583d8ee.tar.gz
gsoc2013-evolution-2798919c3c8031d9bff195b83feeb61a4583d8ee.tar.bz2
gsoc2013-evolution-2798919c3c8031d9bff195b83feeb61a4583d8ee.tar.lz
gsoc2013-evolution-2798919c3c8031d9bff195b83feeb61a4583d8ee.tar.xz
gsoc2013-evolution-2798919c3c8031d9bff195b83feeb61a4583d8ee.tar.zst
gsoc2013-evolution-2798919c3c8031d9bff195b83feeb61a4583d8ee.zip
Lots of fixes to get this to almost compile. Still struggling with the
2001-05-14 Jeffrey Stedfast <fejj@ximian.com> * camel-smime-context.c: Lots of fixes to get this to almost compile. Still struggling with the fact that CERTCertDBHandle is an "incomplete type". *sigh*. * camel-smime.c (camel_smime_part_verify): Updated to pass in a hash argument to camel_smime_verify(). * camel-pgp-mime.c (camel_pgp_mime_part_verify): Update according to the changes in the context API. * camel-pgp-context.c (pgp_verify): Updated to take a CamelCipherHash argument. * camel-cipher-context.c (camel_cipher_verify): Now takes a hash argument since the S/MIME code needs this. svn path=/trunk/; revision=9804
Diffstat (limited to 'camel/camel-cipher-context.h')
-rw-r--r--camel/camel-cipher-context.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/camel/camel-cipher-context.h b/camel/camel-cipher-context.h
index acc1a88f90..06846e5840 100644
--- a/camel/camel-cipher-context.h
+++ b/camel/camel-cipher-context.h
@@ -64,8 +64,9 @@ typedef struct _CamelCipherContextClass {
int (*clearsign) (CamelCipherContext *context, const char *userid, CamelCipherHash hash,
CamelStream *istream, CamelStream *ostream, CamelException *ex);
- CamelCipherValidity * (*verify) (CamelCipherContext *context, CamelStream *istream,
- CamelStream *sigstream, CamelException *ex);
+ CamelCipherValidity * (*verify) (CamelCipherContext *context, CamelCipherHash hash,
+ CamelStream *istream, CamelStream *sigstream,
+ CamelException *ex);
int (*encrypt) (CamelCipherContext *context, gboolean sign, const char *userid,
GPtrArray *recipients, CamelStream *istream, CamelStream *ostream,
@@ -89,7 +90,8 @@ int camel_cipher_sign (CamelCipherContext *context, const char
int camel_cipher_clearsign (CamelCipherContext *context, const char *userid, CamelCipherHash hash,
CamelStream *istream, CamelStream *ostream, CamelException *ex);
-CamelCipherValidity *camel_cipher_verify (CamelCipherContext *context, CamelStream *istream, CamelStream *sigstream,
+CamelCipherValidity *camel_cipher_verify (CamelCipherContext *context, CamelCipherHash hash,
+ CamelStream *istream, CamelStream *sigstream,
CamelException *ex);
int camel_cipher_encrypt (CamelCipherContext *context, gboolean sign, const char *userid,