NSS (Network Security Services) is a set of cross-platform libraries that can be used in the development of client applications and server-side applications. Apps that are compiled with NSS can support SSL V2 and SSL V3 to tls,pkcs#5,pkcs#7,pkcs#11,pkcs#12,s/mime,x.509 V3 certificates, as well as other security standards.
If we need to use the NSS library, we need to compile the downloaded source code. In the MDN website can be down to the published version of the Source: ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/
In order to compile NSS, we need to download the NSPR library at the same time, and choose NSS and the NSPR compression package download.
After downloading the source code, we must install Mozilla-build, the default installation, after installation, the C drive can see a mozilla-build folder. Unzip the previously downloaded source and copy the NSS and NSPR two folders to the C drive directory.
Open the Mozilla-build folder, select the corresponding install VS version of the bat file to run (My Computer installs the VS2010, so select the Start-shell-msvc2010.bat file to run), after startup appears as shown.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/69/wKiom1SZVeHzvaqDAAGuhrqo6b8892.jpg "title=" 1.jpg " alt= "Wkiom1szvehzvaqdaaguhrqo6b8892.jpg"/>
Switch the path to the NSS directory. Enter the "Make Nss_build_all" command. Then there was a long wait. If the compilation is not error, the end will be in the C-drive directory to create a new Dist folder, with the corresponding header files and Lib files and DLL files.
After the NSS is compiled, if we need to add something to the NSS library, we can modify its code directly and then compile it into the library we need to use.
This article is from the "brave" blog, make sure to keep this source http://hqalbert.blog.51cto.com/4729875/1594014
The Windows environment compiles NSS and NSPR