class documentation

Pass-thru card service class.

Static Method supports Returns True if the cardname is supported by the card service. The PassThruCardService supports all cardnames and always returns True.
Method __enter__ Enter the runtime context.
Method __exit__ Exit the runtime context and disconnect + release the PC/SC context.
Method __init__ Construct a pass-thru card service.

Inherited from CardService:

Method __del__ Destructor. Disconnect card and destroy card service resources.
Instance Variable cardname Undocumented
Instance Variable connection Undocumented
@staticmethod
def supports(cardname):

Returns True if the cardname is supported by the card service. The PassThruCardService supports all cardnames and always returns True.

def __enter__(self):

Enter the runtime context.

def __exit__(self, exc_type, exc_value, exc_traceback):

Exit the runtime context and disconnect + release the PC/SC context.

def __init__(self, connection, cardname=None):

Construct a pass-thru card service.

Parameters
connectionthe CardConnection used to access the smart card
cardnameUndocumented