CascadiaPHP 2024

rnp_list_keys

(PECL rnp >= 0.1.1)

rnp_list_keysEnumerate all keys present in a keyring by specified identifer type

说明

rnp_list_keys(RnpFFI $ffi, string $identifier_type): array|false

参数

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 或者在失败时返回 false.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top