JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
Get 0X6F00 with KeyPair(KeyPair.ALG_EC_FP,length)
Get 0X6F00 with KeyPair(KeyPair.ALG_EC_FP,length)
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?
-
- Posts: 10
- Joined: Fri Nov 20, 2015 1:47 am
- Points :41
- Contact:
Re: Get 0X6F00 with KeyPair(KeyPair.ALG_EC_FP,length)
It's more likely that your java card doesn't support the algorithm.
-
- Posts: 25
- Joined: Mon Nov 30, 2015 3:40 am
- Points :178
- Contact:
Re: Get 0X6F00 with KeyPair(KeyPair.ALG_EC_FP,length)
You can use try..catch statement to get reason codes.
Code: Select all
try{
....genKeyPair()
}
catch( CryptoException e ) {
CryptoException.throwIt( e.getReason )
}
Who is online
Users browsing this forum: No registered users and 16 guests