How to put a string to my card
Posted: Wed May 10, 2017 11:26 pm
Hi all experts here,
I am new to java card programme.
I want to know if there is any way to put a string to my card and store them.
Thanks in advance.
Poin
I am new to java card programme.
I want to know if there is any way to put a string to my card and store them.
Code: Select all
byte helloword[];
byte[] buffer = apdu.getBuffer();
apdu.setIncomingAndReceive();
short length = (short)buffer[ISO7816.OFFSET_LC];
Util.arrayCopyNonAtomic(buffer, (short)0, helloword, (short)0, (short) length);
Thanks in advance.
Poin