rnp_list_keys

Enumerate all keys present in a keyring by specified identifer type

Description

arrayfalse rnp_list_keys(RnpFFI $ffi, string $identifier_type)

Parameters

ffi

The FFI object returned by rnp_ffi_create.

identifier_type

Key identifier type ("userid", "keyid", "grip", "fingerprint").

Return Values

An associative array where key is an identifier string and value is a PGP key fingerprint or false on failure.