@(none) wrote on 3/1/2004, 7:49 AM: > > I went to this page: http://www.mozilla.org/projects/security/pki/ , > but I could not find any C/C++ code samples about NSS or PSM using. I'm > looking for code samples how-to sign/verify bytes (PCKS7) using > certificates stored in Mozilla certificate store? Also, looking for code > samples how-to make SHA1 hash of some bytes?
You can find some NSS sample code in http://www.mozilla.org/projects/security/pki/nss/sample-code/. Some of the NSS test programs in http://lxr.mozilla.org/mozilla/source/security/nss/cmd/ can also serve as sample code. You can find NSS documentation at http://www.mozilla.org/projects/security/pki/nss/#Documentation. In particular, NSS Technical Note 5 (http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn5.html) may be helpful. Wan-Teh _______________________________________________ mozilla-crypto mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-crypto
