473,410 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

encrypting XML fragments using WSE2.0

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!
Nov 12 '05 #1
1 1328
And to clarify, I am using Whidbey (.NET 2.0)

"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!

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Hugh Sparks | last post by:
If I configure and use two different fragment extractors on the same XML document, how can I write xslt template match patterns that distinguish which elements these fragments replaced? Details:...
7
by: Richard L Rosenheim | last post by:
Anyone care to express their two cents over pros and cons of encrypting the data being transmitted (within the SOAP package) versus just utilizing a HTTPS connection? Richard Rosenheim
0
by: Zaffar | last post by:
I am trying use UserNameToken with WSE2. There is always some error or other. Like Actually the problem lies in Web.Config Settings. Does any one know all the required settings for WSE2 and...
1
by: Chris Ashley | last post by:
I am trying to log all the messages sent to/from my web services and read somewhere that WSE2 would let me do this. I have just installed this and added the following to my code: ...
2
by: Gustaf | last post by:
My program is constructing a document from several fragments, which are created on the fly using XSL transformations. I've managed to store the output from each transformation (each fragment) in an...
0
by: David G | last post by:
I have a web service originally written to use soap.tcp transport in WSE2 that now uses http transport under WSE3. The WSE2 method looked like public IndividualLookupResponse...
0
by: Gauls | last post by:
Hi I am new with web service security Here is what i want to achieve I want to use UsernameToken for Securing Usename and Password and later for ever call to the webservice i want to use the...
2
by: Lee Crabtree | last post by:
When reading fragments, it seems like XmlReaders try to read too much. I'm working on a file parser for a new file format, and I've run into a problem. The format has an XML fragment for a header,...
4
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... We've got a lot of places in our code where we read relatively small xml user preference blocks. Currently that's creating a new XmlDocument in every spot. I was thinking we might see...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.