Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

How to exchange APDU between two applets

JavaCard Applet Development Related Questions and Answers.
mukundis
Posts: 15
Joined: Wed Sep 14, 2016 4:08 am
Points :196
Contact:

How to exchange APDU between two applets

Post by mukundis » Wed Aug 09, 2017 11:42 pm

I have created two applet with different AIDs. The first ciphers text with RSA and the second one decipher. My question is in which way I could take the ciphers text and then, make a new APDU that contain in the field data the ciphers text?

Could anybody help to solve my issue? I am much appreciated for any help.

User avatar
mabel
Posts: 237
Joined: Mon May 18, 2015 3:09 am
Points :1705
Contact:

Re: How to exchange APDU between two applets

Post by mabel » Thu Aug 10, 2017 10:34 pm

If your applets are under one package then both can use

Code: Select all

 public void processData (byte[] baBuffer, short sOffset, short sLength);


Method which is org.globalplatform.Application interface.

Note that application itself implements shareable.

If you want them in separate packages, create shareable interface and call decipher of second applet from first applets.
Store these results on second applet and then retrieve them by sending and APDU to that applet.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 49 guests

JavaCard OS : Disclaimer