Update the credential password.
#include <sys/credential/credential_pwd.h>
int credential_pwd_set_password(credential_t *cred,
const char *password)
BlackBerry 10.3.1
The password-based credential to update.
A UTF-8 encoded and null-terminated string that contains the password.
This function updates the in-memory copy of the credential with the new password.
You must invoke credential_pwd_update() to persist the changes.
0 if operation was successful, error code otherwise.