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

  • 相关阅读:
    如何提高沟通能力?
    如何做到科学决策?推荐你看这本《决策必读12篇》
    领导者如何让员工真心服从自己?
    MBA看什么书,MBA教材书目推荐
    有关战略管理的书,哪本最值得推荐?
    市场营销必看书籍推荐
    P1208 混合牛奶题解
    P5019 铺设道路题解
    P1728 陶陶摘苹果题解
    P1106 删数问题题解
  • 原文地址:https://www.cnblogs.com/utank/p/10006063.html
Copyright © 2011-2022 走看看