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.

Array larger than 32K bytes

JavaCard Applet Development Related Questions and Answers.
Brewling
Posts: 12
Joined: Wed Jul 13, 2016 2:14 am
Points :144
Contact:

Array larger than 32K bytes

Post by Brewling » Mon Jul 18, 2016 5:42 am

I have just got started with JAVA CARD.

My problem is that I can only sign the data smaller than or equal to 32K bytes(because the array doesn't accept larger sizes than 32K bytes.). I can't sign data larger than 32K bytes.

For the larger data, how can I do it?

Thanks

Brewling

posey
Posts: 11
Joined: Mon Dec 07, 2015 1:44 am
Points :52
Contact:

Re: Array larger than 32K bytes

Post by posey » Mon Jul 18, 2016 5:58 am

2.2.4.3.3 Arrays Arrays can hold a maximum of 32767 components.


So, 32K Bytes is the limit for an array size.

Tazmania09
Posts: 25
Joined: Mon Nov 30, 2015 3:40 am
Points :178
Contact:

Re: Array larger than 32K bytes

Post by Tazmania09 » Tue Jul 19, 2016 10:39 pm

Use the Signature.update() method on consecutive blocks of plaintext. you don't need to allocate an array at all.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 30 guests

JavaCard OS : Disclaimer