Hello All,

I nearly sucessfully completed my ws-service.
However I am having problems to encrpyt/decrypt (I guess, because signature process is working fine)
Well a problem of encryption/decryption.
There is no problem with the keystores because I am able to sign and verify the sent/received messages.
The problem comes in the next step when I want to encrypt/decrypt

here is the trace error:
-----------------------------------------------------------------------------------------------------------------

WSDoAllReceiver: security processing failed; nested exception is:
    org.apache.ws.security.WSSecurityException: An unsupported signature or encryption algorithm was used (unsupported key transport encryption algorithm: No such algorithm: http://www.w3.org/2001/04/xmlenc#rsa-1_5)

-------------------------------------------------------------------------------------------------------------------

I am using Axis 1.4 and WSS4J 1.5 with Tomcat

After some research I found out where it could be the problem:

http://wiki.apache.org/ws/FrontPage/WsFx/wss4jFAQ#noalgo

I sucessfully installed the Bouncycastle JAR and also policy jar.

I am wondering if I should install also the JavaTM Cryptography Extension (JCE)

http://java.sun.com/j2se/1.5.0/docs/guide/security/jce/JCERefGuide.html

Does someone face this problem?

Thank you in advance for any possible help.

José Ferreiro




--
José Ferreiro
EPFL Communication Systems engineer
ing.sys.com.dipl.EPFL

Reply via email to