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.

simulator not Support china Shangmi

JavaCard Applet Development Related Questions and Answers.
kuafu
Posts: 317
Joined: Thu Jun 25, 2015 2:09 am
Points :4551
Contact:

Re: simulator not Support china Shangmi

Post by kuafu » Thu Apr 25, 2019 11:59 pm

simulator didn't support sm2.
well

tay00000
Posts: 161
Joined: Tue Sep 27, 2016 10:58 am
Points :2324
Contact:

Re: simulator not Support china Shangmi

Post by tay00000 » Tue Dec 17, 2019 7:43 am

weiwei2009 wrote:
Wed Apr 10, 2019 9:51 am

Code: Select all

SM2_PUB_KEY = (SM2PublicKey)KeyBuilder.buildKey(SMConstant.KEY_TYPE_SM2_PUBLIC, (short)512, false);
The length field for key builder for the SM2 Public Key is incorrect. The length should be:

Code: Select all

SMConstant.KEY_LENGTH_SM2
Correct code should be:

Code: Select all

SM2_PUB_KEY = (SM2PublicKey)KeyBuilder.buildKey(SMConstant.KEY_TYPE_SM2_PUBLIC, SMConstant.KEY_LENGTH_SM2, false);

Poonaam
Posts: 1
Joined: Tue Jan 07, 2020 1:01 am
Points :12
Contact:

Re: simulator not Support china Shangmi

Post by Poonaam » Tue Jan 07, 2020 1:03 am

Hi!
Excellent share.. keep sharing!

Thank you!!

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: Google [Bot] and 65 guests

JavaCard OS : Disclaimer