aboutsummaryrefslogtreecommitdiffstats
path: root/gpgmeplug/gpgme-openpgp.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2002-01-16 17:48:23 +0000
committerMarcus Brinkmann <[email protected]>2002-01-16 17:48:23 +0000
commitf9dbfb9069abe49029edf9fa919f6c5406fa39b6 (patch)
tree061523bf84aa2f75e21926fb93c719e4534a5d78 /gpgmeplug/gpgme-openpgp.c
parent2002-01-16 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-f9dbfb9069abe49029edf9fa919f6c5406fa39b6.tar.gz
gpgme-f9dbfb9069abe49029edf9fa919f6c5406fa39b6.zip
2002-01-16 Marcus Brinkmann <[email protected]>
* gpgme-openpgp.c: New file. * Makefile.am (gpgme_openpgp_la_SOURCES): Replace gpgmeplug.c with gpgme-openpgp.c.
Diffstat (limited to 'gpgmeplug/gpgme-openpgp.c')
-rw-r--r--gpgmeplug/gpgme-openpgp.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/gpgmeplug/gpgme-openpgp.c b/gpgmeplug/gpgme-openpgp.c
new file mode 100644
index 00000000..dce22bea
--- /dev/null
+++ b/gpgmeplug/gpgme-openpgp.c
@@ -0,0 +1,37 @@
+#define GPGMEPLUG_PROTOCOL GPGME_PROTOCOL_OpenPGP
+
+#define GPGMEPLUG_SIGN_INCLUDE_CLEARTEXT true
+#define GPGMEPLUG_SIGN_MAKE_MIME_OBJECT true
+#define GPGMEPLUG_SIGN_MAKE_MULTI_MIME true
+#define GPGMEPLUG_SIGN_CTYPE_MAIN "multipart/signed;protocol=application/pgp-signature;micalg=pgp-sha1"
+#define GPGMEPLUG_SIGN_CDISP_MAIN ""
+#define GPGMEPLUG_SIGN_CTENC_MAIN ""
+#define GPGMEPLUG_SIGN_CTYPE_VERSION ""
+#define GPGMEPLUG_SIGN_CDISP_VERSION ""
+#define GPGMEPLUG_SIGN_CTENC_VERSION ""
+#define GPGMEPLUG_SIGN_BTEXT_VERSION ""
+#define GPGMEPLUG_SIGN_CTYPE_CODE "application/pgp-signature"
+#define GPGMEPLUG_SIGN_CDISP_CODE ""
+#define GPGMEPLUG_SIGN_CTENC_CODE ""
+#define GPGMEPLUG_SIGN_FLAT_PREFIX ""
+#define GPGMEPLUG_SIGN_FLAT_SEPARATOR ""
+#define GPGMEPLUG_SIGN_FLAT_POSTFIX ""
+
+#define GPGMEPLUG_ENC_INCLUDE_CLEARTEXT false
+#define GPGMEPLUG_ENC_MAKE_MIME_OBJECT true
+#define GPGMEPLUG_ENC_MAKE_MULTI_MIME true
+#define GPGMEPLUG_ENC_CTYPE_MAIN "multipart/encrypted; protocol=application/pgp-encrypted"
+#define GPGMEPLUG_ENC_CDISP_MAIN ""
+#define GPGMEPLUG_ENC_CTENC_MAIN ""
+#define GPGMEPLUG_ENC_CTYPE_VERSION "application/pgp-encrypted"
+#define GPGMEPLUG_ENC_CDISP_VERSION "attachment"
+#define GPGMEPLUG_ENC_CTENC_VERSION ""
+#define GPGMEPLUG_ENC_BTEXT_VERSION "Version: 1"
+#define GPGMEPLUG_ENC_CTYPE_CODE "application/octet-stream"
+#define GPGMEPLUG_ENC_CDISP_CODE "inline; filename=\"msg.asc\""
+#define GPGMEPLUG_ENC_CTENC_CODE ""
+#define GPGMEPLUG_ENC_FLAT_PREFIX ""
+#define GPGMEPLUG_ENC_FLAT_SEPARATOR ""
+#define GPGMEPLUG_ENC_FLAT_POSTFIX ""
+
+#include "gpgmeplug.c"