JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

JavaCard Secure Object Sharing

JavaCard Applet Development Related Questions and Answers.
Asineshjil
Posts: 13
Joined: Wed Sep 16, 2015 10:54 pm
Points :60
Contact:

JavaCard Secure Object Sharing

Post by Asineshjil » Sat Jan 23, 2016 4:52 am

I am running into a problem about passing object as parameter between server and client applet.
The client applet will pass a key to server applet for authentication purpose. I wonder if is there any security issues using the global apdu buffer?
Java card newbie :evil:

Tarantino
Posts: 101
Joined: Wed Aug 19, 2015 1:56 am
Points :478
Contact:

Re: JavaCard Secure Object Sharing

Post by Tarantino » Tue Jan 26, 2016 2:00 am

If client applet and server applet belong to the same package, they can "share" an object or array via a class variable, because they belong to the same context.

Otherwise, using javacard.framework.Shareable you can provide methods for transferring the data.

Copy the contents of your object to the global apdu buffer, and then pass this between your server and client applets. By the way, I don't think there are any security issues using the global APDU buffer.
The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 19 guests

JavaCard OS : Disclaimer