Our express partner will perform scheduled system maintenance from 19th Jan to 3rd Feb, so during this time, all the orders in our webshop will be handled from 4th Feb.
Sorry for any inconvenience caused.

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 :166
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: 149
Joined: Tue Sep 27, 2016 10:58 am
Points :2042
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 3 guests

JavaCard OS : Disclaimer