生成AC COMMAND不适用于AMEX卡

时间:2015-06-02 12:38:25

标签: smartcard apdu emv

我有CDOL1并且我已成功生成AC命令并且它可以在Visa卡上运行并且我获得成功代码但是它不能在AMEX卡上工作,尽管AMEX具有相同的CDOL1命令。

CDOL1

9F02 06 - Authorised amount of the transaction (excluding adjustments)
9F03 06 - Secondary amount associated with the transaction representing a cashback amount
9F1A 02 - the country of the terminal
95   05 - Status of the different functions as seen from the terminal
5F2A 02 - the currency code of the transaction
9A   03 - Local date that the transaction was authorised 
9C   01 - the type of financial transaction
9F37 04 - Value to provide variability and uniqueness to the generation of a cryptogram

生成AC命令

80 AE 5000 1D 000000001000 000000000000 0040 0000000000 0978 150528 00 661D7D59 00

1 个答案:

答案 0 :(得分:0)

来自AEIPS 4.1卡规范:此版本的AEIPS不支持“组合动态数据验证/应用程序密码生成”。后来的CDA可选择支持EMV终端。

可能会从命令中排除最后一个字节0x00。可能是一个案例。

示例GenAC1 APDU命令P1 = 0x50,表示:

- P1: "50" # Parameter 1
    # [01______] bits 8 to 7, Transaction Certificate (TC), Transaction approved
    # [___1____] bit 5, requested CDA signature

我猜TC + CDA不适合在Amex AEIPS卡上生成第一个AC。

如果您真的想从卡中获取TC,请尝试仅请求TC,P1 = 0x40。