Force a card holder verification against the smart card.
#include <smartcard_spi/SmartCardHolderVerifier.hpp>
virtual sc_response_code_t smartcard_spi::SmartCardHolderVerifier::verify(const unsigned char *code, unsigned int codeLength, unsigned int flags, unsigned int &ref)
BlackBerry 10.3.0
The code used to verify the user with the card. If NULL, user will be prompted for a code.
The code 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 forces a card holder verification against the smart card. If a code is supplied, it is used to verify with the card. If no code is supplied, then the user will be prompted for a code. Note that if the CHV requirements for the currently selected path are satisfied (by a prior CHV), the service provider may simply return success.
If successful, SCARD_S_SUCCESS is returned. Otherwise, an error code is returned.