Hello,
I just released pcsc-tools version 1.4.5. The ATR_analysis script can
now parse the historical bytes of an ATR (according to ISO 7816-4). So
you can have something like:
$ ATR_analysis 3B 6D 00 FF 00 31 80 71 8E 64 48 D5 02 00 82 90 00
ATR: 3B 6D 00 FF 00 31 80 71 8E 64 48 D5 02 00 82 90 00
+ TS = 3B --> Direct Convention
+ T0 = 6D, Y(1): 0110, K: 13 (historical bytes)
TB(1) = 00 --> Programming Param P: 0 Volts, I: 0 milliamperes
TC(1) = FF --> Extra guard time: 255
+ Historical bytes: 00 31 80 71 8E 64 48 D5 02 00 82 90 00
Category indicator byte: 00 (compact TLV data object)
Tag: 3, len: 1 (card service data byte)
Card service data byte: 80
- Application selection: by full DF name
- EF.DIR and EF.ATR access services: by GET RECORD(s) command
- Card with MF
Tag: 7, len: 1 (card capabilities)
Selection methods: 8E
- DF selection by full DF name
- Implicit DF selection
- Short EF identifier supported
- Record number supported
Tag: 6, len: 4 (pre-issuing data)
Data: 48 D5 02 00
Mandatory status indicator (3 last bytes)
LCS (life card cycle): 82 (Proprietary)
SW: 9000 (Normal processing.)
Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 6D 00 FF 00 31 80 71 8E 64 48 D5 02 00 82 90 00
Blue for Business, American [EMAIL PROTECTED]
Changelog:
1.4.5 - 8 May 2006, Ludovic ROUSSEAU
- 9 new ATR
- improve ATR_analysis: add code to parse the historical bytes
--
Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle