epg-list-keys

epg-list-keys is a compiled Lisp function in `epg.el'.

(epg-list-keys CONTEXT &optional NAME MODE)

Return a list of epg-key objects matched with NAME.
If MODE is nil or 'public, only public keyring should be searched.
If MODE is t or 'secret, only secret keyring should be searched.
Otherwise, only public keyring should be searched and the key
signatures should be included.
NAME is either a string or a list of strings.