I am trying to get our smart card code to work on JCIDE, and while I have resolved most of the issues, there is still on
I am trying to get our smart card code to work on JCIDE, and while I have resolved most of the issues, there is still on
I am trying to get our smart card code to work on JCIDE, and while I have resolved most of the issues, there is still one issue that I absolutely cannot figure out. When I try to build the project, I get the following build error:
C:\Main_Stuff\Crypto.java:358: cannot find symbol
symbol : variable ALG_SHA_256
location: class javacard.security.MessageDigest
hash = MessageDigest.getInstance(MessageDigest.ALG_SHA_256, false);
The line of code in question is:
hash = MessageDigest.getInstance(MessageDigest.ALG_SHA_256, false);
The weird thing about this build error is that even the development environment recognizes “MessageDigest.ALG_SHA_256” in that it will autocomplete it when I type it out (this line also builds without problems in the Oberthur development environment). I have tried looking for a solution online, but I cannot find the answer. Any insight on this matter would be helpful.
C:\Main_Stuff\Crypto.java:358: cannot find symbol
symbol : variable ALG_SHA_256
location: class javacard.security.MessageDigest
hash = MessageDigest.getInstance(MessageDigest.ALG_SHA_256, false);
The line of code in question is:
hash = MessageDigest.getInstance(MessageDigest.ALG_SHA_256, false);
The weird thing about this build error is that even the development environment recognizes “MessageDigest.ALG_SHA_256” in that it will autocomplete it when I type it out (this line also builds without problems in the Oberthur development environment). I have tried looking for a solution online, but I cannot find the answer. Any insight on this matter would be helpful.
You do not have the required permissions to view the files attached to this post. Please login first.
well
Re: I am trying to get our smart card code to work on JCIDE, and while I have resolved most of the issues, there is stil
the solution to fix this problem is change jcdk version from 2.2.1 to higher.
You do not have the required permissions to view the files attached to this post. Please login first.
well
Who is online
Users browsing this forum: No registered users and 31 guests