Page 1 of 1

Get the size of EEPROM the applet installation use in java card

Posted: Tue Oct 06, 2015 11:23 am
by KevinAli
How can I know how much EEPROM java card applet installation use? I haven't found any direct method to get the size of an applet yet.
Is it equal with the size of CAP file?

Re: Get the size of EEPROM the applet installation use in java card

Posted: Wed Oct 07, 2015 10:53 am
by UNKNwYSHSA
As i know, different VM have different data structure to store CAP data. Normally, the CAP file size is not equal to the data size the VM stored. Useful component data are reserved(method component, etc), unuseful component are discarded (DEBUG component). For more informations, look the javacard VM specification.