SmartCardSession::getReaderCapabilities()

Retrieve the reader attribute value that's associated with the provided tag.

Synopsis:

#include <smartcard_spi/SmartCardSession.hpp>
virtual sc_response_code_t smartcard_spi::SmartCardSession::getReaderCapabilities(unsigned int tag, unsigned char *attribute, unsigned int &attributeLength)=0

Since:

BlackBerry 10.3.0

Arguments:

tag

The tag of the attribute value to retrieve.

attribute

The value of the attribute, in TLV format, which is populated by this function.

attributeLength

The length of attribute.

Library:

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

Description:

This function retrieves the reader attribute value that's associated with the provided tag. If the tag is unknown, an error is returned.

Returns:

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