aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-crypto.h')
-rw-r--r--mail/mail-crypto.h27
1 files changed, 12 insertions, 15 deletions
diff --git a/mail/mail-crypto.h b/mail/mail-crypto.h
index 96fe5cb19e..a96e856d5b 100644
--- a/mail/mail-crypto.h
+++ b/mail/mail-crypto.h
@@ -24,33 +24,30 @@
#define MAIL_CRYPTO_H
#include <camel/camel.h>
-#include "openpgp-utils.h"
+#include <camel/camel-pgp-mime.h>
#ifdef __cplusplus
extern "C" {
#pragma }
#endif /* __cplusplus }*/
-gboolean mail_crypto_is_rfc2015_signed (CamelMimePart *part);
-gboolean mail_crypto_is_rfc2015_encrypted (CamelMimePart *part);
-
gboolean mail_crypto_is_smime_v3_signed (CamelMimePart *mime_part);
gboolean mail_crypto_is_pkcs7_mime (CamelMimePart *mime_part);
-void pgp_mime_part_sign (CamelMimePart **mime_part,
- const gchar *userid,
- PgpHashType hash,
- CamelException *ex);
+void mail_crypto_pgp_mime_part_sign (CamelMimePart **mime_part,
+ const char *userid,
+ CamelPgpHashType hash,
+ CamelException *ex);
-PgpValidity *pgp_mime_part_verify (CamelMimePart *mime_part,
- CamelException *ex);
+CamelPgpValidity *mail_crypto_pgp_mime_part_verify (CamelMimePart *mime_part,
+ CamelException *ex);
-void pgp_mime_part_encrypt (CamelMimePart **mime_part,
- const GPtrArray *recipients,
- CamelException *ex);
+void mail_crypto_pgp_mime_part_encrypt (CamelMimePart **mime_part,
+ GPtrArray *recipients,
+ CamelException *ex);
-CamelMimePart *pgp_mime_part_decrypt (CamelMimePart *mime_part,
- CamelException *ex);
+CamelMimePart *mail_crypto_pgp_mime_part_decrypt (CamelMimePart *mime_part,
+ CamelException *ex);
#ifdef __cplusplus
}