APDU
ISO 7816-4 Application Protocol Data Unit
Transport Layer
ISO 7816-3
T=0 バイト(キャラクタ)
T=1 ブロック
通常T=1っぽい
Command APDU(C-APDU)
デバイス(Card Acceptance Device CAD)からCardへ送信
header
CLA 1byte
INS 1byte
P1
P2
body
Lc
Command data
Le
Response APDU(R-APDU)
CardからCADへ送る
Response data
Response trailer
SW1
SW2