1OPENSC-TOOL(1) OpenSC tools OPENSC-TOOL(1)
2
3
4
6 opensc-tool - generic smart card utility
7
9 opensc-tool [OPTIONS]
10
12 The opensc-tool utility can be used from the command line to perform
13 miscellaneous smart card operations such as getting the card ATR or
14 sending arbitrary APDU commands to a card.
15
17 --atr, -a
18 Print the Answer To Reset (ATR) of the card, output is in hex byte
19 format
20
21 --serial
22 Print the card serial number (normally the ICCSN), output is in hex
23 byte format
24
25 --send-apdu apdu, -s apdu
26 Sends an arbitrary APDU to the card in the format
27 AA:BB:CC:DD:EE:FF...
28
29 --list-files, -f
30 Recursively lists all files stored on card
31
32 --list-readers, -l
33 Lists all configured readers
34
35 --list-drivers, -D
36 Lists all installed card drivers
37
38 --list-rdrivers, -R
39 Lists all installed reader drivers
40
41 --reader num, -r num
42 Use the given reader number. The default is 0, the first reader in
43 the system.
44
45 --card-driver driver, -c driver
46 Use the given card driver. The default is auto-detected.
47
48 --verbose, -v
49 Causes opensc-tool to be more verbose. Specify this flag several
50 times to enable debug output in the opensc library.
51
53 opensc(7), opensc-explorer(1)
54
55
56
57opensc 05/04/2007 OPENSC-TOOL(1)