zoukankan      html  css  js  c++  java
  • 【EMV L2】2CS.001.00 ~ 2CS.007.00

    测试case要求,对于T=0和T=1卡,命令中是否存在Le是有差异的:

    - Select: Mandatory Command
    00 A4 04 00 Lc Command Data Le
    Lc = 05 - 10 (Length of Command Data)
    Command Data = File Name
    Le = (Not Present T=0)

    - Select Next: Mandatory Command
    00 A4 04 02 Lc Command Data Le
    Lc = 05 - 10 (Length of Command Data)
    Command Data = File Name
    Le = (Not Present T=0)

    - Get Processing Options: Mandatory Command
    80 A8 00 00 Lc Command Data Le
    Lc = variable (Length of Command Data)
    Command Data = (Processing Options Data Object List - PDOL)
    Le = (Not Present T=0)

    - Read Record: Mandatory Command
    00 B2 P1 P2 00
    P1 = Record Number
    P2= Reference control parameter - Short File Indicator (SFI)
    Multiple Read Record commands will be issued dependent on AFL

    - GENERATE AC.: Mandatory Command
    80 AE P1 00 Lc Command Data Le
    P1 = Reference Control Parameter (00 - AAC, 40 - TC, 80 - ARQC)
    Le = 00 (Not Present T=0)

    - Internal Authenticate: Mandatory if terminal supports Dynamic Data Authentication
    00 88 00 00 Lc Command Data Le
    Lc = (Length of Command Data)
    Command Data = Length of authentication-related data
    Le = 00 (Not Present for T=0)

    - External Authenticate: Mandatory Command
    00 82 00 00 Lc Command Data Le
    Lc = 8 - 16 (Length of Command Data)
    Command Data = Issuer Authentication Data
    Le = Not Present

    - Get Data For PIN Try Counter: If Terminal Supports
    80 CA 9F 17 00
    Lc = Not Present
    Command Data = Not Present

    - Verify Command
    00 20 00 P2 Lc Command Data Le
    P2 = Qualifier (80 - plaintext)
    Command Data (Transaction PIN Data)
    Le = (Not Present)

    - Get Challenge: Mandatory Command if terminal supports Enciphered PIN
    00 84 00 00 Lc Command Data Le
    Lc = Not Present
    Command Data = Not Present
    Le = 00

  • 相关阅读:
    Maven仓库详解
    Maven镜像配置
    使用spring的jdbcTemplate-----用JDBC模板查询数据库
    struts2+spring的两种整合方式
    Spring 中设置依赖注入
    Struts_json插件配置参数
    String、StringBuffer与StringBuilder之间区别
    有关collection中的一些数据结构
    MyBatis的foreach语句详解
    struts文件上传拦截器中参数的配置(maximumSize,allowedTypes ,allowedExtensions)问题
  • 原文地址:https://www.cnblogs.com/utank/p/10006063.html
Copyright © 2011-2022 走看看