k2hdkcpx_rename
Renames a pair of the key/value
Description
/**
* @param resource $handle_res
*/
function k2hdkcpx_rename(
$handle_res,
string $key,
string $new_key,
string $parent_key = null,
bool $is_check_attr = true,
string $password = null,
int $expiration_duration = 0): bool {}
Renames a pair of the key/value.
Parameters
- handle_res
Specify the chmpx handle thatk2hdkcpx_open
returns. - key
Specify the key. - new_key
Specify the new key. - parent_key
Specify the parent key. - is_check_attr
Specifytrue
to check the passphrase and expiration of the parent key. - password
Specify the password that is associated with the key. - expiration_duration
Specify the expiration duration in seconds.
Return Values
Returns true
on success or false
on failure.
See Also
- K2hdkc::rename - Renames a key