101 const char *s = uid->
addr;
141 const struct PgpEntry *entry = data;
155 const struct PgpEntry *entry = data;
171 const struct PgpEntry *entry = data;
175 bool use_c_locale =
false;
176 const char *text = node->
text;
183 char tmp[128] = { 0 };
202 const struct PgpEntry *entry = data;
215 const struct PgpEntry *entry = data;
230 const struct PgpEntry *entry = data;
243 const struct PgpEntry *entry = data;
256 const struct PgpEntry *entry = data;
271 const struct PgpEntry *entry = data;
288 const struct PgpEntry *entry = data;
304 const struct PgpEntry *entry = data;
318 const struct PgpEntry *entry = data;
350 { -1, -1, NULL, NULL },
int buf_printf(struct Buffer *buf, const char *fmt,...)
Format a string overwriting a Buffer.
size_t buf_strcpy(struct Buffer *buf, const char *s)
Copy a string into a Buffer.
Convenience wrapper for the core headers.
@ ED_PGP
Pgp ED_PGP_ ExpandoDataPgp.
@ ED_PGP_KEY
Pgp_Key ED_PGK_ ExpandoDataPgpKey.
const struct ExpandoRenderCallback PgpEntryRenderCallbacks[]
PgpEntryRenderCallbacks- Callbacks for PGP Key Expandos.
static char pgp_flags(KeyFlags flags)
Turn PGP key flags into a string.
static const char TrustFlags[]
Characters used to show the trust level for PGP keys.
static char * pgp_key_abilities(KeyFlags flags)
Turn PGP key abilities into a string.
Ncrypt PGP Expando definitions.
static long pgp_key_length_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
PGP: Key length - Implements get_number_t -.
static long pgp_entry_number_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
PGP: Index number - Implements get_number_t -.
static long pgp_key_date_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
PGP: Date of the key - Implements get_number_t -.
static long pgp_pkey_length_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
PGP: Principal Key length - Implements get_number_t -.
static void pgp_entry_ignore(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP: Field not supported - Implements get_string_t -.
static void pgp_key_capabilities(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP: Key Capabilities - Implements get_string_t -.
static void pgp_pkey_algorithm(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP: Principal Key Algorithm - Implements get_string_t -.
static void pgp_key_flags(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP: Key Flags - Implements get_string_t -.
static void pgp_pkey_flags(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP: Principal Key Flags - Implements get_string_t -.
static void pgp_key_id(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP: Key id - Implements get_string_t -.
static void pgp_pkey_capabilities(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP: Principal Key Capabilities - Implements get_string_t -.
static void pgp_key_algorithm(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP: Key Algorithm - Implements get_string_t -.
static void pgp_entry_user_id(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP: User id - Implements get_string_t -.
static void pgp_key_date(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP: Date of the key - Implements get_string_t -.
static void pgp_pkey_id(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP: Principal Key id - Implements get_string_t -.
static void pgp_entry_trust(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
PGP: Trust/validity - Implements get_string_t -.
size_t mutt_date_localtime_format(char *buf, size_t buflen, const char *format, time_t t)
Format localtime.
size_t mutt_date_localtime_format_locale(char *buf, size_t buflen, const char *format, time_t t, locale_t loc)
Format localtime using a given locale.
Convenience wrapper for the library headers.
#define KEYFLAG_EXPIRED
Key is expired.
uint16_t KeyFlags
Flags describing PGP/SMIME keys, e.g. KEYFLAG_CANSIGN.
#define KEYFLAG_RESTRICTIONS
#define KEYFLAG_CANENCRYPT
Key is suitable for encryption.
#define KEYFLAG_PREFER_SIGNING
Key's owner prefers signing.
#define KEYFLAG_CRITICAL
Key is marked critical.
#define KEYFLAG_DISABLED
Key is marked disabled.
#define KEYFLAG_REVOKED
Key is revoked.
#define KEYFLAG_PREFER_ENCRYPTION
Key's owner prefers encryption.
#define KEYFLAG_CANSIGN
Key is suitable for signing.
@ ED_PGP_NUMBER
PgpEntry.num.
@ ED_PGP_USER_ID
PgpUid.addr.
@ ED_PGP_TRUST
PgpUid, TrustFlags.
char * pgp_this_keyid(struct PgpKeyInfo *k)
Get the ID of this key.
PGP sign, encrypt, check routines.
struct PgpKeyInfo * pgp_principal_key(struct PgpKeyInfo *key)
Get the main (parent) PGP key.
PGP key management routines.
Misc PGP helper routines.
@ ED_PGK_KEY_CAPABILITIES
PgpKeyInfo.flags, pgp_key_abilities()
@ ED_PGK_KEY_FINGERPRINT
PgpKeyInfo.fingerprint.
@ ED_PGK_PKEY_LENGTH
pgp_principal_key(), PgpKeyInfo.keylen
@ ED_PGK_PKEY_ALGORITHM
pgp_principal_key(), PgpKeyInfo.algorithm
@ ED_PGK_DATE
PgpKeyInfo.gen_time.
@ ED_PGK_PKEY_FINGERPRINT
pgp_principal_key(), PgpKeyInfo.fingerprint
@ ED_PGK_KEY_ID
PgpKeyInfo, pgp_this_keyid()
@ ED_PGK_PROTOCOL
PgpKeyInfo.
@ ED_PGK_PKEY_CAPABILITIES
pgp_principal_key(), PgpKeyInfo.flags, pgp_key_abilities()
@ ED_PGK_KEY_FLAGS
PgpKeyInfo.kflags, pgp_flags()
@ ED_PGK_PKEY_ID
pgp_principal_key(), PgpKeyInfo, pgp_this_keyid()
@ ED_PGK_KEY_ALGORITHM
PgpKeyInfo.algorithm.
@ ED_PGK_KEY_LENGTH
PgpKeyInfo.keylen.
@ ED_PGK_PKEY_FLAGS
pgp_principal_key(), PgpKeyInfo.kflags, pgp_flags()
uint8_t MuttFormatFlags
Flags for expando_render(), e.g. MUTT_FORMAT_FORCESUBJ.
String manipulation buffer.
const char * text
Node-specific text.
Container for Accounts, Notifications.
locale_t time_c_locale
Current locale but LC_TIME=C.
An entry in a PGP key menu.
struct PgpUid * uid
PGP Key info.
Information about a PGP key.
struct PgpKeyInfo * parent
Parent key.