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
JavaCard Secure Object Sharing
-
- Posts: 13
- Joined: Wed Sep 16, 2015 10:54 pm
- Points :60
- Contact:
JavaCard Secure Object Sharing
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?
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 

Re: JavaCard Secure Object Sharing
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.
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
Who is online
Users browsing this forum: No registered users and 19 guests