aboutsummaryrefslogtreecommitdiffstats
path: root/cards/iso_7816_4_card.py
diff options
context:
space:
mode:
authorhploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b>2006-11-19 04:44:45 +0000
committerhploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b>2006-11-19 04:44:45 +0000
commit39945787089c71fe781d5071ebe8f4af9b2a1fc7 (patch)
treef41ca6ceb309a2ba33a0763b3c6cc524f799d832 /cards/iso_7816_4_card.py
parent15f7be1e4f6b3c2f6b814f4814e0cfc7be506e01 (diff)
Minor beautification
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@127 f711b948-2313-0410-aaa9-d29f33439f0b
Diffstat (limited to 'cards/iso_7816_4_card.py')
-rw-r--r--cards/iso_7816_4_card.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cards/iso_7816_4_card.py b/cards/iso_7816_4_card.py
index 532072b..101c98c 100644
--- a/cards/iso_7816_4_card.py
+++ b/cards/iso_7816_4_card.py
@@ -2,9 +2,9 @@ import TLV_utils
from generic_card import *
class ISO_7816_4_Card(Card):
- APDU_SELECT_FILE = C_APDU("\x00\xa4\x00\x00")
- APDU_READ_BINARY = C_APDU("\x00\xb0\x00\x00\x00")
- APDU_READ_RECORD = C_APDU("\x00\xb2\x00\x00\x00")
+ APDU_SELECT_FILE = C_APDU(ins=0xa4)
+ APDU_READ_BINARY = C_APDU(ins=0xb0,le=0)
+ APDU_READ_RECORD = C_APDU(ins=0xb2,le=0)
DRIVER_NAME = "ISO 7816-4"
FID_MF = "\x3f\x00"