PHP.nl

rnp_locate_key

rnp_locate_key

Search for the key

 **rnp_locate_key** RnpFFI $ffi string $identifier_type string $identifier

Note: only valid userids are checked while searching by userid.

ffirnp.parameter.ffi-description

identifier_typeIdentifier type string: "userid", "keyid", "fingerprint", "grip".

identifierPGP 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 successreturn.falseforfailure.