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.

How to create an array of AESKey objects?

Applets Development Guide

Moderator: product

priyankap
Posts: 17
Joined: Thu Dec 12, 2019 11:41 am
Points :172
Contact:

How to create an array of AESKey objects?

Post by priyankap » Tue Jan 21, 2020 9:53 am

Hello,

Is it possible to create an array of Key Objects of Class AESKey?

Can some one please guide me how can we do that?

tay00000
Posts: 161
Joined: Tue Sep 27, 2016 10:58 am
Points :2324
Contact:

Re: How to create an array of AESKey objects?

Post by tay00000 » Sun Mar 01, 2020 11:34 am

Firstly declare the array of

Code: Select all

short totalKeyObjects = (short) 24;
AESKey[] keys = new AESKey[totalKeyObjects];
Then afterwards loop through as needed and use the KeyBuilder to build the keys when you need to use them otherwise the keys are not initialized properly and are useless until initialized and set with a key value.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 16 guests

JavaCard OS : Disclaimer