一、应用初始化的目的:
二、应用初始化步骤:
三、使用的命令


四、PDOL
PDOL(tag '9F38',来自select AID卡片返回)。
PDOL的填充在EMV Book3的5.4 Rules for Using a Data Object List (DOL)很详细,可以了解下。我这里直接Copy原文:
"1. Read the DOL from the ICC.
2. Concatenate all data elements listed in the DOL. The following rules apply to this concatenation:
a. If the tag of any data object identified in the DOL is unknown to the terminal or represents a constructed data object, the terminal shall provide a data element with the length specified and a value of all hexadecimal zeroes.
b. If a data object is in the list and is meaningful to the terminal but represents optional static data that is absent from the terminal, the portion of the command field representing the data object shall be filled with hexadecimal zeroes.
c. If the length specified in the DOL entry is less than the length of the actual data object, the leftmost bytes of the data element shall be truncated if the data object has numeric (n 1) format, or the rightmost bytes of the data shall be truncated for any other format.
d. If the length specified in the DOL entry is greater than the length of the actual data, the actual data shall be padded:
with leading hexadecimal zeroes if the data has numeric format
with trailing hexadecimal 'FF's if the data has compressed numeric (cn 1) format
with trailing hexadecimal zeroes for any other format (an, ans or b including bit combination data 1)
e. If a data object is in the list and is meaningful to the terminal but represents data that is not applicable to the current transaction, the portion of the command field representing the data object shall be filled with hexadecimal zeroes."
回头有时间再补这里啦。
五、例子
