24#ifndef MUTT_NCRYPT_CRYPT_MOD_H
25#define MUTT_NCRYPT_CRYPT_MOD_H
138 char *(*find_keys)(
const struct AddressList *addrlist,
bool oppenc_mode);
150 struct Body *(*sign_message)(
struct Body *b,
const struct AddressList *from);
198 struct Body *(*pgp_encrypt_message)(
struct Body *b,
char *keylist,
bool sign,
const struct AddressList *from);
208 struct Body *(*pgp_make_key_attachment)(void);
295 struct Body *(*smime_build_smime_entity)(
struct Body *b,
char *certlist);
const struct CryptModuleSpecs * crypto_module_lookup(int identifier)
Lookup a crypto module by name.
void crypto_module_register(const struct CryptModuleSpecs *specs)
Register a new crypto module.
uint16_t SecurityFlags
Flags, e.g. SEC_ENCRYPT.
int(* encrypted_handler)(struct Body *b, struct State *state)
void(* pgp_invoke_import)(const char *fname)
int(* decrypt_mime)(FILE *fp_in, FILE **fp_out, struct Body *b, struct Body **b_dec)
void(* smime_getkeys)(struct Envelope *env)
void(* set_sender)(const char *sender)
void(* pgp_extract_key_from_attachment)(FILE *fp, struct Body *b)
int identifier
Identifying bit.
bool(* valid_passphrase)(void)
int(* application_handler)(struct Body *b, struct State *state)
SecurityFlags(* send_menu)(struct Email *e)
int(* smime_verify_sender)(struct Email *e, struct Message *msg)
bool(* pgp_check_traditional)(FILE *fp, struct Body *b, bool just_one)
int(* verify_one)(struct Body *b, struct State *state, const char *tempf)
void(* void_passphrase)(void)
void(* pgp_invoke_getkeys)(struct Address *addr)
void(* smime_invoke_import)(const char *infile, const char *mailbox)
The envelope/body of an email.
A local copy of an email.
Keep track when processing files.