智能卡应用协议数据单元

在智能卡领域, 应用协议数据单元 (APDU) 是主機端和智能卡之间的通信单元。APDU的结构由ISO/IEC 7816-4 定义。 Organization, security and commands for interchange .

APDU命令-响应消息对
有两种类别的APDU:命令APDU和响应APDU。命令APDU由读卡器发送到智能卡-它包含了一个必选的4字节的头部(CLA,INS,P1,P2)和0到255字节的数据。响应APDU由智能卡发送到读卡器-它包含了必选的2字节的状态字和0到256字节的数据。

参考文献:
外部链接
*[https://web.archive.org/web/20090624235219/http://cheef.ru/docs/iso/ Smartcard ISOs, contents ]
*[https://web.archive.org/web/20090630004017/http://cheef.ru/docs/HowTo/APDU.info Selected list of smartcard APDU commands]
*[https://web.archive.org/web/20090623030155/http://cheef.ru/docs/HowTo/SW1SW2.info Selected list of SW1 SW2 Status bytes]

评论 (0)

  • 还没有评论,来抢沙发吧。