PHP 8.4.2 Released!

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.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top