(PECL rnp >= 0.1.1)
rnp_list_keys — Enumerate all keys present in a keyring by specified identifer type
ffi
The FFI object returned by rnp_ffi_create.
identifier_type
Key identifier type ("userid", "keyid", "grip", "fingerprint").
An associative array where key is an identifier string and value is a PGP key fingerprint or false
on failure.