rnp_locate_key
(PECL rnp >= 0.1.1)
rnp_locate_key — Search for the key
说明
Note: only valid userids are checked while searching by userid.
参数
ffi
-
The FFI object returned by rnp_ffi_create.
identifier_type
-
Identifier type string: "userid", "keyid", "fingerprint", "grip".
identifier
-
PGP User ID (name and email) for "userid" type, hexadecimal string that represents key id, fingerprint or key grip correspondingly.
返回值
Returns hexadecimal fingerprint of the key found on success 或者在失败时返回 false
.
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/function.rnp-locate-key.php