【EMV L2】GPO响应以及AIP、AFL
【GPO命令】
终端通过GPO(Get Processing Options)命令 通知卡片交易开始。命令数据为PDOL指定的终端数据。
【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字节的整数倍;
AFL包含终端将要读取用来交易处理的卡片数据文件的SFI和记录范围。每个要读取的文件在AFL中对应4个字节;
byte1:短文件标识符(SFI);
byte2:文件中要读取的第1个记录的记录号;
byte3:文件中要读取的最后一个记录的记录号;
byte4:从第1个记录开始的用于脱机数据认证的连续记录数;
An AFL entry with invalid syntax, that is, any one or more of the following:
An SFI of 0 or 31.
A starting record number of 0.
An ending record number less than the starting record number (byte 3 < byte 2).
Number of records participating in offline data authentication greater than the number of records (byte 4 > byte 3 - byte 2 + 1).
【EMV L2】GPO响应以及AIP、AFL的更多相关文章
- 【EMV L2】CDA复合动态数据认证/应用密文生成
复合动态数据认证/应用密文生成处理流程:对于复合动态数据认证/应用密文生成,终端执行标准动态数据认证的步骤1到3:1.认证中心公钥的获取终端使用认证中心公钥索引(PKI)以及卡片中的注册的应用提供商标 ...
- 【EMV L2】Processing Restrictions
目的: 处理限制(Processing Restrictions)的目的是确定终端中的应用程序与ICC中的应用程序的兼容程度,并进行任何必要的调整,包括可能拒绝交易. 执行条件: 终端应该都要执行Pr ...
- 【EMV L2】2CS.001.00 ~ 2CS.007.00
测试case要求,对于T=0和T=1卡,命令中是否存在Le是有差异的: - Select: Mandatory Command00 A4 04 00 Lc Command Data LeLc = 05 ...
- 【EMV L2】Select PSE应用选择相关的卡片数据格式
The data field of the response message contains the FCI specific to the selected PSE, DDF, or ADF. 一 ...
- 【EMV L2】终端风险管理(Terminal Risk Management)
终端风险管理使大额交易联机授权,并确保芯片交易能够周期性地进行联机以防止在脱机环境中也许无法察觉的风险. 虽然发卡行被强制要求在应用交互特征(AIP)中将终端风险管理位设置成1以触发终端风险管理,但终 ...
- 【EMV L2】EMV终端数据
Account TypeAcquirer IdentifierAdditional Terminal CapabilitiesAmount, Authorised (Binary)Amount, Au ...
- 【EMV L2】Cardholder Verification Rule(CVR) Format
Cardholder Verification Rule(CVR)由两个字节组成: 高字节为Cardholder Verification Method (CVM) Codes,表示执行Cardhol ...
- 【EMV L2】Application Usage Control
[Application Usage Control] Tag9F07,卡片数据,2bytes: Indicates issuer’s specified restrictions on the ge ...
- 【EMV L2】数据元格式 & 对齐方式
[数据元格式] [对齐方式] 摘录:<中国金融集成电路(IC)卡规范 第6部分:借记贷记应用终端规范.pdf>- 8 终端数据
随机推荐
- Python3+Flask安装使用教程
一.环境配置 当前我的开发环境是Miniconda3+PyCharm.开发环境其实无所谓,自己使用Python3+Nodepad都可以.安装Flask库: pip install Flask 二.第一 ...
- JSP之mysql中文乱码问题
查看数据库编码方式 show variables like 'character%'; 关于jsp页面插入数据库乱码问题. 我遇到的问题是插入数据库后后台select * from tablename ...
- WebService调用SSAS教程
WebService调用SSAS教程 一.创建SSAS项目 使用SQL Server Business Intelligence Development Studio新建Analysis Servic ...
- APP包打包签名步骤
开发混合app上架应用市场,需要进行应用签名,但是申请签名如果没搞过,会特别麻烦,所以我自自己总结了一下申请的步骤,在此记录一下 1.首先需要下载安装java环境即jdk, 2.配置环境变量 假设JD ...
- fiddler 4 设置代理
Windows使用一种被称为“AppContainer”的隔离技术,它可能会干扰lmmersive应用程序和Edge浏览器的流量捕捉.使用进度Telerik Fiddler的工具栏上的WinConfi ...
- linux IPtable防火墙 禁止和开放端口
1.关闭所有的 INPUT FORWARD OUTPUT 只对某些端口开放.下面是命令实现: iptables -P INPUT DROPiptables -P FORWARD DROPiptable ...
- 部署你的CRM程序
教你发布CRM 发布CRM你将使用以下软件 nginx uWSGI CentOS7 CRM项目文件 virtualenv supervisor WSGI.uWSGI python web服务器开发 ...
- Python随笔--爬虫(下载妹子图片)
- linux 普通用户批量创建账户与密码
#!/bin/bash # add user imp - # by imp # ) do useradd imp$i echo "$i" |passwd --stdin imp$i ...
- intptr_t 指针(转)
reference:http://muchong.com/bbs/ 对于64为系统: typedef signed char int8_t; typedef short int int16_t; ty ...