rnp_ffi_create

(PECL rnp >= 0.1.1)

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

说明

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

参数

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

返回值

Returns RnpFFI object on success 或者在失败时返回 false.