Home All Groups Group Topic Archive Search About

encrypting XML fragments using WSE2.0

Author
18 Nov 2004 12:47 AM
crypto-mania!
I have a need to encrypt specific xml elements in a document and haven't been
able to figure out a way to achieve this using the WSE 2.0 APIs. Please note
that I do *NOT* want to send encrypted SOAP messages but rather need the
ability to encrypt arbitrary xml elements.
I have been able to use X509 certificates to sign xml elements but have been
unsuccessfully trying to use EncryptedData and EncryptedKey (from package
Microsoft.Web.Services2.Security.*).

Any sample code or pointers would be most helpful!

Thanks!

Author
18 Nov 2004 1:12 AM
crypto-mania!
And to clarify, I am using Whidbey (.NET 2.0)

Show quote
"crypto-mania!" wrote:

> I have a need to encrypt specific xml elements in a document and haven't been
> able to figure out a way to achieve this using the WSE 2.0 APIs. Please note
> that I do *NOT* want to send encrypted SOAP messages but rather need the
> ability to encrypt arbitrary xml elements.
> I have been able to use X509 certificates to sign xml elements but have been
> unsuccessfully trying to use EncryptedData and EncryptedKey (from package
> Microsoft.Web.Services2.Security.*).
>
> Any sample code or pointers would be most helpful!
>
> Thanks!

AddThis Social Bookmark Button