Le mercredi 12 février 2014 23:01:22 UTC, David Keeler a écrit :
> These interfaces might be helpful:
> 
> 
> 
> https://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/public/nsIX509CertDB.idl
> 
> (see in particular verifyCertNow, although that's more of a testing
> 
> function and is subject to change)
> 
> https://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/public/nsIX509Cert.idl
> 
> as well as others in
> 
> https://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/public/
> 
> 
> 
> On 02/12/14 03:59, WebDoctor wrote:
> 
> > I'm currently working on a project where i need to validate a certificate 
> > send by the web application to the browser in an HTTP header. In fact, I 
> > don't need an implementation of HTTPS in this project, I only need to 
> > validate the Base64 received certificate with the same process used in  the 
> > HTTPS protocol. 
> 
> > 
> 
> > I can easily program the server side using PHP openSSL module , but I need 
> > help in in how to implement a prototype of my preposition as a Firefox 
> > extension.
> 
> > 
> 
> > From my research I found that Firefox verify certificate using NSS 
> > Certificate Functions: 
> > https://developer.mozilla.org/en-US/docs/NSS_Certificate_Functions. But, i 
> > could not find any information on how to access and use NSS certificate 
> > functions From a Firefox extension code. 
> 
> > 
> 
> > Should I write my own XPCOM object, or is there any other reasonable 
> > solution for that?. And can any one collaborate with me create this 
> > solution ?
> 
> > 
> 
> > I would be great-full for answers or any insights.
> 
> >

Thank you, i'll  try to test the verifyCertNow in my extension and see what 
result i can get.
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to