.NET, OASIS SecPolicy and EncryptedElements configuration

L

labcabrera

Hello,

I'm developing a set of web services that requires XPath encryption
using the EncryptedElements assertion.
Using Java (Axis2 & Rampart Module) I can define a explicit ws-
securitypolicy.xml like:

<sp:SignedParts>
<sp:Body />
</sp:SignedParts>
<sp:EncryptedElements>
<sp:XPath xmlns:de="http://xyz.org">//de:XYZ</sp:XPath>
</sp:EncryptedElements>

[4.2. http://specs.xmlsoap.org/ws/2005/07/securitypolicy/ws-securitypolicy.pdf]

This works fine -rewriting some code from Apache-

But now I need to develop the 'dotnet side' of this problem and I
can't find any way to encrypt a message content using the XPath
assertion (only EncrptedParts assertion).

WSE (2.0, 3.0) and WCF 'high-level-configuration' missing this option
and only supports all-body and header encryption.

Thanks

[sorry-for-my-english]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top