diff --git a/doc/tools/opensc-explorer.1.xml b/doc/tools/opensc-explorer.1.xml index 9440a4de..352e3b4d 100644 --- a/doc/tools/opensc-explorer.1.xml +++ b/doc/tools/opensc-explorer.1.xml @@ -40,16 +40,6 @@ opensc-explorer. There are additional interactive commands available once it is running. - - - num, - num - - - Use the given reader number. The default - is 0, the first reader in the system. - - driver, @@ -74,9 +64,13 @@ - , + num, + num - Wait for a card to be inserted + + Use the given reader number. The default + is 0, the first reader in the system. + @@ -88,6 +82,12 @@ debug output in the opensc library. + + + , + + Wait for a card to be inserted + @@ -100,16 +100,19 @@ - ls + apdu hex-data - List all files in the current DF + + Send a custom APDU command hex-data. + - cd file-id + asn1 file-id - Change to another DF specified by file-id + Parse and print the ASN.1 encoded content of the file specified by + file-id. @@ -117,61 +120,19 @@ cat [file-id] - cat sfi:sfi-id + cat sfi:short-id - Print the contents of the currently selected EF or the contents of a file - specified by file-id - or sfi-id. + Print the contents of the currently selected EF or the contents + of a file specified by file-id or the short file id + short-id. - info [file-id] + cd file-id - Display attributes of a file specified by file-id. - If file-id is not supplied, - the attributes of the current file are printed. - - - - - create file-id size - - Create a new EF. file-id specifies the - id number and size is the size of the new file. - - - - - - delete file-id - - Remove the EF or DF specified by file-id - - - - - rm file-id - - Remove the EF or DF specified by file-id - - - - - verify key-typekey-id [key] - - Present a PIN or key to the card. Where key-type - can be one of CHV, KEY or PRO. key-id is a number representing the - key or PIN reference. key is the key or PIN to be verified in hex. - - - If key is omitted, PIN will be verified with PIN-Pad. - - - Example: verify CHV0 31:32:33:34:00:00:00:00 - - + Change to another DF specified by file-id @@ -196,39 +157,28 @@ - put file-id input + create file-id size - Copy a local file to the card. The local file is specified - by input while the card file is specified by file-id. + Create a new EF. file-id specifies the + id number and size is the size of the new file. - get file-id [output] + debug [level] - Copy an EF to a local file. The local file is specified - by output while the card file is specified by file-id. - - - If output is omitted, the name of the output file will be - derived from the full card path to file-id. - + Set OpenSC debug level to level. + If level is omitted the current debug level will be shown. - do_put hex-tag input + delete file-id - - Update internal card's 'tagged' data. - hex-tag is the tag of the card's data. - input is the filename of the source file or the literal data presented as - a sequence of hexadecimal values or " enclosed string. - - + Remove the EF or DF specified by file-id @@ -249,10 +199,15 @@ - mkdir file-id size + do_put hex-tag input - Create a DF. file-id specifies the id number - and size is the size of the new file. + + Update internal card's 'tagged' data. + hex-tag is the tag of the card's data. + input is the filename of the source file or the literal data presented as + a sequence of hexadecimal values or " enclosed string. + + @@ -262,6 +217,61 @@ Erase the card, if the card supports it. + + + get file-id [output] + + + Copy an EF to a local file. The local file is specified + by output while the card file is specified by file-id. + + + If output is omitted, the name of the output file will be + derived from the full card path to file-id. + + + + + + + info [file-id] + + Display attributes of a file specified by file-id. + If file-id is not supplied, + the attributes of the current file are printed. + + + + + ls + + List all files in the current DF + + + + + mkdir file-id size + + Create a DF. file-id specifies the id number + and size is the size of the new file. + + + + + put file-id input + + Copy a local file to the card. The local file is specified + by input while the card file is specified by file-id. + + + + + + quit + + Exit the program. + + random count @@ -271,6 +281,25 @@ + + + rm file-id + + Remove the EF or DF specified by file-id + + + + + update_binary file-id offs data + + + Binary update of the file specified by file-id with the literal data + data starting from offset specified by offs. + data can be supplied as a sequence of the hex values or + as a " enclosed string. + + + update_record file-id rec-nr rec-offs data @@ -287,50 +316,19 @@ - update_binary file-id offs data + verify key-type key-id [key] - - Binary update of the file specified by file-id with the literal data - data starting from offset specified by offs. - data can be supplied as a sequence of the hex values or - as a " enclosed string. - - - - - - debug [level] - - - Set OpenSC debug level to level. - If level is omitted the current debug level will be shown. - - - - - - apdu hex-data - - - Send a custom APDU command hex-data. - - - - - - asn1 file-id - - - Parse and print the ASN.1 encoded content of the file specified by - file-id. - - - - - - quit - - Exit the program. + Present a PIN or key to the card. Where key-type + can be one of CHV, KEY or PRO. key-id is a number representing the + key or PIN reference. key is the key or PIN to be verified in hex. + + + If key is omitted, PIN will be verified with PIN-Pad. + + + Example: verify CHV0 31:32:33:34:00:00:00:00 + +