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 APDU CLA INS P1 P2
Information field CLA INS P1 P2

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

Information field SW1 SW2
Response field SW1 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-APDU CLA INS P1 P2 Le field
Information field CLA INS P1 P2 Le 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 field SW1-SW2

or concatenation of information fields

Data
SW1-SW2
R-APDU Data SW1-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-APDU CLA INS P1 P2 Lc field Data field

Either information field

CLA INS P1 P2 Lc field Data field

or concatenation of information fields

CLA INS P1 P2 Lc field Data..
…field

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

R-APDU SW1 SW2
Information field SW1 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-APDU CLA INS P1 P2 Lc field Data field Le field

Either information field

CLA INS P1 P2 Lc field Data field Le field

or concatenation of information fields

CLA INS P1 P2 Lc field Data.. 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 field SW1-SW2

or concatenation of information fields

Data
SW1-SW2
R-APDU Data SW1-SW2