|
| ::LONG | ts::pcsc::GetStates (::SCARDCONTEXT context, ReaderStateVector &states, uint32_t timeout_ms=INFINITE) |
| | Get the state of all smartcard readers in the system.
|
| |
| ::LONG | ts::pcsc::GetStatesChange (::SCARDCONTEXT context, ReaderStateVector &states, uint32_t timeout_ms=INFINITE) |
| | Get the state change of all smartcard readers in the system.
|
| |
| ::LONG | ts::pcsc::ListReaders (::SCARDCONTEXT context, UStringVector &readers) |
| | Get the list of all smartcard readers in the system.
|
| |
| bool | ts::pcsc::MatchATR (const uint8_t *atr1, size_t atr1_size, const uint8_t *atr2, size_t atr2_size, const uint8_t *mask=nullptr, size_t mask_size=0) |
| | Check if an ATR matches an expected one.
|
| |
| ::LONG | ts::pcsc::SearchSmartCard (::SCARDCONTEXT context, UString &reader_name, const uint8_t *atr=nullptr, size_t atr_size=0, const uint8_t *atr_mask=nullptr, size_t atr_mask_size=0, const uint8_t *pwr=nullptr, size_t pwr_size=0, const uint8_t *pwr_mask=nullptr, size_t pwr_mask_size=0, uint32_t timeout_ms=INFINITE) |
| | Search all smartcard readers for a smartcard matching an expected ATR.
|
| |
| UString | ts::pcsc::StrError (::LONG status) |
| | Get an error message for a PC/SC error.
|
| |
| bool | ts::pcsc::Success (::LONG status, Report &report=(ts::CerrReport::Instance())) |
| | Check a PC/SC status.
|
| |
| ::LONG | ts::pcsc::Transmit (::SCARDHANDLE handle, uint32_t protocol, const void *send, size_t send_size, void *resp, size_t resp_size, uint16_t &sw, size_t &resp_length) |
| | Transmit an APDU to smartcard and read response.
|
| |
PC/SC smartcard API utilities.