PHP 8.4.2 Released!

rnp_locate_key

(PECL rnp >= 0.1.1)

rnp_locate_keySearch for the key

Açıklama

rnp_locate_key(RnpFFI $ffi, string $identifier_type, string $identifier): string|false

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

Bağımsız Değişkenler

ffi

rnp_ffi_create tarafından döndürülen FFI nesnesi.

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.

Dönen Değerler

Returns hexadecimal fingerprint of the key found on success başarısızlık durumunda false döner.

add a note

User Contributed Notes

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