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_dump_packets_to_jsonrnp_ffi_destroy>
^Rnp FunctionsLast updated: Mon, 26 Oct 2026

rnp_ffi_create

(PECL rnp >= 0.1.1)

rnp_ffi_create — Create the top-level object used for interacting with the library

Description

function rnp_ffi_create(string $pub_format, string $sec_format): RnpFFI|false

Parameters

pub_format

the format of the public keyring, RNP_KEYSTORE_GPG or other RNP_KEYSTORE_* constant.

sec_format

the format of the secret keyring, RNP_KEYSTORE_GPG or other RNP_KEYSTORE_* constant

Return Values

Returns RnpFFI object on success or false on failure.


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