zoukankan      html  css  js  c++  java
  • 【EMV L2】Processing Restrictions

    目的:

    处理限制(Processing Restrictions)的目的是确定终端中的应用程序与ICC中的应用程序的兼容程度,并进行任何必要的调整,包括可能拒绝交易。

    执行条件:

    终端应该都要执行Processing Restriction操作;

    执行顺序:

    处理限制(Processing Restrictions)可以在读取应用数据(Read Application Data)之后,终端行为分析(Terminal Action Analysis)之前的任意阶段执行;

    执行检查:

    应用版本号(Application Version Number)

    应用用法控制(Application Usage Control,AUC)

    应用有效日期检查(Application Effective/Expiration Dates Checking)


    【Application Version Number】

    如果终端应用版本(Tag9F09)和ICC应用版本(Tag9F08)都存在,且两个版不一致,则需要设置TVR中的“ICC and terminal have different application versions”位;

    如果终端应用版本(Tag9F09)和ICC应用版本(Tag9F08)只存在任意一个或者都不存在,则认为两个版本是兼容的,忽略比较,什么都不用处理;

    【Application Usage Control】

     The Application Usage Control indicates restrictions limiting the application geographically or to certain types of transactions. If this data object is present, the terminal shall make the following checks:

    • If the transaction is being conducted at an ATM, the ‘Valid at ATMs’ bit must be on in Application Usage Control.
    • If the transaction is not being conducted at an ATM, the ‘Valid at terminals other than ATMs’ bit must be on in Application Usage Control.
    • If the Application Usage Control and Issuer Country Code are both present in the ICC, the terminal shall make the checks described in Table 32.

    If any of the above tests fail, the terminal shall set the ‘Requested service not allowed for card product’ bit in the TVR to 1.

    【Application Effective/Expiration Dates Checking】

    Application Effective Date,Tag9F25,卡片数据,n6,3bytes; 

    Application Expiration Date,Tag9F24,卡片数据,n6,3bytes;

    If the Application Effective Date is present in the ICC, the terminal shall check that the current date is greater than or equal to the Application Effective Date.

    If it is not, the terminal shall set the ‘Application not yet effective’ bit in the TVR to 1.

    The terminal shall check that the current date is less than or equal to the Application Expiration Date.

    If it is not, the terminal shall set the ‘Expired application’ bit in the TVR to 1.

    参考:EMV Book3 10.4 Processing Restrictions

  • 相关阅读:
    【ORA-02049】超时分布式事务处理等待锁 解决方法
    Git使用出错:Couldn‘t reserve space for cygwin‘s heap, Win32
    JS身份证号码校验
    linux 下查看cpu位数 内核等参数命令(转)
    linux ps命令,查看进程cpu和内存占用率排序(转)
    JAVA图片验证码
    JAVA BigDecimal 小数点处理
    Linux命令大全
    Eclipse Java注释模板设置详解
    JSONArray的应用
  • 原文地址:https://www.cnblogs.com/utank/p/10025331.html
Copyright © 2011-2022 走看看