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

To Top