'new Pkcs11()' fails
Viktor Tarasov <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <2c57df68-b860-4888-8baf-77df0685e761@f16g2000yqm.googlegroups.com> |
Hi,
in my xulrunner application, that I've compiled with the current
mozilla sources, I cannot instantiate the Pkcs11 DOM object.
This code
try {
var Pkcs11 = new Components.Constructor("@mozilla.org/security/
pkcs11;1", "nsIDOMPkcs11");
var myPkcs11 = new Pkcs11();
......
throws an error at the 'new Pkcs11()' line:
error [Exception... "Component returned failure code: 0x80570015
(NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance]"
nsresult: "0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE)"
Anybody can help me, please?
It's working (in DEBUG mode), compiled from the sources with
MOZ_CO_DATE="14 Apr 2009 13:00 PDT" .
Kind wishes,
Viktor Tarasov.