Post
by tay00000 » Thu May 11, 2017 7:00 am
JavaCard datatypes are byte, byte[], short, boolean, some sort of Key related objects and sometimes certain cards come with int type. There is no such thing as String type. You have to convert String to byte[] before transmitting to card.
Also, since you are new to JavaCard and probably smart card development, please read up on the ISO-7816 standards and JavaCard and GlobalPlatform standards for starters before developing any card applet. You need to have a basic understanding on how a smart card works and how JavaCard, ISO-7816 and GlobalPlatform standards affect how smart cards operate.
If you intend to continue card development without having the required knowledge, you might create card applets that do not fully utilize the security benefits of a smart card and probably introduce a lot of bugs as well.