sc_get_pin_type()

Retrieve the PIN type for the current card.

Synopsis:

#include <smartcard/sc_smart_card.h>
 
sc_response_code_t sc_get_pin_type(sc_context_t *context,                 
                                   sc_code_type_t *code_type)

Since:

BlackBerry 10.2.0

Arguments:

context

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

code_type

The PIN type. 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.