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.

Get 0X6F00 with KeyPair(KeyPair.ALG_EC_FP,length)

JavaCard Applet Development Related Questions and Answers.
Vlidda
Posts: 16
Joined: Tue Sep 06, 2016 2:59 am
Points :196
Contact:

Get 0X6F00 with KeyPair(KeyPair.ALG_EC_FP,length)

Post by Vlidda » Wed Mar 08, 2017 10:44 pm

I am stuck in a problem now. When I use KeyPair(KeyPair.ALG_EC_FP,length), it returns status word "0X6F00" ( unknown error ). Does it mean that my card doesn't support ECC? Or anything else?

Lehrling81
Posts: 10
Joined: Fri Nov 20, 2015 1:47 am
Points :41
Contact:

Re: Get 0X6F00 with KeyPair(KeyPair.ALG_EC_FP,length)

Post by Lehrling81 » Thu Mar 09, 2017 2:27 am

It's more likely that your java card doesn't support the algorithm.

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

Re: Get 0X6F00 with KeyPair(KeyPair.ALG_EC_FP,length)

Post by Tazmania09 » Thu Mar 09, 2017 5:30 am

You can use try..catch statement to get reason codes.

Code: Select all

try{
  ....genKeyPair()
}
catch( CryptoException e ) {
        CryptoException.throwIt( e.getReason )
}

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 60 guests

JavaCard OS : Disclaimer