|
rnp_ffi_set_pass_providerSet password provider callback function 説明
bool rnp_ffi_set_pass_provider(RnpFFI
$ffi , callable $password_callback )Sets password provider function. This function can ask for the password on a standard input (if PHP script is executed in a command line environment), display GUI dialog or provide password in any other possible ways. Requested passwords are used to encrypt or decrypt secret keys or perform symmetric encryption/decryption operations. パラメータ
戻り値
Returns 例
例1 simple callback function example
|