IJ08530: IBMPKCS11IMPL PROVIDER USES THE WRONG RSA CIPHER MECHANISM FOR THE RSA/ECB/PKCS1PADDING CIPHER
Closed as program error.
Error Message: N/A . Stack Trace: N/A . The customer experienced a "No such algorithm" exception while attempting to get an RSA/ECB/PKCS1Padding cipher instance. An IBM Crypto Express adapter configured in CCA mode was being used. java.security.NoSuchAlgorithmException: No such algorithm: RSA/ECB/PKCS1Padding at javax.crypto.Cipher.getInstance(Unknown Source) at rbitest.decryptMessage(rbitest.java:388) at rbitest.runTest(rbitest.java:164) at rbitest.runTest(rbitest.java:136) at rbitest.main(rbitest.java:110)
The customer experienced a "No such algorithm" exception while using an IBM Crypto Express adapter configured in CCA mode. java.security.NoSuchAlgorithmException: No such algorithm: RSA/ECB/PKCS1Padding at javax.crypto.Cipher.getInstance(Unknown Source) at test.decryptMessage(test.java:388) at test.runTest(test.java:164) at test.runTest(test.java:136) at test.main(test.java:110) This exception was seen because the IBMPKCS11Impl provider was using the CKM_RSA_X_509 mechanism for the RSA/ECB/PKCS1Padding cipher. Not only is CKM_RSA_X_509 the incorrect mechanism for this cipher, CKM_RSA_X_509 is not available on an IBM Crypto Express adapter configured in CCA mode. The IBMPKCS11Impl provider should have been using the CKM_RSA_PKCS mechanism instead.
The IBMPKCS11Impl provider has been modified to use the CKM_RSA_PKCS mechanism for the RSA/ECB/PKCS1Padding cipher. The associated CMVC defect is 117903. The associated RTC problem report is 138957. JVMs affected : Java 6.0, Java 6.1, Java 7.0 , Java 7.1 and Java 8.0 This fix was delivered for: 6.0 SR16 FP75, 6.1 SR8 FP75, 70 SR10 FP35, 7.1 SR4 FP35, and 80 SR5 FP 25. The affected jar file is ibmpkcs11impl.jar. The build level of this jar for the affected releases is "20180814". . This APAR will be fixed in the following Java Releases: 8 SR5 FP25 (18.104.22.168) 6 SR16 FP75 (22.214.171.124) 7 R1 SR4 FP35 (126.96.36.199) 7 SR10 FP35 (188.8.131.52) 6 R1 SR8 FP75 (184.108.40.206) . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, information about the available Service Refreshes and Fix Packs can be found at: https://www.ibm.com/developerworks/java/jdk/
Reported component name
Reported component ID
NoSpecatt / Xsystem
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