diff options
author | hploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b> | 2006-05-22 01:04:32 +0000 |
---|---|---|
committer | hploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b> | 2006-05-22 01:04:32 +0000 |
commit | ac08ac1ff80840c9622dcb3633263498ab4f508f (patch) | |
tree | 3194ea36c8cb399369dbd85c66c3ec659d06ec3b /cards/iso_7816_4_card.py | |
parent | b3b052df7f89475d1ff17bd2b60a2d0617244421 (diff) |
fix decoding of multi-byte tags
move parse_tlv to generic card
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@69 f711b948-2313-0410-aaa9-d29f33439f0b
Diffstat (limited to 'cards/iso_7816_4_card.py')
-rw-r--r-- | cards/iso_7816_4_card.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cards/iso_7816_4_card.py b/cards/iso_7816_4_card.py index c9b6410..4b5b854 100644 --- a/cards/iso_7816_4_card.py +++ b/cards/iso_7816_4_card.py @@ -95,10 +95,6 @@ class ISO_7816_4_Card(Card): print utils.hexdump(result.data) print TLV_utils.decode(result.data) - def cmd_parsetlv(self): - "Decode the TLV data in the last response" - print TLV_utils.decode(self.last_result.data) - ATRS = list(Card.ATRS) ATRS.extend( [ (".*", None), ## For now we accept any card @@ -110,7 +106,6 @@ class ISO_7816_4_Card(Card): "cd": cmd_cd, "cat": cmd_cat, "open": cmd_open, - "parse_tlv": cmd_parsetlv, } ) STATUS_WORDS = dict(Card.STATUS_WORDS) |