- Network Security Services
-
Network Security Services Developer(s) AOL, Red Hat, Sun Microsystems, Oracle Corporation, Google and others Stable release 3.12.8 / September 23, 2010 Written in C (programming language) Assembly Language Operating system Cross-platform Platform Cross-platform Type libraries License triple-license MPL, GPL and LGPL Website http://www.mozilla.org/projects/security/pki/nss/ In computing, Network Security Services (NSS) comprises a set of libraries designed to support cross-platform development of security-enabled client and server applications. NSS provides a complete open-source implementation of crypto libraries supporting SSL and S/MIME. NSS is triple-licensed under the Mozilla Public License, the GNU General Public License, and the GNU Lesser General Public License.
Contents
History
NSS originated from the libraries developed when Netscape invented the SSL security protocol.
FIPS 140 validation and NISCC testing
The NSS software crypto module has been validated five times (1997, 1999, 2002, 2007, and 2010) for conformance to FIPS 140 at Security Levels 1 and 2.[1] NSS was the first open source cryptographic library to receive FIPS 140 validation.[1] The NSS libraries passed the NISCC TLS/SSL and S/MIME test suites (1.6 million test cases of invalid input data).[1]
Applications that use NSS
AOL, Red Hat, Sun Microsystems/Oracle Corporation, Google and other companies and individual contributors have co-developed NSS. Mozilla provides the source code repository, bug tracking system, and infrastructure for mailing lists and discussion groups. They and others named below use NSS in a variety of products, including the following:
- Mozilla client products, including Firefox, Thunderbird, and SeaMonkey.
- AOL Communicator and AOL Instant Messenger (AIM)
- Google Chrome (Linux version; Windows version since at least v8) [1]
- Open source client applications such as Evolution, Pidgin, and OpenOffice.org 2.0.
- Server products from Red Hat: Red Hat Directory Server, Red Hat Certificate System, and the mod nss SSL module for the Apache web server.
- Sun server products from the Sun Java Enterprise System, including Sun Java System Web Server, Sun Java System Directory Server, Sun Java System Portal Server, Sun Java System Messaging Server, and Sun Java System Application Server, open source version of Directory Server OpenDS.
Architecture
NSS includes a framework to which developers and OEMs can contribute patches, such as assembler code, to optimize performance on their platforms. Mozilla has certified NSS 3.x on 18 platforms.[2][3] NSS makes use of Netscape Portable Runtime (NSPR), a platform-neutral open-source API for system functions designed to facilitate cross-platform development. Like NSS, NSPR has been used heavily in multiple products.
Software development kit
In addition to libraries and APIs, NSS provides security tools required for debugging, diagnostics, certificate and key management, cryptography module management, and other development tasks. NSS comes with an extensive and growing set of documentation, including introductory material, API references, man pages for command-line tools, and sample code.
Programmers can utilize NSS as source and as shared (dynamic) libraries. Every NSS release is backward compatible with previous releases, allowing NSS users to upgrade to the new NSS shared libraries without recompiling or relinking their applications.
Interoperability and open standards
NSS supports a range of security standards, including the following:[4]
- SSL v2 and v3. The Secure Sockets Layer (SSL) protocol allows mutual authentication between a client and server and the establishment of an authenticated and encrypted connection.
- TLS v1 (RFC 2246). The Transport Layer Security (TLS) protocol from the IETF supersedes SSL v3 while remaining backward-compatible with SSL v3 implementations.
- The following PKCS standards:
- PKCS #1. RSA standard that governs implementation of public-key cryptography based on the RSA algorithm.
- PKCS #3. RSA standard that governs implementation of Diffie–Hellman key agreement.
- PKCS #5. RSA standard that governs password-based cryptography, for example to encrypt private keys for storage.
- PKCS #7. RSA standard that governs the application of cryptography to data, for example digital signatures and digital envelopes.
- PKCS #8. RSA standard that governs the storage and encryption of private keys.
- PKCS #9. RSA standard that governs selected attribute types, including those used with PKCS #7, PKCS #8, and PKCS #10.
- PKCS #10. RSA standard that governs the syntax for certificate requests.
- PKCS #11. RSA standard that governs communication with cryptographic tokens (such as hardware accelerators and smart cards) and permits application independence from specific algorithms and implementations.
- PKCS #12. RSA standard that governs the format used to store or transport private keys, certificates, and other secret material.
- Cryptographic Message Syntax, used in S/MIME (RFC 2311 and RFC 2633). IETF message specification (based on the popular Internet MIME standard) that provides a consistent way to send and receive signed and encrypted MIME data.
- X.509 v3. ITU standard that governs the format of certificates used for authentication in public-key cryptography.
- OCSP (RFC 2560). The Online Certificate Status Protocol (OCSP) governs real-time confirmation of certificate validity.
- PKIX Certificate and CRL Profile (RFC 3280). The first part of the four-part standard under development by the Public-Key Infrastructure (X.509) working group of the IETF (known as PKIX) for a public-key infrastructure for the Internet.
- RSA, DSA, ECDSA, Diffie–Hellman, EC Diffie–Hellman, AES, Triple DES, DES, RC2, RC4, SHA-1, SHA-256, SHA-384, SHA-512, MD2, MD5, HMAC: Common cryptographic algorithms used in public-key and symmetric-key cryptography.
- FIPS 186-2 pseudorandom number generator.
Hardware support
NSS supports the PKCS #11 interface for access to cryptographic hardware like SSL accelerators, HSM-s and smart cards. Since most hardware vendors such as SafeNet Inc. and Thales also support this interface, NSS-enabled applications can work with high-speed crypto hardware and use private keys residing on various smart cards, if vendors provide the necessary middleware.
Java support
Network Security Services for Java (JSS) consists of a Java interface to NSS. It supports most of the security standards and encryption technologies supported by NSS. JSS also provides a pure Java interface for ASN.1 types and BER/DER encoding. The Mozilla CVS tree makes source code for a Java interface to NSS available.
See also
References
External links
- NSS Introduction
- NSS Overview
- SSL Reference
- NSS tools
- NSS test suite
- S/MIME toolkit
- SSL toolkit
- JSS toolkit
- First FIPS 140 software validation
- First open source FIPS 140 validation
- Latest FIPS 140-2 validation
Mozilla Project Mozilla LabsMozilla ResearchBoot 2 Gecko · RustCamino · Firefox (2 · 3 · 3.5 · 3.6 · 4 · 5 · 6 · 7 · Mobile) · SeaMonkey
more- Origin and lineage: Mozilla Application Suite · Netscape Navigator · Netscape Communicator · Netscape Communications · Beonex Communicator
- Forks: BurningDog · Flock · Gnuzilla · Iceape · IceCat · Icedove · Iceowl · Miro · Netscape 9 · Portable Edition · Songbird · Swiftfox · Swiftweasel · TenFourFox · XeroBank
- Framework: add-on · Gecko · Necko · XBL · XPCOM · XPConnect · XPInstall · XUL · XULRunner
- Componentry: Application Object Model · Composer · NSPR · NSS · Rhino · SpiderMonkey · Tamarin · Venkman
- Project: Personas, Snowl, Test Pilot — Chromatabs, Geode, Joey, Operator, The Coop
- Discontinued: Calendar Project · Grendel · Minimo
Organization Former Mozilla Organization · Mozilla Foundation (Subsidiary: Mozilla Corporation · Mozilla Messaging · Mozilla Online)Official affiliateCommunity See also Categories:- Cryptographic software
- Internet standards
- Internet protocols
- Electronic commerce
- Secure communication
Wikimedia Foundation. 2010.