Annex B: Transportation of APDU messages by T=1

ISO 7816 Part 4: Interindustry Commands for Interchange

ISO 7816 part 4, section..1 2 3 4 5 6 7 8 9 annex.. A B C D E F

For the latest version of ISO7816 part 4, please contact ISO in Switzerland.

Annex B: Transportation of APDU messages by T=1

Annex B.1 Case 1
Annex B.2 Case 2 (short and extended)
Annex B.3 Case 3 (short and extended)
Annex B.4 Case 4 (short and extended)


Annex B.1 Case 1

The command APDU is mapped onto the information field of an I-block without any change.

Command APDUCLA INS P1 P2
Information fieldCLA INS P1 P2

The information field of the I-block received in response is mapped onto the response APDU without any change.

Information fieldSW1 SW2
Response fieldSW1 SW2


Annex B.2 Case 2 (short and extended)

The command is mapped into the information field of an I-block without any change.

C-APDUCLA INS P1 P2Le field
Information fieldCLA INS P1 P2Le field

The response APDU consists of

  • either the information field of the I-block received in response,
  • or the concatenation of the information fields of successive I-blocks received in response. These blocks shall be chained.

Either information field

Data fieldSW1-SW2

or concatenation of information fields

Data
SW1-SW2
R-APDUDataSW1-SW2


Annex B.3 Case 3 (short and extended)

The command APDU is mapped without any change onto

  • either the information field of one I-block,
  • or the concatenation field of the information fields of successive I-blocks which shall be chained.
C-APDUCLA INS P1 P2Lc fieldData field

Either information field

CLA INS P1 P2Lc fieldData field

or concatenation of information fields

CLA INS P1 P2Lc fieldData..
…field

The information field of the I-block received in response is mapped onto the response APDU without any change.

R-APDUSW1 SW2
Information fieldSW1 SW2


Annex B.4 Case 4 (short and extended)

The command APDU is mapped without any change onto

  • either the information field of one I-block,
  • or the concatenation of the information fields of successive I-blocks which shall be chained
C-APDUCLA INS P1 P2Lc fieldData fieldLe field

Either information field

CLA INS P1 P2Lc fieldData fieldLe field

or concatenation of information fields

CLA INS P1 P2Lc fieldData..Le field
Le field
  • either the information field of one I-block received in response,
  • or the concatenation of the information fields of successive I-blocks received in response. These blocks shall be chained.
Data fieldSW1-SW2

or concatenation of information fields

Data
SW1-SW2
R-APDUDataSW1-SW2