cosmetics
[apps/madmutt.git] / 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 #ifdef CRYPT_BACKEND_CLASSIC_SMIME
12
13 #include "mutt_crypt.h"
14
15
16
17
18
19 void smime_void_passphrase (void);
20 int smime_valid_passphrase (void);
21
22 int smime_decrypt_mime (FILE *, FILE **, BODY *, BODY **);
23
24 int smime_application_smime_handler (BODY *, STATE *);
25
26
27 BODY *smime_sign_message (BODY *);
28
29 BODY *smime_build_smime_entity (BODY *, char *);
30
31 int smime_verify_one (BODY *, STATE *, const char *);
32
33
34 int smime_verify_sender (HEADER *);
35
36
37 char *smime_get_field_from_db (char *, char *, short, short);
38
39 void smime_getkeys (ENVELOPE *);
40
41 char *smime_ask_for_key (char *, char *, short);
42
43 char *smime_findKeys (address_t * to, address_t * cc, address_t * bcc);
44
45 void smime_invoke_import (char *, char *);
46
47 int smime_send_menu (HEADER * msg, int *redraw);
48
49 #endif