#include <lib-mime/mime.h>
#include "state.h"
+#include "crypt.li"
#define ENCRYPT (1 << 0)
#define SIGN (1 << 1)
int mutt_protect (HEADER *, char *);
int mutt_signed_handler (BODY *, STATE *);
int mutt_parse_crypt_hdr (char *, int);
+int mutt_check_traditional_pgp (HEADER *, int *);
/* Check out the type of encryption used and set the cached status
values if there are any. */
/* MIME handler for an PGP/MIME encrypted message. */
int crypt_pgp_encrypted_handler (BODY * a, STATE * s);
-/* fixme: needs documentation. */
-void crypt_pgp_invoke_getkeys (address_t * addr);
-
/* Check for a traditional PGP message in body B. */
int crypt_pgp_check_traditional (FILE * fp, BODY * b, int tagged_only);
/* MIME handler for the application/smime content-type. */
int crypt_smime_application_smime_handler (BODY * m, STATE * s);
-/* fixme: Needs documentation. */
-void crypt_smime_getkeys (ENVELOPE * env);
-
/* Check that the sender matches. */
int crypt_smime_verify_sender (HEADER * h);