Force a card holder verification against the smart card.
virtual sc_response_code_t smartcard_spi::SmartCardHolderVerifier::verify(const unsigned char *code, unsigned int codeLength, unsigned int flags, unsigned int &ref)
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.
Library:libscs (For the qcc command, use the -l scs option to link against this library)
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.
Last modified: 2014-06-24