【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 终端数据
随机推荐
- vs2015 c# winfrom应用程序打包成64位
关于Winform打包过程在网上已有详细教程,参考:https://www.cnblogs.com/yinsq/p/5254893.html 此次工作中需要打包成64位的程序,网上没有查到方法,现在讲 ...
- reactjs-swiper react轮播图组件基于swiper
react轮播图组件基于swiper demo地址:http://reactjs-ui.github.io/reactjs-swiper/simple.html 1. 下载安装 npm install ...
- bootstrap modal 监听滚动条事件
bootstrap modal 里面使用datetimepicker时间控件,滚动时,时间控件并不会隐藏,这是一个小bug,在组里改下,当滚动条滚动时,直接隐藏这个时间控件,$("#alar ...
- Unity中Terrain中刷出的树木模糊解决办法
Billboard Start 该项用于设定摄像机将树渲染为广告牌的距离.
- oracle之触发器
触发器可以看做一种"特殊"的存储过程,它定义了一些与数据库相关事件(如INSERT,UPDATE,CREATE等事件)发生时应执行的"功能代码块",常用与管理复 ...
- Exception: 'dlib.mmod_rectangle' object has no attribute 'right' - 例外:'dlib.mmod_rectangle'对象没有属性'right'
I'm using dlib for face detection and getting this error Exception: 'dlib.mmod_rectangle' object has ...
- 有趣的js(鼠标特效)
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content ...
- Altium Designer 使用小技巧2
(a)在没画原理图,直接在PCB上绘制时需要将Tools/Preferences/PCB Editor/Interactiver Routing 中的Current Mode 中的选项选择为 Igno ...
- 解决eclipse的自动换行问题。
安装方法:使用Eclipse 的自动升级功能,菜单栏选Help → install new Software 点解Add按钮,在“ Name ”中填入“ wordwrap ”,“ URL ”中填入“ ...
- ansj分词
本文转载至:https://blog.csdn.net/bitcarmanlee/article/details/53607776 最近的项目需要使用到分词技术.本着不重复造轮子的原则,使用了ansj ...