2 * Copyright notice from original mutt:
3 * Copyright (C) 2001,2002 Oliver Ehli <elmy@acm.org>
4 * Copyright (C) 2004 g10 Code GmbH
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.
11 #ifdef CRYPT_BACKEND_CLASSIC_SMIME
13 #include "mutt_crypt.h"
19 void smime_void_passphrase (void);
20 int smime_valid_passphrase (void);
22 int smime_decrypt_mime (FILE *, FILE **, BODY *, BODY **);
24 void smime_application_smime_handler (BODY *, STATE *);
27 BODY *smime_sign_message (BODY *);
29 BODY *smime_build_smime_entity (BODY *, char *);
31 int smime_verify_one (BODY *, STATE *, const char *);
34 int smime_verify_sender (HEADER *);
37 char *smime_get_field_from_db (char *, char *, short, short);
39 void smime_getkeys (ENVELOPE *);
41 char *smime_ask_for_key (char *, char *, short);
43 char *smime_findKeys (ADDRESS * to, ADDRESS * cc, ADDRESS * bcc);
45 void smime_invoke_import (char *, char *);
47 int smime_send_menu (HEADER * msg, int *redraw);