Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<rnp_import_signaturesrnp_key_export_autocrypt>
^Rnp FunctionsLast updated: Mon, 26 Oct 2026

rnp_key_export

(PECL rnp >= 0.1.1)

rnp_key_export — Export a key

Description

function 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.


<rnp_import_signaturesrnp_key_export_autocrypt>
^Rnp FunctionsLast updated: Mon, 26 Oct 2026