24#ifndef MUTT_NCRYPT_PGPKEY_H
25#define MUTT_NCRYPT_PGPKEY_H
struct Body * pgp_class_make_key_attachment(void)
Generate a public key attachment - Implements CryptModuleSpecs::pgp_make_key_attachment() -.
uint16_t KeyFlags
Flags describing PGP/SMIME keys, e.g. KEYFLAG_CANSIGN.
bool pgp_id_is_valid(struct PgpUid *uid)
Is a PGP key valid.
@ PGP_SECRING
Secret keys.
@ PGP_PUBRING
Public keys.
struct PgpKeyInfo * pgp_ask_for_key(char *tag, const char *whatfor, KeyFlags abilities, enum PgpRing keyring)
Ask the user for a PGP key.
bool pgp_keys_are_valid(struct PgpKeyInfo *keys)
Are all these PGP keys valid?
bool pgp_id_is_strong(struct PgpUid *uid)
Is a PGP key strong?
struct PgpKeyInfo * pgp_getkeybyaddr(struct Address *a, KeyFlags abilities, enum PgpRing keyring, bool oppenc_mode)
Find a PGP key by address.
bool pgp_key_is_valid(struct PgpKeyInfo *k)
Is a PGP key valid?
struct PgpKeyInfo * pgp_getkeybystr(const char *p, KeyFlags abilities, enum PgpRing keyring)
Find a PGP key by string.
struct PgpKeyInfo * pgp_principal_key(struct PgpKeyInfo *key)
Get the main (parent) PGP key.
Information about a PGP key.