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

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 P2Le field
Information field
CLA 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-APDU
DataSW1-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 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-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 P2Lc fieldData fieldLe field

Either information field

CLA INS P1 P2Lc fieldData fieldLe field

or concatenation of information fields

CLA INS P1 P2Lc fieldData fieldLe field
Le field

The response APDU consists of

  • either the information 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.
Data fieldSW1-SW2

or concatenation of information fields

 
Data
 
 
SW1-SW2
R-APDU
DataSW1-SW2
 
  • Easy-to-use chip card integration with .NET library
.NET library for chip cards

with C# and VB.NET sample code for Mifare, DESFire EV1, JavaCard, KVK, eGK, SIM, PIV, CAC, HID Prox, iCLASS, SEOS and many more