The card access mode indicates the mode of access to a card.
Synopsis:
#include <smartcard/sc_data_types.h>
typedef enum
SC_SCARD_SHARE_SHARED = 0x00000001
SC_SCARD_SHARE_EXCLUSIVE = 0x00000002
SC_SCARD_DIRECT = 0x00000004
SC_SCARD_NO_UI = 0x00000008
} sc_card_access_mode_t;
Data:
- SC_SCARD_SHARE_SHARED
- The application can share access to the card with other applications.
- SC_SCARD_SHARE_EXCLUSIVE
- The application requires exclusive access to the card.
- SC_SCARD_DIRECT
- The application requires a connection to the reader, regardless of whether the card is
present.
Implies exclusive access.
- SC_SCARD_NO_UI
- Application is not willing to show any UI such as PIN prompt or Insert Card dialogs.
This is not a PC/SC flag.
Library:
libscs (For the qcc command, use the -l scs
option to link against this library)