|
rnp_ffi_set_pass_providerSet password provider callback function Description
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. Parameters
Return Values
Returns Examples
Example #1 simple callback function example
|