sc_get_number_of_remaining_pin_attempts()

Retrieve the number of PIN attempts remaining for a card.

Synopsis:

#include <smartcard/sc_smart_card.h>
 
sc_response_code_t sc_get_number_of_remaining_pin_attempts(sc_context_t *context,                 
                                                           unsigned char *num_attempts)

Since:

BlackBerry 10.2.0

Arguments:

context

The active smart card context. This value cannot be NULL.

num_attempts

The number of remaining PIN attempts on the card. This value cannot be NULL.

Library:

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

Description:

Returns:

SC_SCARD_S_SUCCESS upon success, an error code otherwise. See sc_response_code_t for defined error codes.