diff options
author | Not Zed <NotZed@Ximian.com> | 2003-11-05 08:42:40 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-11-05 08:42:40 +0800 |
commit | d0375813d86145111e6bc5da07e565157de451e9 (patch) | |
tree | 3ae20f9fdd14847b7fda402668c5bca59aff4559 /camel/camel-smime-context.h | |
parent | 0c29bfd43c82a09225733235db2d9cd9a79b07ae (diff) | |
download | gsoc2013-evolution-d0375813d86145111e6bc5da07e565157de451e9.tar gsoc2013-evolution-d0375813d86145111e6bc5da07e565157de451e9.tar.gz gsoc2013-evolution-d0375813d86145111e6bc5da07e565157de451e9.tar.bz2 gsoc2013-evolution-d0375813d86145111e6bc5da07e565157de451e9.tar.lz gsoc2013-evolution-d0375813d86145111e6bc5da07e565157de451e9.tar.xz gsoc2013-evolution-d0375813d86145111e6bc5da07e565157de451e9.tar.zst gsoc2013-evolution-d0375813d86145111e6bc5da07e565157de451e9.zip |
new (unfinished) api to peek inside smime parts to tell us whats in it.
2003-11-05 Not Zed <NotZed@Ximian.com>
* camel-smime-context.c (camel_smime_context_describe_part): new
(unfinished) api to peek inside smime parts to tell us whats in
it.
2003-11-03 Not Zed <NotZed@Ximian.com>
* camel-gpg-context.c (gpg_encrypt): Make this output the
full multipart/encrypted part, not just the encrypted content part.
* camel-cipher-context.c (camel_cipher_sign): change to output
full mime part, not just a stream.
(camel_cipher_canonical_to_stream): utility function to
canonicalise a mimepart to a stream.
* camel-smime-context.c (sm_encode_cmsmessage): removed.
(sm_sign): change interface to output a full mime-part, not just a
part of a mime part in multipart/signed mode.
svn path=/trunk/; revision=23187
Diffstat (limited to 'camel/camel-smime-context.h')
-rw-r--r-- | camel/camel-smime-context.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/camel/camel-smime-context.h b/camel/camel-smime-context.h index a68d5e1646..f0e8d45c3b 100644 --- a/camel/camel-smime-context.h +++ b/camel/camel-smime-context.h @@ -41,6 +41,12 @@ typedef enum _camel_smime_sign_t { CAMEL_SMIME_SIGN_ENVELOPED } camel_smime_sign_t; +typedef enum _camel_smime_describe_t { + CAMEL_SMIME_SIGNED = 1, + CAMEL_SMIME_ENCRYPTED = 2, + CAMEL_SMIME_CERTS = 4, +} camel_smime_describe_t; + typedef struct _CamelSMIMEContext CamelSMIMEContext; typedef struct _CamelSMIMEContextClass CamelSMIMEContextClass; @@ -63,6 +69,8 @@ void camel_smime_context_set_encrypt_key(CamelSMIMEContext *context, gboolean us /* set signing mode, clearsigned multipart/signed or enveloped */ void camel_smime_context_set_sign_mode(CamelSMIMEContext *context, camel_smime_sign_t type); +guint32 camel_smime_context_describe_part(CamelSMIMEContext *, struct _CamelMimePart *); + #ifdef __cplusplus } #endif /* __cplusplus */ |