| COMMAND |
CLASS |
INSTRUCTION |
P1 |
P2 |
P3 |
Data Field 1 |
Data Field 2 |
| Read Binary |
C0 |
B0 |
EF identifier |
Offset of 1st byte read |
Number of bytes to be read |
N/A |
N/A |
| Write Binary |
C0 |
D0 |
EF identifier |
Offset of 1st byte written |
Number of bytes to be written |
Byte string |
N/A |
| Update Binary |
C0 |
D6 |
EF identifier |
Offset of 1st byte written |
Number of bytes to be written |
Byte string |
N/A |
| Erase Binary |
C0 |
0E |
EF identifier |
Offset of 1st byte erased |
If not zero this is length of data field 1 |
If present, this is the offset of the first byte not erased, must be greater than P2 |
N/A |
| Read Record |
C0 |
B2 |
Index of the record to be read (01,02 .. FF) OR 00 if the current record is to be read |
Selection of record to be read 00 first, 02 next, 03 previous, 04 current |
Number of bytes to be read |
N/A |
N/A |
| Write Record |
C0 |
D2 |
Index of the record to be written (01,02 .. FF) OR 00 if the current record is to be read |
Selection of record to be read 00 first, 02 next, 03 previous, 04 current |
Number of bytes to be written |
Byte string |
N/A |
| Append Record |
C0 |
E2 |
00 |
EF identifier |
Number of bytes in the append |
Byte string |
N/A |
| Update Record |
C0 |
DC |
Index of the record to be written (01,02 .. FF) OR 00 if the current record is to be read |
Selection of record to be read 00 first, 02 next, 03 previous, 04 current |
Number of bytes to be written |
Byte string |
N/A |
| Get Data |
C0 |
CA |
Data Object |
Identifier |
Size of response Le |
N/A |
N/A |
| Put Data |
C0 |
DA |
Data Object |
Identifier |
Length of Data Field |
Data to be written |
N/A |
| Select File |
C0 |
A4 |
00 |
00 |
02 |
2-byte file identifier |
N/A |
| Verify |
C0 |
20 |
00 |
Qualifier of reference data |
Length of Data Field |
Verification data |
N/A |
| Internal Authenticate |
C0 |
88 |
ID of algorithm in card |
ID of secret key |
Length of Data Field |
Challenge Data |
Maximum number of bytes expected in response |
| External Authenticate |
C0 |
82 |
ID of algorithm in card |
ID of secret key |
Length of Data Field |
Empty or response to challenge |
N/A |
| Get Challenge |
C0 |
84 |
00 |
00 |
Challenge size |
N/A |
N/A |
| Manage Channel |
C0 |
70 |
00 open, 80 close |
Channel ID: 00 - 03 |
00 |
N/A |
N/A |
| Get Response |
C0 |
C0 |
00 |
00 |
Number of bytes to retrieve |
N/A |
N/A |
| Envelope |
C0 |
C2 |
00 |
00 |
Length of Data Field |
Encapsulated APDU |
Empty of Length of Le |