2002-11-28 15:58:52 +00:00
|
|
|
|
.PU
|
|
|
|
|
.ds nm \fBopensc-tool\fR
|
|
|
|
|
.TH opensc-tool 1 "September 3, 2002" "" OpenSC
|
|
|
|
|
.SH NAME
|
|
|
|
|
opensc-tool \- generic smart card utility
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
|
\*(nm
|
|
|
|
|
.RI [OPTIONS]
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
The \*(nm utility can be used from the command line to perform
|
|
|
|
|
miscellaneous smart card operations such as getting the card
|
|
|
|
|
ATR or sending arbitrary APDU commands to a card.
|
|
|
|
|
.SH OPTIONS
|
|
|
|
|
.TP
|
|
|
|
|
.BR \-\-atr ", " \-a
|
|
|
|
|
Print the Answer To Reset (ATR) of the card, output is in hex byte
|
|
|
|
|
format
|
|
|
|
|
.TP
|
2004-12-16 08:50:51 +00:00
|
|
|
|
.BR \-\-serial
|
|
|
|
|
Print the card serial number (normally the ICCSN), output is in hex byte
|
|
|
|
|
format
|
|
|
|
|
.TP
|
2002-11-28 15:58:52 +00:00
|
|
|
|
.BR "\-\-send\-apdu " \fIapdu\fP ", \-s " \fIapdu\fP
|
|
|
|
|
Sends an arbitrary APDU to the card in the format AA:BB:CC:DD:EE:FF...
|
|
|
|
|
.TP
|
|
|
|
|
.BR \-\-list\-files ", " \-f
|
|
|
|
|
Recursively lists all files stored on card
|
|
|
|
|
.TP
|
|
|
|
|
.BR \-\-list\-readers ", " \-l
|
|
|
|
|
Lists all configured readers
|
|
|
|
|
.TP
|
|
|
|
|
.BR \-\-list\-drivers ", " \-D
|
|
|
|
|
Lists all installed card drivers
|
|
|
|
|
.TP
|
|
|
|
|
.BR \-\-list\-rdrivers ", " \-R
|
|
|
|
|
Lists all installed reader drivers
|
|
|
|
|
.TP
|
|
|
|
|
.BR "\-\-reader " \fInum\fP ", \-r " \fInum\fP
|
|
|
|
|
Use the given reader number. The default is 0, the first reader
|
|
|
|
|
in the system.
|
|
|
|
|
.TP
|
|
|
|
|
.BR "\-\-card\-driver " \fIdriver\fP ", \-c " \fIdriver\fP
|
|
|
|
|
Use the given card driver. The default is auto-detected.
|
|
|
|
|
.TP
|
2004-06-13 20:13:12 +00:00
|
|
|
|
.BR \-\-verbose ", " \-v
|
|
|
|
|
Causes \*(nm to be more verbose. Specify this flag several times
|
|
|
|
|
to enable debug output in the opensc library.
|
2002-11-28 15:58:52 +00:00
|
|
|
|
.SH SEE ALSO
|
|
|
|
|
.BR opensc (7),
|
|
|
|
|
.BR opensc-explorer (1)
|
|
|
|
|
.SH AUTHORS
|
|
|
|
|
\*(nm was written by Juha Yrj<72>l<EFBFBD> <juha.yrjola@iki.fi>.
|
|
|
|
|
This manpage was contributed by Joe Phillips <joe.phillips@innovationsw.com>
|
|
|
|
|
for the Debian GNU/Linux system (but may be used by others).
|