1. 程式人生 > >【EMV L2】GPO響應以及AIP、AFL

【EMV L2】GPO響應以及AIP、AFL

 【GPO響應】

GPO的響應主要是為了取得AIP和AFL;AIP指示卡片對借貸記功能的支援能力;AFL包含終端將要讀取用來交易處理的卡片資料檔案的SFI和記錄範圍;

GPO的響應有兩種格式:

Format1:

The data object returned in the response message is a primitive data object with tag equal to '80'.The value field consists of the concatenation without delimiters (tag and length) of the value fields of the AIP and the AFL.

Format1的響應為Tag80資料,必須包含AIP和AFL,AIP長度固定為2位元組,AFL長度應該為4的倍數;

Format2:

The data object returned in the response message is a constructed data object with tag equal to '77'.The value field may contain several BER-TLV coded objects, but shall always include the AIP and the AFL.

Format2的響應為Tag77資料,必須包含AIP和AFL;

 

【AIP & AFL】

AIP:Application Interchange Profile,2位元組;

AIP指示卡片對借貸記功能的支援能力,包括靜態資料認證(SDA)、動態資料認證(DDA)、複合資料認證(CDA)、持卡人驗證、終端風險管理和髮卡行認證等;

AFL:Application File Locator,4位元組的整數倍;