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

  • 相关阅读:
    客户端本地存储,web存储,localStorage
    js地理定位对象 navigator.geolocation
    使用defined和require引入js
    VUE的使用方法
    $.each()的用法
    jQuery的deferred对象详解
    jquery 中prop()的使用方法
    IE7下对某些seajs压缩文件不兼容的解决方法
    饼状图注释
    $.grep()的用法
  • 原文地址:https://www.cnblogs.com/utank/p/10006063.html
Copyright © 2011-2022 走看看