Also, when I do a findCertNicknames call, I cannot seem to parse through them individually in the return variable - below is my code - can anyone see what I am doing wrong??
var cmgr = Components.classes["@mozilla.org/security/x509certdb;1"].getService();
cmgr = cmgr.QueryInterface(Components.interfaces.nsIX509CertDB);
var cnt = new Object();
var Carr = new Object();
cmgr.findCertNicknames(null,4,cnt,Carr);
//alert(Carr.length) - FAILS //alert(Carr[1].value) - FAILS
I only seem to be able to get a value attribute from the count and array objects e.g. the following works but is not what I want. Should I be initialising these some other way???
alert(Carr.value); //works but is how to separate?
alert(cnt.value); //works and gives me the number of cert nicknames returned
Regards,
-- Scott Rea
_______________________________________________ mozilla-crypto mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-crypto
