Umesh Bywar wrote:
Thanks for replying. I have added securityCallbacks (i.e. functions like myAuthCertificate, myGetClientAuthData, etc. as in the file "mozilla\security\nss\cmd\SSLsample\client.c".

That's not what I meant. The nsISocketTransport has an attribute called securityCallbacks, and that's what I meant.... I doubt that you need to deal with the low-level NSS functions when using nsISocketTransport.


Hm, it looks like setting securityCallbacks is not mandatory when using SSL connections. Chatzilla gets by without setting them.

I do have one doubt with the code in this file. This SSL client takes a lot of command line arguments (please see the following code snippet). I don't understands why do we need to provide the certificate's nick name and the password to the SSL client.

I do not know NSS code.
I assume, though, that the certificate stuff you mentioned is for sending a client certificate.
_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to