NeoMutt  2025-12-11-911-gd8d604
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
cryptglue.h
Go to the documentation of this file.
1
23
24#ifndef MUTT_NCRYPT_CRYPTGLUE_H
25#define MUTT_NCRYPT_CRYPTGLUE_H
26
27#include <stdbool.h>
28#include "lib.h"
29
30struct AddressList;
31struct Body;
32struct Email;
33struct State;
34
35struct Body *crypt_pgp_encrypt_message(struct Email *e, struct Body *b, char *keylist, int sign, const struct AddressList *from);
36char * crypt_pgp_find_keys(struct AddressList *al, bool oppenc_mode);
37void crypt_pgp_invoke_import(const char *fname);
38void crypt_pgp_set_sender(const char *sender);
39struct Body *crypt_pgp_sign_message(struct Body *b, const struct AddressList *from);
40struct Body *crypt_pgp_traditional_encryptsign(struct Body *b, SecurityFlags flags, char *keylist);
42int crypt_pgp_verify_one(struct Body *b, struct State *state, const char *tempf);
44
45struct Body *crypt_smime_build_smime_entity(struct Body *b, char *certlist);
46char * crypt_smime_find_keys(struct AddressList *al, bool oppenc_mode);
47void crypt_smime_invoke_import(const char *infile, const char *mailbox);
48void crypt_smime_set_sender(const char *sender);
49struct Body *crypt_smime_sign_message(struct Body *b, const struct AddressList *from);
51int crypt_smime_verify_one(struct Body *b, struct State *state, const char *tempf);
53
54#endif /* MUTT_NCRYPT_CRYPTGLUE_H */
struct Body * crypt_smime_build_smime_entity(struct Body *b, char *certlist)
Wrapper for CryptModuleSpecs::smime_build_smime_entity()
Definition cryptglue.c:592
struct Body * crypt_smime_sign_message(struct Body *b, const struct AddressList *from)
Wrapper for CryptModuleSpecs::sign_message()
Definition cryptglue.c:578
struct Body * crypt_pgp_traditional_encryptsign(struct Body *b, SecurityFlags flags, char *keylist)
Wrapper for CryptModuleSpecs::pgp_traditional_encryptsign()
Definition cryptglue.c:335
struct Body * crypt_pgp_sign_message(struct Body *b, const struct AddressList *from)
Wrapper for CryptModuleSpecs::sign_message()
Definition cryptglue.c:377
bool crypt_smime_valid_passphrase(void)
Wrapper for CryptModuleSpecs::valid_passphrase()
Definition cryptglue.c:496
void crypt_pgp_invoke_import(const char *fname)
Wrapper for CryptModuleSpecs::pgp_invoke_import()
Definition cryptglue.c:420
void crypt_smime_void_passphrase(void)
Wrapper for CryptModuleSpecs::void_passphrase()
Definition cryptglue.c:484
void crypt_smime_invoke_import(const char *infile, const char *mailbox)
Wrapper for CryptModuleSpecs::smime_invoke_import()
Definition cryptglue.c:606
void crypt_pgp_set_sender(const char *sender)
Wrapper for CryptModuleSpecs::set_sender()
Definition cryptglue.c:472
void crypt_smime_set_sender(const char *sender)
Wrapper for CryptModuleSpecs::set_sender()
Definition cryptglue.c:646
char * crypt_pgp_find_keys(struct AddressList *al, bool oppenc_mode)
Wrapper for CryptModuleSpecs::find_keys()
Definition cryptglue.c:363
int crypt_smime_verify_one(struct Body *b, struct State *state, const char *tempf)
Wrapper for CryptModuleSpecs::verify_one()
Definition cryptglue.c:618
void crypt_pgp_void_passphrase(void)
Wrapper for CryptModuleSpecs::void_passphrase()
Definition cryptglue.c:211
char * crypt_smime_find_keys(struct AddressList *al, bool oppenc_mode)
Wrapper for CryptModuleSpecs::find_keys()
Definition cryptglue.c:564
bool crypt_pgp_valid_passphrase(void)
Wrapper for CryptModuleSpecs::valid_passphrase()
Definition cryptglue.c:223
int crypt_pgp_verify_one(struct Body *b, struct State *state, const char *tempf)
Wrapper for CryptModuleSpecs::verify_one()
Definition cryptglue.c:432
struct Body * crypt_pgp_encrypt_message(struct Email *e, struct Body *b, char *keylist, int sign, const struct AddressList *from)
Wrapper for CryptModuleSpecs::pgp_encrypt_message()
Definition cryptglue.c:391
API for encryption/signing of emails.
uint16_t SecurityFlags
Definition lib.h:104
The body of an email.
Definition body.h:36
The envelope/body of an email.
Definition email.h:39
Keep track when processing files.
Definition state.h:54