PHP Conference Kansai 2025

rnp_locate_key

(PECL rnp >= 0.1.1)

rnp_locate_keyBúsqueda de la clave

Descripción

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

Nota: los identificadores válidos se verifican durante la búsqueda por identificador.

Parámetros

ffi

The FFI object returned by rnp_ffi_create().

identifier_type

Cadena de tipo de identificador: "userid", "keyid", "fingerprint", "grip".

identifier

El identificador del usuario OpenPGP (nombre y correo electrónico) para el tipo "userid", cadena hexadecimal que representa el identificador de clave, la huella digital o el grip de clave correspondiente.

Valores devueltos

Devuelve la huella digital hexadecimal de la clave encontrada en caso de éxito o false en caso de error.

add a note

User Contributed Notes

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