#include <PCSCManager.h>
Inheritance diagram for PCSCManager:
Public Member Functions | |
PCSCManager (SCARDCONTEXT existingContext) | |
construct with application-supplied card context | |
uint | getReaderCount () |
number of installed readers | |
std::string | getReaderName (uint idx) |
name of the reader at index | |
std::string | getReaderState (uint idx) |
string form of reader status at index, EMPTY, POWERED etc | |
std::string | getATRHex (uint idx) |
hex representation of card ATR in reader at index, empty string if no card is present | |
PCSCConnection * | connect (uint idx, bool forceT0) |
connects instance of card to reader at index, forceT0 is used for cards that cant speak T1 | |
PCSCConnection * | connect (SCARDHANDLE existingHandle) |
connect using an application-supplied connection handle | |
PCSCConnection * | reconnect (ConnectionBase *c, bool forceT0) |
reconnect using a different protocol |
PCSCManager represents WinSCard subsystem on Windows or PCSCLite libary on platforms where it is available. It loads the libraries dynamically to avoid linked-in dependencies