diff options
Diffstat (limited to 'camel/camel-cipher-context.h')
-rw-r--r-- | camel/camel-cipher-context.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/camel/camel-cipher-context.h b/camel/camel-cipher-context.h index 5d9218b83e..db83e92438 100644 --- a/camel/camel-cipher-context.h +++ b/camel/camel-cipher-context.h @@ -71,7 +71,7 @@ typedef struct _CamelCipherContextClass { const char * (*hash_to_id)(CamelCipherContext *context, CamelCipherHash hash); int (*sign) (CamelCipherContext *context, const char *userid, CamelCipherHash hash, - struct _CamelStream *istream, struct _CamelMimePart *sigpart, CamelException *ex); + struct _CamelMimePart *ipart, struct _CamelMimePart *opart, CamelException *ex); CamelCipherValidity * (*verify) (CamelCipherContext *context, CamelCipherHash hash, struct _CamelStream *istream, struct _CamelMimePart *sigpart, @@ -107,7 +107,7 @@ const char * camel_cipher_hash_to_id (CamelCipherContext *context, CamelCip /* cipher routines */ int camel_cipher_sign (CamelCipherContext *context, const char *userid, CamelCipherHash hash, - struct _CamelStream *istream, struct _CamelMimePart *sigpart, CamelException *ex); + struct _CamelMimePart *ipart, struct _CamelMimePart *opart, CamelException *ex); CamelCipherValidity *camel_cipher_verify (CamelCipherContext *context, CamelCipherHash hash, struct _CamelStream *istream, struct _CamelMimePart *sigpart, CamelException *ex); @@ -132,6 +132,9 @@ void camel_cipher_validity_set_description (CamelCipherValidity void camel_cipher_validity_clear (CamelCipherValidity *validity); void camel_cipher_validity_free (CamelCipherValidity *validity); +/* utility functions */ +int camel_cipher_canonical_to_stream(CamelMimePart *part, CamelStream *ostream); + #ifdef __cplusplus } #endif /* __cplusplus */ |