Thanks for all the links.
What I am looking for is specific functions to verify a signed file
(both signers certificate and the signed content).
I need to then get the signed content from the file.

Thanks 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Nelson B Bolyard
Sent: Wednesday, August 20, 2008 9:56 PM
To: mozilla's crypto code discussion list
Subject: Re: NSS and OpenSSL BIO replacement

Ruchi Lohani wrote, On 2008-08-20 21:31:
> Thanks Nelson.
> And sorry about the subject of the mail. I wanted to ask about that
also.
> What are the equivalent APIs in NSS which probably can replace the BIO
> I/O abstraction of OpenSSL ?

Years have elapsed since I last looked at the BIO functions, but I
believe
the NSPR PR_ functions (e.g. PR_Open, PR_Close, PR_NewTCPSocket,
PR_Read,
PR_Write, PR_Send, PR_Recv, etc.) are what you want.

See them declared in
http://mxr.mozilla.org/nspr/source/nsprpub/pr/include/prio.h

See the documentation for the NSPR I/O functions in
http://www.mozilla.org/projects/nspr/reference/html/priofnc.html

See the documentation on related functions in NSS's SSL library at
http://www.mozilla.org/projects/security/pki/nss/ref/ssl/sslfnc.html#116
3855

See a simplified example of those functions in use in the .c files in
http://mxr.mozilla.org/security/source/security/nss/cmd/SSLsample/

For an example of a client program that uses non-blocking IO with SSL
see
http://mxr.mozilla.org/security/source/security/nss/cmd/tstclnt/tstclnt.
c


_______________________________________________
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto
_______________________________________________
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to