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.
JavaCard Applet Development Related Questions and Answers.
-
mukundis
- Posts: 15
- Joined: Wed Sep 14, 2016 4:08 am
- Points :196
-
Contact:
Post
by mukundis » Wed Oct 12, 2016 5:12 am
I created a RSAPrivateCrtKey in order to get the p prime via the getP() method.
My code:
Code: Select all
static RSAPrivateCrtKey prime = = (RSAPrivateCrtKey) KeyBuilder.buildKey(KeyBuilder.TYPE_RSA_CRT_PRIVATE, KeyBuilder.LENGTH_RSA_512, false);
...
// initialize the RSAPrivateCrtKey
...
prime.getP(tab, (short)0);
But how to initialize the key? I don't know how to write this part of code.
-
Pf6KINE
- Posts: 18
- Joined: Wed Apr 13, 2016 2:03 am
- Points :148
-
Contact:
Post
by Pf6KINE » Thu Oct 13, 2016 4:38 am
use genKeyPair method of KeyPair class
-
mukundis
- Posts: 15
- Joined: Wed Sep 14, 2016 4:08 am
- Points :196
-
Contact:
Post
by mukundis » Thu Oct 13, 2016 5:29 am
-
mukundis
- Posts: 15
- Joined: Wed Sep 14, 2016 4:08 am
- Points :196
-
Contact:
Post
by mukundis » Thu Oct 13, 2016 5:30 am
Pf6KINE wrote:use genKeyPair method of KeyPair class
That's a good idea. Thanks a bunch.
Users browsing this forum: No registered users and 43 guests
JavaCard OS : Disclaimer
Board Disclaimer
The views and comments posted in these fora are personal and do not necessarily represent the those of the Management of JavaCard OS.
The Management of JavaCard OS does not, under any circumstances whatsoever, accept any responsibility for any advice, or recommentations, made by, or implied by, any member or guest vistor of JavaCard OS that results in any loss whatsoever in any manner to a member of JavaCard OS, or to any other person.
Furthermore, the Management of JavaCard OS is not, and cannot be, responsible for the content of any other Internet site(s) that have been linked to from JavaCard OS.