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.

signPreComputedHash() on JC30M48CR

JavaCard Applet Development Related Questions and Answers.
llogar
Posts: 5
Joined: Mon Jun 05, 2017 11:20 am
Points :114
Contact:

signPreComputedHash() on JC30M48CR

Post by llogar » Tue Jun 13, 2017 9:01 am

Hi,

I am trying to do the ECC signature on precomputed hash values. I have the applet working just fine on the A22CR card, but on the JC30M48CR the function signPreComputedHash() does not return a valid signature - the signature verification (which is done off-card, on the PC) fails. Has anybody succeeded in using signPreComputedHash() on JC30M48CR (possibly using SHA256)? As I have written before, the applet produces the correct signature on A22CR; also both cards produce the correct signature when doing the on-card hash computation and signing using Signature.sign(...). Only when using signPreComputedHash() on JC30M48 I don't get valid signature data. I am using prime256v1 as EC parameters and sha256 for hashing. The signature verification is done using openssl...

Regards
Luka

User avatar
JavaCardOS
Posts: 273
Joined: Thu Apr 30, 2015 12:00 pm
Points :2403
Contact:

Re: signPreComputedHash() on JC30M48CR

Post by JavaCardOS » Thu Jun 15, 2017 10:29 pm

Please refer to the answers in this post.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 33 guests

JavaCard OS : Disclaimer