CLOUD
47
X
0
F
R
EFERENCE
M
ANUAL
25
5.3.3. PC/SC 2.0 compliant ATR for contactless interface
When a user credential is placed on the reader, initialization, anti-collision is done. The user
credential is automatically activated and an ATR is built as defined in the PC/SC specification.
For further information, please refer to section 3.1.3.2.3 of [PCSC3] and to [PCSC3-SUP]
5.3.3.1. ATR for contactless storage user tokens
The ATR of the credential is composed as described in the table below. In order to allow the
application to identify the storage card properly, it’s Standard and Card name describing bytes
must be interpreted according to the Part 3 Supplemental Document, maintained by PC/SC.
Credentials using technology like MIFARE are examples of this:
Byte#
Value
Designation
Description
0
0x3B
Initial header
1
0x8n
T0
n indicates the number of historical bytes in
following ATR
2
0x80
TD1
upper nibble 8 indicates no TA2, TB2, TC2
lower nibble 0 means T=0
3
0x01
TD2
upper nibble 0 indicates no TA3, TB3, TC3
lower nibble 1 means T=1
4...3+n
0x80
A status indicator may be present in an
optional TLV data object
0x4F
Optional TLV
data object
Tag: Application identifier
Length
1 byte
RID
Registered identifier on 5 bytes
PIX
Proprietary identifier extension on 3 bytes
0x00 0x000x000x00
4 RFU bytes
4+n
TCK
XOR of all previous bytes
Example of the ATR built for contactless storage tokens:
MIFARE Classic 4K
MIFARE Ultralight