smartcard :: sw :: SWExceptions :: SWException :: Class SWException
[hide private]
[frames] | no frames]

Class SWException

source code


Base class for status word exceptions.

Status word exceptions are generated when errors and warnings are detected in the sw1 and sw2 bytes of the response apdu.

Instance Methods [hide private]
 
__init__(self, data, sw1, sw2, message='') source code
 
__str__(self) source code
Instance Variables [hide private]
  message
response apdu data
  data
response apdu sw1
  sw1
response apdu sw2