0

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.

Robert Dodier
  • 16,905
  • 2
  • 31
  • 48

1 Answers1

0

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.

SureshAtt
  • 1,891
  • 2
  • 17
  • 22
  • 1
    Thanks for the reference, that's very helpful. I was looking for RSA because that's what the spec I was given says. Perhaps it's an oversight on the part of the person who wrote the spec. – Robert Dodier Sep 20 '12 at 16:03