Change the smart card PIN.
#include <smartcard_spi/SmartCardHolderVerifier.hpp>
virtual sc_response_code_t smartcard_spi::SmartCardHolderVerifier::changeCode(const unsigned char *oldCode, unsigned int oldCodeLength, const unsigned char *newCode, unsigned int newCodeLength, unsigned int flags, unsigned int ref)
BlackBerry 10.3.0
The current PIN.
The current PIN length.
The new PIN.
The new PIN length.
Indicates whether the CHV is to be made against a local (SC_FL_IHV_LOCAL) or global (SC_FL_IHV_GLOBAL) code. If the SC_FL_IHV_CHECKONLY flag is specified, a pop-up dialog box requesting input of CHV information should not be presented; instead, only the CHV state should be returned.
A vendor-specific reference value.
This function changes the smart card PIN.
If successful, SCARD_S_SUCCESS is returned. Otherwise, an error code is returned.