1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
|
.\"Generated by db2man.xsl. Don't modify this, modify the source.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH "OPENSC-TOOL" 1 "" "" "OpenSC"
.SH NAME
opensc-tool \- generic smart card utility
.SH "SYNOPSIS"
.PP
\fBopensc\-tool\fR [OPTIONS]
.SH "DESCRIPTION"
.PP
The \fBopensc\-tool\fR 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"
.PP
.TP
\fB\-\-atr, \-a\fR
Print the Answer To Reset (ATR) of the card, output is in hex byte format
.TP
\fB\-\-serial\fR
Print the card serial number (normally the ICCSN), output is in hex byte format
.TP
\fB\-\-send\-apdu\fR apdu, \fB\-s\fR apdu
Sends an arbitrary APDU to the card in the format AA:BB:CC:DD:EE:FF\&.\&.\&.
.TP
\fB\-\-list\-files, \-f\fR
Recursively lists all files stored on card
.TP
\fB\-\-list\-readers, \-l\fR
Lists all configured readers
.TP
\fB\-\-list\-drivers, \-D\fR
Lists all installed card drivers
.TP
\fB\-\-list\-rdrivers, \-R\fR
Lists all installed reader drivers
.TP
\fB\-\-reader\fR num, \fB\-r\fR num
Use the given reader number\&. The default is 0, the first reader in the system\&.
.TP
\fB\-\-card\-driver\fR driver, \fB\-c\fR driver
Use the given card driver\&. The default is auto\-detected\&.
.TP
\fB\-\-verbose, \-v\fR
Causes \fBopensc\-tool\fR to be more verbose\&. Specify this flag several times to enable debug output in the opensc library\&.
.SH "SEE ALSO"
.PP
opensc(7), opensc\-explorer(1)
|