Author
Does java.security.MessageDigest use the NSS libraries provided by Mozilla?
Ravi Danum
Ranch Hand
Joined: Jan 13, 2009
Posts: 104
Hello,
I want to use the Mozilla JSS security software that accesses the NSS libraries.
The problem is that some of the JSS classes have been deprecated in favor of the java JCE classes, for example MessageDigest should be used instead of JSSMessageDigest.
Does java.security.MessageDigest use the NSS libaries?
Thanks in advance.
-ravi
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted Apr 02, 2012 12:21:44
0
Why does it matter? What's so special about the NSS libraries?
Ravi Danum
Ranch Hand
Joined: Jan 13, 2009
Posts: 104
They are FIPS compliant. FIPS is a government regulation.
-ravi
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted Apr 02, 2012 12:57:07
0
Cryptographic algorithms are standardized - SHA-2 is the same everywhere, as is AES.
Ravi Danum
Ranch Hand
Joined: Jan 13, 2009
Posts: 104
There is a FIPS validation which Network Security Services (NSS) has completed for its PKCS#11 module.
I'm just learning about it now, so I don't have all the answers.
Mozilla provides both JSS, a java wrapper to NSS as well as NSS c libraries.
Here's a website that explains JSS:
https://developer.mozilla.org/En/JSS
On this page you will find the following statement:
When NSS is put in FIPS mode, JSS ensures FIPS compliance by ensuring that all cryptographic operations are performed by the NSS cryptographic module.
-ravi
Ravi Danum
Ranch Hand
Joined: Jan 13, 2009
Posts: 104
An explanation of FIPS can be found here:
https://developer.mozilla.org/en/NSS/FIPS_Mode_-_an_explanation
-ravi
subject: Does java.security.MessageDigest use the NSS libraries provided by Mozilla?