The error checking chain is a list of response apdu status word (sw1,
sw2) error check strategies. Each strategy in the chain is called until
an error is detected. A smartcard.sw.SWException exception is raised when an
error is detected. No exception is raised if no error is detected.
|
|
|
|
|
next(self)
Returns next error checking strategy. |
source code
|
|
|
|
|
|
|
end(self)
Returns True if this is the end of the error checking strategy chain. |
source code
|
|
|
|
__call__(self,
data,
sw1,
sw2)
Called to test data, sw1 and sw2 for error on the chain. |
source code
|
|