On Sep 21, 9:28 pm, DanKegel <[EMAIL PROTECTED]> wrote: >> What are the equivalent APIs in NSS which probably can >> replace the BIO I/O abstraction of OpenSSL ? > I have a demo program showing a BIO-like thing for NSS.
Thanks to Wan-Teh for several rounds of code review on the core part of my demo, the NSPR I/O layer: http://kegel.com/chromium/nss/mozilla/security/nss/cmd/ptstclnt2/memio.c http://kegel.com/chromium/nss/mozilla/security/nss/cmd/ptstclnt2/ptstclnt2.c is a simple many-session nonblocking SSL example that shows how to use memio.c to create something like OpenSSL's memory BIO so you can do all your own networking instead of letting nspr do it. (Which is handy when fitting NSS into a non-nspr app.) It's also available as http://kegel.com/chromium/memio.tgz - Dan _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto