Error using JQuery

4/26/2014 7:45:28 AM
Gravatar
Total Posts 1

Error using JQuery

Hi,

I'm new to NCryptoki and was trying to get the examples to run. I was able to access and use the Virtual Cryptoki (vcki.dll) from the C# example program provided. It is able to locate keys, sign, verify etc from the example C# program.

But, when I try using the JQuery examples (both using Silverlight as well as Java) with the Virtual Cryptoki (vcki.dll) I am getting errors. In both the versions, I am trying to use the pkcs11dump.html file. I type in vcki.dll as the module name as well as the PIN for the module and press the "Dump PKCS#11" button. 

In the Silverlight version I get "Error: Attach to cryptoki library error: 126"

In the Java version I get "Unable to attach to the specified PKCS#11 module. Error: Error calling method on NPObject."

Further, when I open the Java version, the applet loads and I get the Shareware Version dialog box. This does not happen in the Silverlight version.

Can someone please help me out with this.