class documentation
class CardService:
Known subclasses: smartcard.PassThruCardService.PassThruCardService
Constructor: CardService(connection, cardname)
Card service abstract class.
| Static Method | supports |
Returns True if the cardname is supported by the card service. |
| Method | __del__ |
Destructor. Disconnect card and destroy card service resources. |
| Method | __enter__ |
Enter the runtime context. |
| Method | __exit__ |
Exit the runtime context and disconnect + release the PC/SC context. |
| Method | __init__ |
Construct a new card service and bind to a smart card in a reader. |
| Instance Variable | cardname |
Undocumented |
| Instance Variable | connection |
Undocumented |
overridden in
smartcard.PassThruCardService.PassThruCardServiceReturns True if the cardname is supported by the card service.
overridden in
smartcard.PassThruCardService.PassThruCardServiceExit the runtime context and disconnect + release the PC/SC context.
overridden in
smartcard.PassThruCardService.PassThruCardServiceConstruct a new card service and bind to a smart card in a reader.
| Parameters | |
| connection | the CardConnection used to access the smart card |
| cardname | Undocumented |