I observed, that currently no error response string is returned by 
crypto.importUserCertificates. I'm feeding this function some trash, 
however the return value seems to be always an empty string. However 
according to http://developer.mozilla.org/en/docs/importUserCertificates 
this should result in a failure and error value.

Test code is:

            var status = window.crypto.importUserCertificates(null, 
CRMFResponse, true);
            if(status != "") alert(status);

...where CRMFResponse is just some stupid string, but certainly no 
certificate. Any ideas?

-- 
Regards 
 
Signer:         Eddy Nigg, StartCom Ltd. <http://www.startcom.org>
Jabber:         [EMAIL PROTECTED] <xmpp:[EMAIL PROTECTED]>
Blog:   Join the Revolution! <http://blog.startcom.org>
Phone:          +1.213.341.0390
 

_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to