class documentation

class ISO7816_4_SW1ErrorChecker(ErrorChecker):

View In Hierarchy

ISO7816-4 error checker based on status word sw1 only.

This error checker raises the following exceptions:

Method __call__ Called to test data, sw1 and sw2 for error.
def __call__(self, data, sw1, sw2):

Called to test data, sw1 and sw2 for error.

Parameters
dataapdu response data
sw1apdu data status word 1
sw2apdu data status word 2