opensc-tool1OpenSCOpenSC Toolsopenscopensc-toolgeneric smart card utilityopensc-toolOPTIONSDescription
The opensc-tool 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.
OptionsPrint the OpenSC package release version.
,
Print the Answer To Reset (ATR) of the card.
Output is in hex byte formatdriver,
driver
Use the given card driver.
The default is to auto-detect the correct card driver.
The literal value ? lists
all available card drivers.
,
Lists algorithms supported by card
,
Print information about OpenSC, such as version and enabled components.
,
List all installed card drivers.
,
Recursively list all files stored on card.
,
List all configured readers.
,
Print the name of the inserted card (driver).conf,
confGet configuration key, format: section:name:keyconf,
confSet configuration key, format: section:name:key:valuearg,
arg
Number of the reader to use. By default, the first
reader with a present card is used. If
arg is an ATR, the
reader with a matching card will be chosen.
type,
Resets the card in reader.
The default reset type is cold,
but warm reset is also possible.apdu,
apduSends an arbitrary APDU to the card in the format
AA:BB:CC:DD:EE:FF....Print the card serial number (normally the ICCSN).
Output is in hex byte format
,
Causes opensc-tool to be more verbose.
Specify this flag several times to enable debug output in the opensc library.
,
Wait for a card to be inserted.See alsoopensc-explorer1Authorsopensc-tool was written by
Juha Yrjölä juha.yrjola@iki.fi.