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.
Algorithm School
Moderator: UNKNwYSHSA
-
Tinatco
- Posts: 12
- Joined: Wed Feb 24, 2016 3:04 am
- Points :128
-
Contact:
Post
by Tinatco » Wed Aug 03, 2016 10:37 pm
Hi,
I am stuck in a problem recently. When I tried to use the code below to instantiate a
RSAPublicKey from javacard. It returned error code 0x 6F 00. Pls help me out.
Code: Select all
publicKey = (RSAPublicKey) KeyBuilder.buildKey(KeyBuilder.TYPE_RSA_PUBLIC, KeyBuilder.LENGTH_RSA_1024, false);
-
Tarantino
- Posts: 101
- Joined: Wed Aug 19, 2015 1:56 am
- Points :478
-
Contact:
Post
by Tarantino » Fri Aug 05, 2016 1:36 am
0x6F00 means that there is an un-handled exception in your code.
Wrap the line of code in a try/catch. It will throw a CryptoException and you can call getReason() to find out what's wrong.
The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela
Users browsing this forum: No registered users and 12 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.