Our express partner will perform scheduled system maintenance from 19th Jan to 3rd Feb, so during this time, all the orders in our webshop will be handled from 4th Feb.
Sorry for any inconvenience caused.

simulator not Support china Shangmi

JavaCard Applet Development Related Questions and Answers.
kuafu
Posts: 215
Joined: Thu Jun 25, 2015 2:09 am
Points :2553
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: 147
Joined: Tue Sep 27, 2016 10:58 am
Points :1988
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: No registered users and 5 guests

JavaCard OS : Disclaimer