Closed as program error.
Error Message: See below . Stack Trace: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: SHA2DRBG, provider: IBMJCEFIPS, class: com.ibm.crypto.fips.provider.SHA2DRBG) at java.security.Provider$Service.newInstance(Provider.java:1273) at sun.security.jca.GetInstance.getInstance(GetInstance.java:248) at sun.security.jca.GetInstance.getInstance(GetInstance.java:218) at java.security.SecureRandom.getInstance(SecureRandom.java:330) at TestFIPSSHA2DRBG.main(TestFIPSSHA2DRBG.java:16) Caused by: java.lang.IllegalAccessException: Class java/security/Provider$Service illegally accessing "package private" class com/ibm/crypto/fips/provider/SHA2DRBG at java.lang.J9VMInternals.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1505) at java.security.Provider$Service.newInstance(Provider.java:1249) ... 4 more . The problem happens on JDKs which shipped with the new IBMJCEFIPS provider: 6.0sr12, 6.26sr4, 7.0sr3 Besides, the SHA2DRBG and SHA5DRBG can be used with IBMJCE provider.
1. Use SHA2DRBG and SHA5DRBG in IBMJCE provider. 2. Use algorithm name "HASHDRBG" to use the default SHA2DRBG in IBMJCEFIPS provider.
The problem happens because SecureRandom classes SHA2DRBG and SHA5DRBG in IBMJCEFIPS provider are not public
This defect will be fixed in: 7.0.0 SR4FP1 6.0.1 SR5FP1 6.0.0 SR13FP1 . A fix is made to IBMJCEFIPS provider to make SHA2DRBG and SHA5DRBG classes public. The fix to circumvent this problem in JSSE (IV36810) is reverted. The associated Hursley CMVC defect is 196266 The associated Austin CMVC defect is 113538 JVMs affected: Java 6.0 SR12, Java 6 R26 SR4, Java 7.0 SR3. The fix was delivered for Java 7 SR4 FP1, Java 6 R26 SR5 FP1, Java 6 SR13 FP1 The affected jar is "ibmjcefips.jar" and "ibmjsseprovider2.jar" The build level of "ibmjcefips.jar" for the affected releases is "20130219" The build level of "ibmjsseprovider2.jar" for the affected releases is "20130226"
Reported component name
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
Fixed component ID
Applicable component levels
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.