PHP 8.1.31 Released!

rnp_key_export

(PECL rnp >= 0.1.1)

rnp_key_exportExport a key

Description

rnp_key_export(RnpFFI $ffi, string $key_fp, int $flags): string|false

Parameters

ffi

The FFI object returned by rnp_ffi_create.

key_fp

Key fingerprint.

flags

See RNP_KEY_EXPORT_* predefined constants (except RNP_KEY_EXPORT_BASE64).

Return Values

OpenPGP packets of exported key (binary or ASCII-armored) on success or false on failure.

add a note

User Contributed Notes

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