Re: Fetch server certificate from an authenticated SSL session

2009-03-21 Thread Subrata Mazumdar
Hi Arun, You can follow the code in PSM that displays the server certificate when you double-click on the lock icon in the status-bar : http://mxr.mozilla.org/mozilla-central/source/browser/base/content/pageinfo/security.js#119 http://mxr.mozilla.org/mozilla-central/source/browser/base/content/p

Re: Fetch server certificate from an authenticated SSL session

2009-03-20 Thread arungenesis
On Mar 20, 3:09 pm, Nelson B Bolyard wrote: > arungene...@gmail.com wrote, On 2009-03-20 02:46: > > >    I need to fetch the server certificate from an authenticated SSL > > session in firefox. I have some amount of experience in XPCOM and NSS. > > Just thought that NSS might help me in this and t

Re: Fetch server certificate from an authenticated SSL session

2009-03-20 Thread Nelson B Bolyard
arungene...@gmail.com wrote, On 2009-03-20 02:46: >I need to fetch the server certificate from an authenticated SSL > session in firefox. I have some amount of experience in XPCOM and NSS. > Just thought that NSS might help me in this and the following > functions would be of use to me: > > C

Fetch server certificate from an authenticated SSL session

2009-03-20 Thread arungenesis
Hi all, I need to fetch the server certificate from an authenticated SSL session in firefox. I have some amount of experience in XPCOM and NSS. Just thought that NSS might help me in this and the following functions would be of use to me: CERTCertificate *SSL_PeerCertificate(PRFileDesc *fd) CE