Retrieve code information for the smart card.
#include <smartcard_spi/SmartCardHolderVerifier.hpp>
virtual sc_response_code_t smartcard_spi::SmartCardHolderVerifier::getCodeInfo(unsigned int flags, sc_code_type_t &codeType, int &minCodeLength, int &maxCodeLength)
BlackBerry 10.3.0
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.
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.