Ø ——APPLICATIONBLOCK(应用锁定);
Ø ——APPLICATION UNBLOCK(应用解锁);
Ø ——CARDBLOCK(卡片锁定);
Ø ——EXTERNAL AUTHENTICATION(外部认证);
Ø ——GET RESPONSE(取响应);
Ø ——GET CHALLENGE(产生随机数);
Ø ——INTERNAL AUTHENTICATION(内部认证);
Ø ——PIN CHANGE/UNBLOCK(个人识别码修改/解锁);
Ø ——READ BINARY(读二进制);
Ø ——READ RECORD(读记录);
Ø ——SELECT(选择);
Ø ——UPDATE BINARY(修改二进制);
Ø ——UPDATE RECORD(修改记录);
Ø ——VERIFY(校验)。
CPURESET() 00A40000021001 DAMK1=07DBBE1E85DC562C94834B17143A14DC //应用维护密钥 0084000004(RAM+9000) 3DES_MAC(RAM+00000000+841E000004+800000,DAMK1,MAC) 841E000004+MAC(9000) //解锁 0084000004(RAM+9000) 3DES_MAC(RAM+00000000+8418000004+800000,DAMK1,MAC) 8418000004+MAC(9000)
CPURESET() 00A40000021001 //满足写权限 0084000008(RAM+9000) ECB_3DES_EN(RAM,00000000000000000000000000000022,ENDATA) 0082000108+ENDATA(9000) 00A40000020015 //写=明文+MAC TEF0015=1111000000000000FD2000005180000044D01213200903032019030310100000 3DES_MAC_COM(04D6950024+TEF0015,00000000000000000000000000000033,MAC) //读 0000(起始地址)+0A(读取长度) 00B0+0000+0A
00A40000021001 00A40000020019 DAMK3=C0994B4B7B36828A326EDF1A3A65D231 REC001901=011E00030B200905260000000000000000000000000000000000000000000000 0084000008(RAM+9000) 3DES_MAC(RAM+04DC010424+REC001901+800000,DAMK3,MAC) 04DC010424+REC001901+MAC /************读取交易明细记录************/ CPURESET() 00A40000022001 00A40000020018 0020000003888888//PIN验证 00B2010417(SSSS1+9000) 00B2020417(SSSS2+9000)