【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 终端数据
随机推荐
- ZedBoard前期准备工作
1. 资源下载 内核:https://github.com/Xilinx/linux-xlnx/releases uboot:https://github.com/Xilinx/u-boot-xlnx ...
- mysql5.7 for windows二进制安装及配置
1)mysql5.7二进制软件下载 下载地址:https://dev.mysql.com/downloads/mysql/5.7.html#downloads 下载软件:mysql-5.7.25-wi ...
- 使用monitor.bat用DDMS查看其它项目的布局
查看结果
- mysql查询表字段名称,字段类型
select column_name,column_comment,data_type from information_schema.columns where table_name='查询表名称' ...
- python编程学习--Pygame - Python游戏编程入门(0)---转载
原文地址:https://www.cnblogs.com/wuzhanpeng/p/4261015.html 引言 博客刚开,想把最近学习的东西记录下来,算是一种笔记.最近打算开始学习Python,因 ...
- web程序顺序
1.org.apache.catalina.core.AprLifecycleListener init 2.Apache Tomcat Native library which allows opt ...
- 【Alpha】项目展示
团队成员介绍 大娃 后端开发人员,主要工作为后端开发,文档撰写. 大娃的个人博客 二娃 PM,主要工作为项目进度把控,平日例会的记录,例会博客及部分其他博客的撰写. 二娃的个人博客 三娃 PM,主要工 ...
- java切割音频文件
工具: 一个jar包即可:jave-1.0.2.jar 可以切割wav格式的音频文件 完整工程目录 就一个jar包,一个main类 代码: package com.zit; import java.i ...
- sql排列组合
一个表中4条记录,如何查询所有可能组成的结果. 例如: 1 2 3 4 四条记录,最后组成(12),(13),(14),(23),(24),(34) 最后sql如下: SELECT a.name ...
- Ubuntu 中文拼音输入法键入异常
如果确定系统装的OK,可以修复ubuntu Ctrl+Alt+t切出终端,输入命令: " ibus-daemon -drx",然后再输入拼音试一试就会OK .