PC/SC Guide
Prox–DU & Prox–SU
www.gemalto.com
DOC119811A Public Use Page 7/129
FOR MORE INFORMATION ............................................................................................... 129
S
TANDARDS AND SPECIFICATIONS ...................................................................................... 129
TABLE LIST
Table 1 – Dual interface USB smart card reader/writer models .............................................. 9
Table 2 – Smart Card Database Query Functions ................................................................ 16
Table 3 – Smart Card Database Management Functions ..................................................... 16
Table 4 – Resource Manager Context Functions ................................................................. 16
Table 5 – Resource Manager Support Function ................................................................... 16
Table 6 – Smart Card Tracking Functions ............................................................................ 17
Table 7 – Smart Card and Reader Access Functions ........................................................... 17
Table 8 – Direct Card Access Functions ............................................................................... 17
Table 9 – SCard return values .............................................................................................. 78
Table 10 – Linux WinSCard Functions .................................................................................. 80
Table 10 – Known issues and limitations (Windows OS) ...................................................... 90
Table 11 – Known issues and limitations (Linux OS) ............................................................ 91
Table 12 – PCSC-Lite known issues and limitations (Mac OS X) ......................................... 92
Table 13 – ATR for contactless Smart cards ........................................................................ 94
Table 14 – ATR for MIFARE
®
cards .................................................................................... 100
Table 15 – SS Byte for Standard ........................................................................................ 101
Table 16 – NN Bytes for Card Name .................................................................................. 101
Table 17 – Memory card error codes .................................................................................. 110
Table 18 – ATR for contact smart cards ............................................................................. 113
Table 19 – Clock rate conversion factor F .......................................................................... 115
Table 20 – Bit rate adjustment factor D ............................................................................... 116
Table 21 – clock stop indicator X ........................................................................................ 117
Table 22 – class indicator Y ................................................................................................ 117
Table 23 – Memory Sectors of MIFARE
®
1K ....................................................................... 118
Table 24 – Memory Sectors of MIFARE
®
Mini .................................................................... 119
Table 25 – Memory Sectors of MIFARE
®
4K ....................................................................... 121
Table 26 – Memory mapping of MIFARE
®
UL .................................................................... 122
Table 27 – Access to Data Blocks ...................................................................................... 127
Table 28 – Access to Sector Trailer .................................................................................... 128
FIGURE LIST
Figure 1 – PC/SC Architecture .............................................................................................. 13
Figure 2 – Prox–DU PC/SC name (Windows) ...................................................................... 81
Figure 3 – Prox–SU PC/SC name (Windows) ....................................................................... 81
Figure 4 – Prox–DU and Prox–SU PC/SC names (Windows) .............................................. 81
Figure 5 – Two Prox–DU PC/SC names (Windows) ............................................................. 81
Figure 6 – Prox–DU PC/SC name (Linux) ............................................................................ 82
Figure 7 – Prox–SU PC/SC name (Linux) ............................................................................. 82
Figure 8 – Prox–DU and Prox–SU PC/SC names (Linux) .................................................... 82
Figure 9 – Two Prox–DU PC/SC names (Linux) ................................................................... 82
Figure 10 – Gem_PCSC window .......................................................................................... 84
Figure 11 – Gem_PCSC window at start up ......................................................................... 85
Figure 12 – Gem_PCSC window after “SCardEstablishContext” ......................................... 85
Figure 13 – Gem_PCSC window after “SCardConnect” ....................................................... 86
Figure 14 – Gem_PCSC window after “SCardTransmit” the Authentication command ....... 86
Figure 15 – Gem_PCSC window after “SCardTransmit” the Read command ...................... 87