php8.5
Home/ Manual/ rnp / functions/ rnp_ffi_create

rnp_ffi_create

PHP function Edit on GitHub ✎

(PECL rnp >= 0.1.1)

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

Description

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

Source: reference/rnp/functions/rnp-ffi-create.xml · from the official PHP manual (php/doc-en)