on 05-30-2006 10:21 AM
Hi All,
My scenario is Java Proxy to JDBC. I need to send a encrypted message to XI and XI has to decrypt it. I have set the key store and key entry in Sender Agreement. I encrypted the message in proxy using RSA algorithm and public key (cert) generated in XI.
The problem is decryption in XI. The decrypted message has some invalid characters and so the mapping throws parser Exception.
Please help me to get out of these bugs!
(All helpful answers will be appreciated ).
Thanks and Regards,
Uma
When some characters are invalid, I assume that the code pages of sender and receiver do not match.
Transform the data to UTF-8 inside the Java proxy, that should help.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks guys for all the replies.
I dont think the problem will be solved by changing the encoding format. (In fact, i am not able to set the xml format in java proxy !)
The adapter is not decrypting the message correctly. that's y invalid characters are shown in Integration engine. Please help me out to solve the problem at adapter level.
Also, am not sure about the encryption logic i have used in proxy. right now i am using Cipher to encrypt with RSA algol. It will be better if i get any other encryption API. (encrypt with public key).
Kindly let me know if my approach to this issue is wrong.
Thanks,
Uma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uma,
As Bhavesh had suggested, try using a different encoding technique . If UTF-8 doesn't work, try ISO-8859-1 or ISO-8859-16
cheers,
Prashanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply Stefan.
Its already in UTF-8 format in java proxy.
Thanks,
Uma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.