从CVM列表解析EV的CV规则 [英] Parse CV Rule from CVM List for EMV

查看:283
本文介绍了从CVM列表解析EV的CV规则的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功从EMV卡中检索了CVM列表.

I have succesfully retrieved the CVM List from EMV card.

0000 0000 0000 0000 4103 4203 1E03 1F02

从EMV规格书3开始,前4个字节和后4个字节为数量,其余为CV规则.使这些成为CV规则4103 4203 1E03 1F02

From the EMV specification book 3, the first 4 bytes and second 4 bytes are amount and rest is CV rules. Making these the CV Rule 4103 4203 1E03 1F02

这本书还显示了如何解析CV规则,如下所示:

The book also shows how to parse the CV rules, as shown below:

我假设我需要将CV规则中的前两个字节转换为二进制并与上表匹配?但是,为什么上表的单元格为空? 有人还能用简单的伪代码算法解释该问题吗?

I am assuming that I need to convert the first two bytes in a CV rule to binary and match with the table above? But why does the table above have empty cells? Also can someone explain in a simple pseudo code algorithm to parse this?

推荐答案

您是否在同一本书中提到了 10.5.5 CVM处理逻辑部分?它具有详细信息,甚至可以作为流动购物车.

Have you referred section 10.5.5 CVM Processing Logic in the same book ? It has it detailed and even as a flow cart.

关于读为RFU的空位.

As to the empty bits read as RFU.

这是解析样本的方式.


41 03

41 => 0100 0001
Apply succeeding CV Rule if this CVM is unsuccessful
Plaintext PIN verification performed by ICC

03
If terminal supports the CVM
---------------------------------------------------

Similarly, 
42 03

42
Apply succeeding CV Rule if thisCVM is unsuccessful
Enciphered PIN verified online

03
If terminal supports the CVM
----------------------------------------------------

1E03

1E
Signature (paper)

03
If terminal supports the CVM

----------------------------------------------------

1F 02

1F
No CVM required

02
If not unattended cash and not manual cash and not purchase
with cashback

这篇关于从CVM列表解析EV的CV规则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆