SmartCardHolderVerifier::getCodeInfo()

Retrieve code information for the smart card.

Synopsis:

#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)

Since:

BlackBerry 10.3.0

Arguments:

flags

Indicates whether the CHV info should be retrieved for a local (SC_FL_IHV_LOCAL) or global (SC_FL_IHV_GLOBAL) code.

codeType

The code type, which is populated by this function.

minCodeLength

The minimum code length, which is populated by this function; negative value if the minimum length is unknown.

maxCodeLength

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)

Description:

This function retrieves code information for the smart card, such as the code type, minimum code length, and maximum code length.

Returns:

If successful, SCARD_S_SUCCESS is returned. Otherwise, an error code is returned.

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus