cancel
Showing results for 
Search instead for 
Did you mean: 

IAIK on WebAs 6.4 ????

Former Member
0 Kudos

Hi All,

We are working on SAP NetWeaver 6.40 and use IAIK in our J2EE application to implement the following functionalities:

1. Encryption/Decryption

2. Storing certificates from SAP into IAIK keystore In order to achieve the two requirements we bundle/package two IAIK jars inside our application namely:

a) iaik_cms.jar (Version 3.2)

b) and iaik_jce_full_signed.jar (version 3.13)

When we deploy the application on NetWeaver, the "Encryption/Decryption" is working correctly but while "Storing certificates from SAP into IAIK keystore" we get the following error:

"java.security.NoSuchProviderException: JCE cannot authenticate the provider"

We discussed this issue with IAIK and they suggested us to copy the iaik_jce_full_signed.jar file into the ext directory of our JRE.

With this we were able to resolve the above mentioned problem. But after this change we have started facing a new problem with Encryption and Decryption of data (java strings):

"javax.crypto.IllegalBlockSizeException: Input data length not a multiple of blocksize."

Our NetWeaver installation is using j2sdk1.4.2_08.

Please do reply as good answers shall be rewarded with points.

Regards

Bhupinder

brajput@filenet.com

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

This is more of a general issue and i was able to get some reference on google..

check if this helps..

http://mail-archive.objectweb.org/oscar/2005-02/msg00056.html

Regards,

S.Divakar