I have the following code:
import javacard.security.KeyBuilder;
public KeyPair key = new KeyPair(KeyPair.ALG_EC_FP, KeyBuilder.LENGTH_EC_FP_256);
but am getting the error message 'LENGTH_EC_FP_256 cannot be resolved or is not a field'
What could be the reason for this?
Thank you
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
Search found 11 matches
- Mon Feb 20, 2023 1:11 pm
- Forum: Questions & Answers
- Topic: LENGTH_EC_FP_256 cannot be resolved or is not a field
- Replies: 0
- Views: 32817
- Fri Mar 25, 2022 11:02 am
- Forum: Questions & Answers
- Topic: Different ChipPack
- Replies: 0
- Views: 33843
Different ChipPack
Where can I find different ChipPacks?
- Tue Mar 22, 2022 6:09 am
- Forum: Questions & Answers
- Topic: GP init update failed. recv: 67 00
- Replies: 1
- Views: 17897
GP init update failed. recv: 67 00
I have am getting this error when trying to download a cap file onto my smart card. When I use the select command I get this response: Send: 00 A4 04 00 00 Recv: 6F 10 84 08 A0 00 00 01 51 00 00 00 A5 04 9F 65 01 FF 90 00 Then when I try to download a cap file I get this error: Download Cap begin......
- Mon Mar 21, 2022 9:55 am
- Forum: Questions & Answers
- Topic: Generate .cap file
- Replies: 1
- Views: 18160
Generate .cap file
How do I force JCIDE to generate a new cap file?
I am running JCIDE 7.3.0.0
I am trying to load a cap file onto a smartcard, however the cap file is not up to date with my most recent code.
Is there a way to force it to update?
I am running JCIDE 7.3.0.0
I am trying to load a cap file onto a smartcard, however the cap file is not up to date with my most recent code.
Is there a way to force it to update?
- Thu May 27, 2021 7:18 am
- Forum: Questions & Answers
- Topic: Sending more that 255 bytes of payload
- Replies: 0
- Views: 11081
Sending more that 255 bytes of payload
Hi there, I have an applet where I have implemented extended length and the applet is able to send extended length response APDUs - however when I try and send a command APDU with a payload of more than 255 bytes I get the message 'APDU error: The command apdu is not correct.' My understanding is th...
- Fri Mar 12, 2021 6:08 am
- Forum: Questions & Answers
- Topic: Memory size of compiled applet
- Replies: 1
- Views: 10243
Memory size of compiled applet
Is there a way to find out the size of a compiled applet?
- Tue Feb 23, 2021 9:43 am
- Forum: Questions & Answers
- Topic: How to Transmit a Public Key Through an APDU
- Replies: 0
- Views: 11011
How to Transmit a Public Key Through an APDU
Hi there, I am trying to transmit an RSA public key through an APDU, so that U can verify it off card. I have been trying to store the public key in a byte array but I can't work out how to do this. Is there a better way to do this? Even if there is, how would I go about storing a public key in a by...
- Tue Jan 12, 2021 7:15 am
- Forum: User Guide
- Topic: Some tips for JCIDE - JCIDE Debugger
- Replies: 10
- Views: 62154
Re: Some tips for JCIDE - JCIDE Debugger
Thank you
- Wed Dec 16, 2020 6:38 am
- Forum: User Guide
- Topic: Some tips for JCIDE - JCIDE Debugger
- Replies: 10
- Views: 62154
Re: Some tips for JCIDE - JCIDE Debugger
I'm having trouble putting a quick watch on a variable - when I select a variable and right click quick watch is greyed out, does anyone know how to fix this?
- Mon Nov 09, 2020 5:56 am
- Forum: Questions & Answers
- Topic: Unable to register JCIDE
- Replies: 1
- Views: 9648
Unable to register JCIDE
I am running into an error message when trying to register JCIDE. When clicking 'Register on line now' a login box pops up - on entering my login details I get the message 'login error!'. I have tried resetting my password, so I don't think that that is the issue. Is anyone else having the same trou...