It's our great honour to announce the Industry’s First VHBR CCID reader - VHBR Dual interface smart card reader vR504. It is able to support the world’s fastest ePassports.

To celebrate the new product release, there is Special Discount for New Registered Members in our store.
- Get $20.00 OFF instantly for smart card reader vR504, R502 and bR301

Come to get the readers now!

Question about APDU

JavaCard Applet Development Related Questions and Answers.
Posts: 4
Joined: Mon Sep 25, 2017 11:21 pm
Points: 54

Question about APDU

Postby 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
Posts: 219
Joined: Mon May 18, 2015 3:09 am
Points: 1541

Re: Question about APDU

Postby 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.

Return to “Questions & Answers”

Who is online

Users browsing this forum: No registered users and 3 guests

JavaCard OS : Disclaimer