APDU指令集合.docVIP

  • 370
  • 0
  • 约 5页
  • 2017-01-06 发布于重庆
  • 举报
APDU指令集合

GP APDU 指令参考(GlobalPlatform 第九章) State Returned Sw1 sw2 meaning 62 00 Logical Channel already closed 62 83 Card Life Cycle State is CARD_LOCKED 63 10 More data available 64 00 No specific diagnosis 65 81 Memory failure 67 00 Wrong length in Lc 68 81 Logical channel not supported or is not active 68 82 Secure messaging not supported 69 82 Security status not satisfied 69 85 Conditions of use not satisfied 6A 80 Incorrect values in command data 6A 81 Function not supported e.g. card Life Cycle State is CARD_LOCKED 6A 82 Selected Application / file not found 6A 84 Not enough memory space 6A 86 Incorrect P1 P2 6A 88 Referenced data not found 6D 00 Invalid instruction 6E 00 Invalid class 94 84 Algorithm not supported 基本指令 command CLA INF Delete command (80\84) E4 (9.2) GET DATA Command (00\80\84) CA (9.3) GET STATUS Command (80\84)F2 (9.4) INSTALL Command (80\84)E6 (9.5) LOAD Command (80\84)E8 (9.6) MANAGE CHANNEL Command 00 70 (9.7) PUT KEY Command (80\84)D8 (9.8) SELECT Command 00 A4 (9.9) SET STATUS Command (80\84)F0 (9.10) STORE DATA Command (80\84)E2 (9.11) PBOC 指令参考(中国金融集成电路1、2) 基本指令 command CLA INF 说明 APPLICATION BLOCK 84 1E 使当前选择的应用失效(6.2.3) APPLICATION UNBLOCK 84 18 用于恢复当前应用(6.2.4) CARD BLOCK 84 16 使卡中所有应用永久失效(6.2.5) EXTERNAL AUTHENTICATION 00 82 要求IC卡中的应用验证密码(6.2.6) GET CHALLENGE 00 84 请求一个用于安全相关过程的随机数(6.2.7) GET RESPONSE 00 C0 提供了一种从卡片向接口设备传送APDU的传输方法 (6.2.8) INTERNAL AUTHENTICATION 00 88 提供了利用接口设备发来的随机数和自身存储的相关密钥进行数据认证的功能(6.2.9) PIN UNBLOCK 84 24 为发卡方提供了解锁个人密码的功能(6.2.10) READ BINARY (00\04)B0 用于读取二进制文件的内容(6.2.11) READ RECORD (00\04)B2 用于读取记录文件的内容(6.2.12) SELECT 00 A4 通过文件名或AID来选择IC卡中的PSE、DDF或ADF(6.2.13) UPDATE BINARY (00\04)D6 报文使用命令APDU中给定的数据修改EF文件中已有的数据(6.2.14) UPDATE RECORD (00\04)DC 报文用命令APDU中给定的数据更改指定的记录(6.2.15) VERIFY 00 20 用于校验命令数据域中的个人密码的正确性(6.2.16)

文档评论(0)

1亿VIP精品文档

相关文档