Question

I am working with Axis2 1.6.1 + Rampart 1.6.1 on the server side of a web service.

I've been asked to employ RSA 1.5 for message body encryption. From what I can tell (by inspecting captured SOAP messages), the default algorithm to encrypt the message body is Triple DES CBC. So I want to change that to RSA 1.5.

I am assuming that there is some property I need to set in my server policy XML file. However, I cannot figure out what property that might be. I have looked at example policy files, this page about WSS configuration, and this page about Rampart configuration, and various blogs and what-not.

If someone can point out an example policy or relevant configuration docs or whatever, I'll be very grateful. Thanks in advance for your help.

Was it helpful?

Solution

Refer to the WS-Security Policy Specification section 6.1. Why do you want to use RSA ? The given algorithm suites in the spec don't use RSA for encryption.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top