PCSCManager Class Reference

WinSCard/PCSCLite wrapper. More...

#include <PCSCManager.h>

Inheritance diagram for PCSCManager:

Inheritance graph
[legend]
Collaboration diagram for PCSCManager:

Collaboration graph
[legend]
List of all members.

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
PCSCConnectionconnect (uint idx, bool forceT0)
 connects instance of card to reader at index, forceT0 is used for cards that cant speak T1
PCSCConnectionconnect (SCARDHANDLE existingHandle)
 connect using an application-supplied connection handle
PCSCConnectionreconnect (ConnectionBase *c, bool forceT0)
 reconnect using a different protocol

Detailed Description

WinSCard/PCSCLite wrapper.

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


The documentation for this class was generated from the following files:
Generated on Fri Oct 31 12:29:39 2008 for Cardlib reference by  doxygen 1.5.1