安装个性化失败,错误代码为0x6F00

时间:2019-03-26 10:02:45

标签: applet install javacard personalization gp

我正在尝试为Applet进行个性化安装,但是当我发送命令时,Java卡返回0x6F00。 我尝试了所有可能的选项,但是每次都失败。请提供帮助。

安装以加载: 80E602001205a00000000008a000000003000000000000 9000 加载: 80E800006ec481f2010017先遣人员020204000105a000000000076e75636c65757302002100170021000a000b0022000e0044000a000c00000052020800000000000001010004000b01020107a000000062010103000a0106a00000000001000806000e000000800300ff700701 9000 80E800016e0044000110188c00007a05308f00013d8c0002181d0441181d258b00037a0322188b000460037a198b00052d03321a0425730014ffe2ffe20009198b00063219081f8b00077a08000a00000000000000000000000000050050022000806800300010002000600000103300302 9000 80E88002190a0103800a0603800a0809000c000000080506040a07071307 9000 套餐已上传

安装并使其可选 80E60C002005A00000000006A0000000000106A00000000001010004C900EF000000000000 009000

验证过程 选择AID:00a4040000 选择响应:6f118408a000000003000000a5059f650201009000 hostCryptogram是:56673ab4d4ceb127 icvNextCommanda5fc175526901661 扩展身份验证:848200001056673ab4d4ceb127a1c4c4696a464158 回应:9000 认证的 当前身份验证模式:普通

安装[用于个性化] cmd:80E620000C000006A00000000001000000

响应:6F00

1 个答案:

答案 0 :(得分:2)

请在您的applet中实现org.globalplatform.Personalization接口,然后使用processData(...)方法来处理perso数据的安装。

查看此处

https://github.com/myasnikovsg/TestICCApplet/blob/master/src/org/globalplatform/Personalization.java

也请检查此问题... Update: Personalization of Javacard Applet with GlobalPlatform