26#ifndef MUTT_NCRYPT_PGP_H
27#define MUTT_NCRYPT_PGP_H
int pgp_class_application_handler(struct Body *m, struct State *state)
Implements CryptModuleSpecs::application_handler() -.
int pgp_class_decrypt_mime(FILE *fp_in, FILE **fp_out, struct Body *b, struct Body **cur)
Implements CryptModuleSpecs::decrypt_mime() -.
int pgp_class_encrypted_handler(struct Body *a, struct State *state)
Implements CryptModuleSpecs::encrypted_handler() -.
char * pgp_class_find_keys(const struct AddressList *addrlist, bool oppenc_mode)
Implements CryptModuleSpecs::find_keys() -.
bool pgp_class_check_traditional(FILE *fp, struct Body *b, bool just_one)
Implements CryptModuleSpecs::pgp_check_traditional() -.
struct Body * pgp_class_encrypt_message(struct Body *a, char *keylist, bool sign, const struct AddressList *from)
Implements CryptModuleSpecs::pgp_encrypt_message() -.
struct Body * pgp_class_traditional_encryptsign(struct Body *a, SecurityFlags flags, char *keylist)
Implements CryptModuleSpecs::pgp_traditional_encryptsign() -.
struct Body * pgp_class_sign_message(struct Body *a, const struct AddressList *from)
Implements CryptModuleSpecs::sign_message() -.
bool pgp_class_valid_passphrase(void)
Implements CryptModuleSpecs::valid_passphrase() -.
int pgp_class_verify_one(struct Body *sigbdy, struct State *state, const char *tempfile)
Implements CryptModuleSpecs::verify_one() -.
void pgp_class_void_passphrase(void)
Implements CryptModuleSpecs::void_passphrase() -.
uint16_t SecurityFlags
Flags, e.g. SEC_ENCRYPT.
char * pgp_long_keyid(struct PgpKeyInfo *k)
Get a key's long id.
char * pgp_this_keyid(struct PgpKeyInfo *k)
Get the ID of this key.
char * pgp_keyid(struct PgpKeyInfo *k)
Get the ID of the main (parent) key.
char * pgp_fpr_or_lkeyid(struct PgpKeyInfo *k)
Get the fingerprint or long keyid.
char * pgp_short_keyid(struct PgpKeyInfo *k)
Get a key's short id.
bool pgp_use_gpg_agent(void)
Does the user want to use the gpg agent?
The envelope/body of an email.
Information about a PGP key.
Keep track when processing files.
FILE * fp_out
File to write to.
FILE * fp_in
File to read from.