NeoMutt  2025-12-11-980-ge38c27
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
module_data.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_NCRYPT_MODULE_DATA_H
24#define MUTT_NCRYPT_MODULE_DATA_H
25
26#include "config.h"
27#include <time.h>
28#include "mutt/lib.h"
29#include "crypt_mod.h"
30#ifdef CRYPT_BACKEND_GPGME
31#include <gpgme.h>
32#include "crypt_gpgme.h"
33#endif
34
39{
40 struct Notify *notify;
44#ifdef CRYPT_BACKEND_GPGME
45 gpgme_key_t signature_key;
47#endif
49 struct CryptModuleList crypt_modules;
50 char *charset;
51 char pgp_pass[1024];
52 time_t pgp_exptime;
54 unsigned char *packet_buf;
56 char smime_pass[256];
61};
62
63#endif /* MUTT_NCRYPT_MODULE_DATA_H */
Wrapper for PGP/SMIME calls to GPGME.
@ KIP_MAX
Definition crypt_gpgme.h:70
Register crypto modules.
Convenience wrapper for the library headers.
String manipulation buffer.
Definition buffer.h:36
Internal cache for GPGME.
Definition crypt_gpgme.c:86
Functions for a Dialog or Window.
Definition menudef.h:44
Ncrypt private Module data.
Definition module_data.h:39
int key_info_padding[KIP_MAX]
Padding for key info prompts.
Definition module_data.h:46
char pgp_pass[1024]
Cached PGP Passphrase.
Definition module_data.h:51
struct Buffer smime_cert_to_use
S/MIME certificate to use.
Definition module_data.h:59
unsigned char * packet_buf
Cached PGP data packet.
Definition module_data.h:54
size_t packet_buf_len
Length of cached packet.
Definition module_data.h:55
char smime_pass[256]
Cached S/MIME Passphrase.
Definition module_data.h:56
struct PgpCache * pgp_id_defaults
PGP IdDefaults cache.
Definition module_data.h:53
time_t pgp_exptime
Unix time when pgp_pass expires.
Definition module_data.h:52
time_t smime_exp_time
Unix time when smime_pass expires.
Definition module_data.h:57
char * charset
gnupgparse charset
Definition module_data.h:50
struct CryptCache * gpgme_id_defaults
GPGME IdDefaults cache.
Definition module_data.h:43
struct CryptModuleList crypt_modules
Linked list of crypto modules.
Definition module_data.h:49
struct Buffer smime_intermediate_to_use
S/MIME intermediate certificate to use.
Definition module_data.h:60
gpgme_key_t signature_key
GPGME Signature key.
Definition module_data.h:45
struct Notify * notify
Notifications.
Definition module_data.h:40
struct Buffer smime_key_to_use
S/MIME key to use.
Definition module_data.h:58
struct MenuDefinition * menu_smime
S/MIME menu definition.
Definition module_data.h:42
char * current_sender
Current sender for GPGME.
Definition module_data.h:48
struct MenuDefinition * menu_pgp
PGP menu definition.
Definition module_data.h:41
Notification API.
Definition notify.c:53
List of cached PGP keys.
Definition pgpkey.c:67