我正在尝试读取 AFL - EMV 借记卡中的应用程序文件定位器。对于一些卡片,当我通过 apdu 时,比如 -
0x80, 0xA8, 0x00, 0x00, 0x02, 0x83, 0x00 ,0x00 (with no PDOL )
在这里它给出 0x900 但对于某些卡它给出 0x6984
对于那些给出0x6984的卡,我尝试发送apdu 喜欢-
0x80, 0xA8, 0x00, 0x00, 0x04, 0x83, 0x02, 0x08,0x26 , 0x00;
具有 PDOL 值,在这里它工作正常并根据需要提供 AFL。
按照标准说: -
6.5.8.3 Data Field Sent in the Command Message
The data field of the command message is a data object coded according to the PDOL provided by the ICC, as defined in section 5.4, and is introduced by the tag '83'. When the data object list is not provided by the ICC, the terminal sets the length field of the template to zero. Otherwise, the length field of the template is the total length of the value fields of the data objects transmitted to the ICC
我的理解是 - PDOL 首先由 ICC 提供,然后我们在 GPO 命令中使用它。
我很困惑为什么有些卡在没有 PDOL 的情况下可以正常工作,或者有些卡不能。PDOL 在 GPO 中的意义是什么,我如何从 ICC 获取 PDOL 以及我们如何在 GPO 命令中使用它?