NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
GPGME Key Selection Dialog

Overview

The GPGME Key Selection Dialog lets the user select a PGP key.

This is a Simple Dialog

Windows

Name Type See Also
GPGME Key Selection Dialog WT_DLG_CRYPT_GPGME dlg_select_gpgme_key()

Parent

Children

Data

The Simple Dialog holds a Menu. The GPGME Key Selection Dialog stores its data (CryptKeyInfo) in Menu::mdata.

Events

Once constructed, it is controlled by the following events:

Event Type Handler
NT_CONFIG gpgme_key_config_observer()
NT_WINDOW gpgme_key_window_observer()

The GPGME Key Selection Dialog doesn't have any specific colours, so it doesn't need to support NT_COLOR.

The GPGME Key Selection Dialog does not implement MuttWindow::recalc() or MuttWindow::repaint().

Some other events are handled by the Simple Dialog.

Function Description
crypt_compare_address_qsort() Compare the addresses of two keys
crypt_compare_date_qsort() Compare the dates of two keys
crypt_compare_key_address() Compare Key addresses and IDs for sorting
crypt_compare_key_date() Compare Key creation dates and addresses for sorting
crypt_compare_keyid() Compare Key IDs and addresses for sorting
crypt_compare_key_trust() Compare the trust of keys for sorting
crypt_compare_trust_qsort() Compare the trust levels of two keys
crypt_crypt_compare_keyid_qsort() Compare the IDs of two keys
crypt_flags() Parse the key flags into a single character
crypt_format_str - Format a string for the key selection menu() Implements format_t -
crypt_key_abilities() Parse key flags into a string
crypt_key_is_valid() Is the key valid
crypt_make_entry - Format a menu item for the key selection list() Implements Menu::make_entry() -