JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
Memory access
Memory access
Hello everyone,
I'm an absolute javacard-newbie, so please condone my eventually wrong javacard-comprehension.
I would like to add an method in my applet which enable to have access to memory(EEPROM?), what means that I could read or write data in a certain memory address, which I can indicicate manually via APDU-command. Would this idea be possible?
So far I only found these official Javacard-methods (https://www.win.tue.nl/pinpasjc/docs/ap ... ccess.html)
boolean writeData(byte[] src,
short src_off,
short src_blen,
byte[] auth_key,
short auth_key_off,
short auth_key_blen,
short other_sector,
short other_block)
throws ExternalException
short readData(byte[] dest,
short dest_off,
byte[] auth_key,
short auth_key_off,
short auth_key_blen,
short other_sector,
short other_block,
short other_len)
throws ExternalException
Are these methods helpful for my issue? And if they are, how could I use them correctly? Where do I get the keys for example and where I get the right external memory subsystem sector number from?
Ich would be very grateful, if you could give me some information, help or inspiration:)
best regards,
Nina
I'm an absolute javacard-newbie, so please condone my eventually wrong javacard-comprehension.
I would like to add an method in my applet which enable to have access to memory(EEPROM?), what means that I could read or write data in a certain memory address, which I can indicicate manually via APDU-command. Would this idea be possible?
So far I only found these official Javacard-methods (https://www.win.tue.nl/pinpasjc/docs/ap ... ccess.html)
boolean writeData(byte[] src,
short src_off,
short src_blen,
byte[] auth_key,
short auth_key_off,
short auth_key_blen,
short other_sector,
short other_block)
throws ExternalException
short readData(byte[] dest,
short dest_off,
byte[] auth_key,
short auth_key_off,
short auth_key_blen,
short other_sector,
short other_block,
short other_len)
throws ExternalException
Are these methods helpful for my issue? And if they are, how could I use them correctly? Where do I get the keys for example and where I get the right external memory subsystem sector number from?
Ich would be very grateful, if you could give me some information, help or inspiration:)
best regards,
Nina
-
- Posts: 25
- Joined: Mon Nov 30, 2015 3:40 am
- Points :178
- Contact:
Who is online
Users browsing this forum: No registered users and 25 guests