diff options
author | hploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b> | 2006-05-18 20:21:51 +0000 |
---|---|---|
committer | hploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b> | 2006-05-18 20:21:51 +0000 |
commit | 53742b27055f059b52cd9f3bb1333ab0551fbf99 (patch) | |
tree | b2c42df15236c331c801ee75b2df1976da53bac5 /utils.py | |
parent | f2bb9004cbaab3388fc6b8cdb1c0e4155b5a9e8d (diff) |
TLV utilities
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@55 f711b948-2313-0410-aaa9-d29f33439f0b
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -292,21 +292,6 @@ class R_APDU(APDU): "Return this APDU as a binary string" return self.data + self.sw - -class TPDU: - "Base class for TPDUs" - - def __init__(self, apdu): - self.apdu = apdu - -class TPDU_T0(TPDU): - "Class for a T=0 TPDU" - protocol = 0 - -class TPDU_T1(TPDU): - "Class for T=1 TPDU" - protocol = 1 - if __name__ == "__main__": response = """ 0000: 07 A0 00 00 00 03 00 00 07 00 07 A0 00 00 00 62 ...............b |