50 likes | 274 Vues
7816-3. Soliton Jie.zeng. APDU 命令应答对. Command Header. Command Body ( condition ). CLA INS P1 P2. [Lc] [DATA] [Le]. Command APDU Structure. Response Body (condition). Response Trailer. [DATA]. SW1 SW2. Response APDU Structure. APDU 命令应答对. CASE 1. CASE 2. CLA INS P1 P2.
E N D
7816-3 Soliton Jie.zeng
APDU 命令应答对 CommandHeader CommandBody(condition) CLA INS P1 P2 [Lc] [DATA] [Le] Command APDU Structure Response Body (condition) Response Trailer [DATA] SW1 SW2 Response APDU Structure Soliton Confidential
APDU 命令应答对 CASE 1 CASE 2 CLA INS P1 P2 CLA INS P1 P2 Le SW1 SW2 DATA SW1 SW2 CASE 3 CLA INS P1 P2 Lc DATA SW1 SW2 Soliton Confidential
APDU 命令应答对 CASE 4 CLA INS P1 P2 Lc DATA Le DATA SW1 SW2 Soliton Confidential
T=0 • 作用 • 通过使用 GET_RESPONSE 和 ENVELOPE命令将APDU转化为TPDU传输 • 某些命令会将一对APDU命令应答对转化为两对TPDU命令应答对( 如 CASE4s) Soliton Confidential