EMV JavaCard APDU Response in TLV Format

孤街浪徒 提交于 2019-12-04 21:29:31

There is several TLV classes in Javacard, but they are optional and to my knowledge there is not any card issuer that implemented these classes. So you can either:

  • hardcode any TLV objects if they don't change at all
  • you can build the parts manually and concatenate them in your code for every new TLV object occurance or
  • you build your own TLV parser/encoder

Last option is pretty difficult to be error-free and performant in javacard, so if you are a beginner stick with the first options and once you are too annoyed you can try to build a tlv parser

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