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)
CERTCertificate *SSL_LocalCertificate(PRFileDesc *fd)

   But this needs PRFileDesc and how to use this functions ? Also I
need to fetch the file descriptors of an already existing connection,
in this case.

   Is there any other possible way to do this ?


regards,
Arun
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to