File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes When encrypting a SOAP, does the AES key embedded in SOAP header? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "When encrypting a SOAP, does the AES key embedded in SOAP header? " Watch "When encrypting a SOAP, does the AES key embedded in SOAP header? " New topic
Author

When encrypting a SOAP, does the AES key embedded in SOAP header?

Ren Shao
Ranch Hand

Joined: Dec 23, 2002
Posts: 51
I'm using Axis2 and Rampart to encrypt SOAP messages. I'm trying to understand the structure of encrypted SOAP message.

My current understanding is, the soap body is encrypted using AES-128, and the AES key is encrypted and embedded in the soap header, in <xenc:EncryptedKey> tag. Is that right? could someone confirm? (or point out my mistakes)

Here's a encrypted SOAP request

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When encrypting a SOAP, does the AES key embedded in SOAP header?