NeoMutt  2020-08-07-1-gab41a1
Teaching an old dog new tricks
DOXYGEN
cryptglue.h
Go to the documentation of this file.
1 
24 #ifndef MUTT_NCRYPT_CRYPTGLUE_H
25 #define MUTT_NCRYPT_CRYPTGLUE_H
26 
27 #include <stdbool.h>
28 
29 struct AddressList;
30 struct Body;
31 struct Email;
32 struct State;
33 
34 struct Body *crypt_pgp_encrypt_message(struct Email *e, struct Body *a, char *keylist, int sign, const struct AddressList *from);
35 char * crypt_pgp_find_keys(struct AddressList *al, bool oppenc_mode);
36 void crypt_pgp_invoke_import(const char *fname);
37 void crypt_pgp_set_sender(const char *sender);
38 struct Body *crypt_pgp_sign_message(struct Body *a, const struct AddressList *from);
39 struct Body *crypt_pgp_traditional_encryptsign(struct Body *a, int flags, char *keylist);
41 int crypt_pgp_verify_one(struct Body *sigbdy, struct State *s, const char *tempf);
42 void crypt_pgp_void_passphrase(void);
43 
44 struct Body *crypt_smime_build_smime_entity(struct Body *a, char *certlist);
45 char * crypt_smime_find_keys(struct AddressList *al, bool oppenc_mode);
46 void crypt_smime_invoke_import(const char *infile, const char *mailbox);
47 void crypt_smime_set_sender(const char *sender);
48 struct Body *crypt_smime_sign_message(struct Body *a, const struct AddressList *from);
50 int crypt_smime_verify_one(struct Body *sigbdy, struct State *s, const char *tempf);
52 
53 #endif /* MUTT_NCRYPT_CRYPTGLUE_H */
The envelope/body of an email.
Definition: email.h:37
void crypt_pgp_void_passphrase(void)
Wrapper for CryptModuleSpecs::void_passphrase()
Definition: cryptglue.c:187
bool crypt_smime_valid_passphrase(void)
Wrapper for CryptModuleSpecs::valid_passphrase()
Definition: cryptglue.c:420
char * crypt_smime_find_keys(struct AddressList *al, bool oppenc_mode)
Wrapper for CryptModuleSpecs::find_keys()
Definition: cryptglue.c:475
struct Body * crypt_smime_sign_message(struct Body *a, const struct AddressList *from)
Wrapper for CryptModuleSpecs::sign_message()
Definition: cryptglue.c:486
void crypt_pgp_invoke_import(const char *fname)
Wrapper for CryptModuleSpecs::pgp_invoke_import()
Definition: cryptglue.c:362
The body of an email.
Definition: body.h:34
int crypt_pgp_verify_one(struct Body *sigbdy, struct State *s, const char *tempf)
Wrapper for CryptModuleSpecs::verify_one()
Definition: cryptglue.c:371
void crypt_smime_void_passphrase(void)
Wrapper for CryptModuleSpecs::void_passphrase()
Definition: cryptglue.c:411
void crypt_pgp_set_sender(const char *sender)
Wrapper for CryptModuleSpecs::set_sender()
Definition: cryptglue.c:402
char * crypt_pgp_find_keys(struct AddressList *al, bool oppenc_mode)
Wrapper for CryptModuleSpecs::find_keys()
Definition: cryptglue.c:314
struct Body * crypt_smime_build_smime_entity(struct Body *a, char *certlist)
Wrapper for CryptModuleSpecs::smime_build_smime_entity()
Definition: cryptglue.c:497
int crypt_smime_verify_one(struct Body *sigbdy, struct State *s, const char *tempf)
Wrapper for CryptModuleSpecs::verify_one()
Definition: cryptglue.c:517
void crypt_smime_invoke_import(const char *infile, const char *mailbox)
Wrapper for CryptModuleSpecs::smime_invoke_import()
Definition: cryptglue.c:508
Keep track when processing files.
Definition: state.h:44
struct Body * crypt_pgp_traditional_encryptsign(struct Body *a, int flags, char *keylist)
Wrapper for CryptModuleSpecs::pgp_traditional_encryptsign()
Definition: cryptglue.c:292
struct Body * crypt_pgp_sign_message(struct Body *a, const struct AddressList *from)
Wrapper for CryptModuleSpecs::sign_message()
Definition: cryptglue.c:325
struct Body * crypt_pgp_encrypt_message(struct Email *e, struct Body *a, char *keylist, int sign, const struct AddressList *from)
Wrapper for CryptModuleSpecs::pgp_encrypt_message()
Definition: cryptglue.c:336
bool crypt_pgp_valid_passphrase(void)
Wrapper for CryptModuleSpecs::valid_passphrase()
Definition: cryptglue.c:196
void crypt_smime_set_sender(const char *sender)
Wrapper for CryptModuleSpecs::set_sender()
Definition: cryptglue.c:539