I could get the User Token encryption working using BountyCastle.But as we cannot use bounty castle can you please let me know if the exception below can be fixed with a setting in jdk/jce.When I try a different algorithm like DES instead of RSA I get a nullpointer exception on the CXF Client.
Jun 10, 2009 5:11:04 PM org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor handleMessage WARNING: org.apache.ws.security.WSSecurityException: An unsupported signature or encryption algorithm was used (unsupported key t ransport encryption algorithm: No such algorithm: http://www.w3.org/2001/04/xmlenc#rsa-1_5); nested exception is: java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/NONE/PKCS1PADDING at org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:690) at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:145) at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:107) at org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:87) thanks and regards, Bharath
