rnp_ffi_create

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

説明

RnpFFIfalse rnp_ffi_create(string $pub_format, string $sec_format)

パラメータ

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 を返します.