Smart card ATR parsing

Enter an ATR (Answer To Reset) and I will parse it for you.

Results

Parsing ATR:

3B D6 97 00 81 B1 FE 45 1F 07 80 31 C1 52 11 18 F9
TS = 0x3BDirect Convention
T0 = 0xD6Y(1): b1101, K: 6 (historical bytes)
TA(1) = 0x97Fi=512, Di=64, 8 cycles/ETU (500000 bits/s at 4.00 MHz, 625000 bits/s for fMax=5 MHz)
TC(1) = 0x00Extra guard time: 0
TD(1) = 0x81Y(i+1) = b1000, Protocol T=1
----
TD(2) = 0xB1Y(i+1) = b1011, Protocol T=1
----
TA(3) = 0xFEIFSC: 254
TB(3) = 0x45Block Waiting Integer: 4 - Character Waiting Integer: 5
TD(3) = 0x1FY(i+1) = b0001, Protocol T=15
----
TA(4) = 0x07Clock stop: not supported - Class accepted by the card: (3G) A 5V B 3V C 1.8V
----
Historical bytes80 31 C1 52 11 18
Category indicator byte: 0x80 (compact TLV data object)
Tag: 3, Len: 1 (card service data byte)
Card service data byte: 193
- Application selection: by full DF name
- Application selection: by partial DF name
- EF.DIR and EF.ATR access services: by GET RECORD(s) command
- Card without MF
Tag: 5, Len: 2 (card issuer's data)
Card issuer data: 11 18 ".."
TCK = 0xF9correct checksum

Possibly identified card:

3B D6 97 00 81 B1 FE 45 1F 07 80 31 C1 52 11 18 F9

NASA Personal Identity Verification (PIV) card (eID)

IDEMIA Cosmo V8.0 with a PIV applet

Canonical URL JSON output

Again

Submit another ATR


See also

The parsing code is part of pyscard and is available at parseATR.py.

The list of known ATR is also available online at smartcard_list.txt.

My blog contains a serie of artickes about ATR bytes.