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
How to exchange APDU between two applets
How to exchange APDU between two applets
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.
Could anybody help to solve my issue? I am much appreciated for any help.
Re: How to exchange APDU between two applets
If your applets are under one package then both can use
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.
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.
Who is online
Users browsing this forum: No registered users and 76 guests