|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
encrypting XML fragments using WSE2.0I 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! 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! |
|||||||||||||||||||||||