On 5/10/05, Michael Bender <[EMAIL PROTECTED]> wrote:
>    Does anyone know of or have an ATR decoder that takes an ATR
> and decomposes into it's constituent parts?

Something like ATR_analysis available at [1]?
Example:
ATR_analysis '3B FA 13 00 FF 81 31 80 45 00 31 C1 73 C0 01 00 00 90 00 B1'
ATR: 3B FA 13 00 FF 81 31 80 45 00 31 C1 73 C0 01 00 00 90 00 B1
+ TS = 3B --> Direct Convention
+ T0 = FA, Y(1): 1111, K: 10 (historical bytes)
  TA(1) = 13 --> Fi=372, Di=4, 93.000 cycles/ETU
  TB(1) = 00 --> Programming Param P: 0 Volts, I: 0 milli-Amp�res
  TC(1) = FF --> Extra guard time: 255
  TD(1) = 81 --> Y(i+1) = 1000, Protocol T = 1
-----
  TD(2) = 31 --> Y(i+1) = 0011, Protocol T = 1
-----
  TA(3) = 80 --> IFSC: 128
  TB(3) = 45 --> Block Waiting Integer: 4 - Character Waiting Integer: 5
+ Historical bytes: 00 31 C1 73 C0 01 00 00 90 00 B1

Possibly identified card:
3B FA 13 00 FF 81 31 80 45 00 31 C1 73 C0 01 00 00 90 00 B1
        OpenPGP

The program is written in Perl and uses the file smartcard_list.txt
also available at [1] to identify the card.

Bye,

[1] http://ludovic.rousseau.free.fr/softwares/pcsc-tools/

-- 
 Dr. Ludovic Rousseau
 For private mail use [EMAIL PROTECTED] and not "big brother" Google

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to