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

Question about APDU

JavaCard Applet Development Related Questions and Answers.
colkif
Posts: 6
Joined: Mon Sep 25, 2017 11:21 pm
Points :76
Contact:

Question about APDU

Post by colkif » Sun Oct 08, 2017 8:52 pm

I have downloaded the new JCIDE. And it's an excellent tool for java card developers I think.
But when I program my Hello world applet, I have two questions.

- Where will be the bytes sent if we used the method APDU.sendBytes() ?
- From where APDU.getBuffer() retrieves bytes?

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

Re: Question about APDU

Post by mabel » Sun Oct 08, 2017 9:18 pm

A1: Method sendBytes() causes the card to send a number of bytes to terminal from current APDU buffer.
A2: Method getBuffer() returns a reference to a byte array buffer contained command data sent from terminal to the card.

If you use JCIDE to run your applet, you may communicate with the simulator.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 58 guests

JavaCard OS : Disclaimer