Retrieve code information for the smart card.
virtual sc_response_code_t smartcard_spi::SmartCardHolderVerifier::getCodeInfo(unsigned int flags, sc_code_type_t &codeType, int &minCodeLength, int &maxCodeLength)
Indicates whether the CHV info should be retrieved for a local (SC_FL_IHV_LOCAL) or global (SC_FL_IHV_GLOBAL) code.
The code type, which is populated by this function.
The minimum code length, which is populated by this function; negative value if the minimum length is unknown.
The maximum code length, which is populated by this function; negative value if the maximum length is unknown.
Library:libscs (For the qcc command, use the -l scs option to link against this library)
This function retrieves code information for the smart card, such as the code type, minimum code length, and maximum code length.
If successful, SCARD_S_SUCCESS is returned. Otherwise, an error code is returned.
Last modified: 2014-06-24