Card disposition actions that indicate the intended disposition of the card after a transaction or when a connection is terminated.
Synopsis:
#include <smartcard/sc_data_types.h>
typedef enum
SC_SCARD_LEAVE_CARD = 0
SC_SCARD_RESET_CARD = 1
SC_SCARD_UNPOWER_CARD = 2
SC_SCARD_EJECT_CARD = 3
SC_SCARD_CONFISCATE_CARD = 4
SC_SCARD_KEEP_CARD_POWERED = 5
} sc_card_disposition_t;
Data:
- SC_SCARD_LEAVE_CARD
- Do not alter card state.
- SC_SCARD_RESET_CARD
- Reset the card.
- SC_SCARD_UNPOWER_CARD
- Turn off and terminate access to the card.
- SC_SCARD_EJECT_CARD
- Eject the card from the reader.
- SC_SCARD_CONFISCATE_CARD
- A sophisticated commercial reader should move the card to the confiscation bin and not return it to the user.
- SC_SCARD_KEEP_CARD_POWERED
- Keep the card turned on until the client detaches the requesting card, resets, or turns it off.
This card disposition action is not part of the PC/SC specification.
Library:
libscs (For the qcc command, use the -l scs option to link against this library)