small fix
[gpgme.git] / gpgmeplug / gpgme-smime.c
1 #define GPGMEPLUG_PROTOCOL GPGME_PROTOCOL_CMS
2
3 #define GPGMEPLUG_SIGN_INCLUDE_CLEARTEXT true
4 #define GPGMEPLUG_SIGN_MAKE_MIME_OBJECT  true
5 #define GPGMEPLUG_SIGN_MAKE_MULTI_MIME   true
6 #define GPGMEPLUG_SIGN_CTYPE_MAIN        "multipart/signed; protocol=\"application/pkcs7-signature\"; micalg=sha1"
7 #define GPGMEPLUG_SIGN_CDISP_MAIN        ""
8 #define GPGMEPLUG_SIGN_CTENC_MAIN        ""
9 #define GPGMEPLUG_SIGN_CTYPE_VERSION     ""
10 #define GPGMEPLUG_SIGN_CDISP_VERSION     ""
11 #define GPGMEPLUG_SIGN_CTENC_VERSION     ""
12 #define GPGMEPLUG_SIGN_BTEXT_VERSION     ""
13 #define GPGMEPLUG_SIGN_CTYPE_CODE        "application/pkcs7-signature; name=\"smime.p7s\""
14 #define GPGMEPLUG_SIGN_CDISP_CODE        "attachment; filename=\"smime.p7s\""
15 #define GPGMEPLUG_SIGN_CTENC_CODE        "base64"
16 #define GPGMEPLUG_SIGN_FLAT_PREFIX       ""
17 #define GPGMEPLUG_SIGN_FLAT_SEPARATOR    ""
18 #define GPGMEPLUG_SIGN_FLAT_POSTFIX      ""
19 #define __GPGMEPLUG_SIGNATURE_CODE_IS_BINARY true
20
21 #define GPGMEPLUG_ENC_INCLUDE_CLEARTEXT  false
22 #define GPGMEPLUG_ENC_MAKE_MIME_OBJECT   true
23 #define GPGMEPLUG_ENC_MAKE_MULTI_MIME    false
24 #define GPGMEPLUG_ENC_CTYPE_MAIN         "application/pkcs7-mime; smime-type=enveloped-data; name=\"smime.p7m\""
25 #define GPGMEPLUG_ENC_CDISP_MAIN         "attachment; filename=\"smime.p7m\""
26 #define GPGMEPLUG_ENC_CTENC_MAIN         "base64"
27 #define GPGMEPLUG_ENC_CTYPE_VERSION      ""
28 #define GPGMEPLUG_ENC_CDISP_VERSION      ""
29 #define GPGMEPLUG_ENC_CTENC_VERSION      ""
30 #define GPGMEPLUG_ENC_BTEXT_VERSION      ""
31 #define GPGMEPLUG_ENC_CTYPE_CODE         ""
32 #define GPGMEPLUG_ENC_CDISP_CODE         ""
33 #define GPGMEPLUG_ENC_CTENC_CODE         ""
34 #define GPGMEPLUG_ENC_FLAT_PREFIX        ""
35 #define GPGMEPLUG_ENC_FLAT_SEPARATOR     ""
36 #define GPGMEPLUG_ENC_FLAT_POSTFIX       ""
37 #define __GPGMEPLUG_ENCRYPTED_CODE_IS_BINARY true
38
39 #include "gpgmeplug.c"