f127e0618b6bfc92acc9b9a7d0f1d31286e5f6d2
[apps/madmutt.git] / lib-crypt / smime.h
1 /*
2  * Copyright notice from original mutt:
3  * Copyright (C) 2001,2002 Oliver Ehli <elmy@acm.org>
4  * Copyright (C) 2004 g10 Code GmbH
5  *
6  * This file is part of mutt-ng, see http://www.muttng.org/.
7  * It's licensed under the GNU General Public License,
8  * please see the file GPL in the top level source directory.
9  */
10
11
12 #include "crypt.h"
13
14 int smime_decrypt_mime (FILE *, FILE **, BODY *, BODY **);
15
16 int smime_application_smime_handler (BODY *, STATE *);
17
18
19 BODY *smime_sign_message (BODY *);
20
21 BODY *smime_build_smime_entity (BODY *, char *);
22
23 int smime_verify_one (BODY *, STATE *, const char *);
24
25
26 int smime_verify_sender (HEADER *);
27
28
29 char *smime_get_field_from_db (char *, char *, short, short);
30
31 void smime_getkeys (ENVELOPE *);
32
33 char *smime_ask_for_key (char *, char *, short);
34
35 char *smime_findKeys (address_t * to, address_t * cc, address_t * bcc);
36
37 void smime_invoke_import (char *, char *);
38
39 int smime_send_menu (HEADER * msg, int *redraw);