SmartCardInterface::getSmartCardId()

Retrieve a unique identifier for the currently connected smart card.

Synopsis:

#include <smartcard_spi/SmartCardInterface.hpp>
virtual sc_response_code_t smartcard_spi::SmartCardInterface::getSmartCardId(sc_smart_card_id_t &cardId)

Since:

BlackBerry 10.3.0

Arguments:

cardId

The card ID, which is populated by this function.

Library:

libscs (For the qcc command, use the -l scs option to link against this library)

Description:

This function retrieves an identifier that uniquely identifies the currently connected smart card.

Returns:

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