Smart card driver manager allows registering card and reader drivers.
Once manager instance is obtained, the following sequence of steps should typically take place:
- Initialize the manager instance using initialize function.
- Register card and reader drivers using register functions.
- Allocate threads for operating the driver and call runDriver.
- Handle process termination when runDriver calls return (e.g. by joining
main thread with the allocated threads). The main thread could be given to smart card
framework via runDriver, or it could be used for driver purposes (e.g.
for UI event thread).