Updating binary data on a smartcard on an offset higher than 32767

别说谁变了你拦得住时间么 提交于 2019-12-11 18:07:57

问题


Can anyone help me with the layout of the data field in an Odd INS UPDATE BINARY command? Specification tells "'54' '02' {Offset data object in file} || '53' L53 {Discretionary data object}". On all my tries I get Status Word result '6700', which is "Wrong length: no further indication". Please provide an example if possible. Thanks in advance.


回答1:


I found the issue. The "||" does not mean OR. So the data object of the Odd INS UPDATE BINARY shoud be "54 02 {any offset in two bytes} 53 01 FF". This update the data at the offset to FF.



来源:https://stackoverflow.com/questions/5938004/updating-binary-data-on-a-smartcard-on-an-offset-higher-than-32767

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!