NeoMutt  2023-11-03-107-g582dc1
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
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#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:497
struct Body * crypt_smime_sign_message(struct Body *b, const struct AddressList *from)
Wrapper for CryptModuleSpecs::sign_message()
Definition: cryptglue.c:486
struct Body * crypt_pgp_traditional_encryptsign(struct Body *b, SecurityFlags flags, char *keylist)
Wrapper for CryptModuleSpecs::pgp_traditional_encryptsign()
Definition: cryptglue.c:294
struct Body * crypt_pgp_sign_message(struct Body *b, const struct AddressList *from)
Wrapper for CryptModuleSpecs::sign_message()
Definition: cryptglue.c:327
bool crypt_smime_valid_passphrase(void)
Wrapper for CryptModuleSpecs::valid_passphrase()
Definition: cryptglue.c:422
void crypt_pgp_invoke_import(const char *fname)
Wrapper for CryptModuleSpecs::pgp_invoke_import()
Definition: cryptglue.c:364
void crypt_smime_void_passphrase(void)
Wrapper for CryptModuleSpecs::void_passphrase()
Definition: cryptglue.c:413
void crypt_smime_invoke_import(const char *infile, const char *mailbox)
Wrapper for CryptModuleSpecs::smime_invoke_import()
Definition: cryptglue.c:508
void crypt_pgp_set_sender(const char *sender)
Wrapper for CryptModuleSpecs::set_sender()
Definition: cryptglue.c:404
void crypt_smime_set_sender(const char *sender)
Wrapper for CryptModuleSpecs::set_sender()
Definition: cryptglue.c:539
char * crypt_pgp_find_keys(struct AddressList *al, bool oppenc_mode)
Wrapper for CryptModuleSpecs::find_keys()
Definition: cryptglue.c:316
int crypt_smime_verify_one(struct Body *b, struct State *state, const char *tempf)
Wrapper for CryptModuleSpecs::verify_one()
Definition: cryptglue.c:517
void crypt_pgp_void_passphrase(void)
Wrapper for CryptModuleSpecs::void_passphrase()
Definition: cryptglue.c:191
char * crypt_smime_find_keys(struct AddressList *al, bool oppenc_mode)
Wrapper for CryptModuleSpecs::find_keys()
Definition: cryptglue.c:475
bool crypt_pgp_valid_passphrase(void)
Wrapper for CryptModuleSpecs::valid_passphrase()
Definition: cryptglue.c:200
int crypt_pgp_verify_one(struct Body *b, struct State *state, const char *tempf)
Wrapper for CryptModuleSpecs::verify_one()
Definition: cryptglue.c:373
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:338
uint16_t SecurityFlags
Flags, e.g. SEC_ENCRYPT.
Definition: lib.h:77
Key value store.
The body of an email.
Definition: body.h:36
The envelope/body of an email.
Definition: email.h:37
Keep track when processing files.
Definition: state.h:47