signing XML elements


G

Guest

Hi,

I want to sign a specific child element in an XML file:

<Main>
<CanChange entry="2">
...
...
</CanChange>
<MayNotChange>
<MayNotChangeEntry1 name="MyName">
</MayNotChangeEntry1>
<MayNotChangeEntry1 name="MyName">
</MayNotChangeEntry1>
</MayNotChange>
</Main>

Child <MayNotChange> must be signed in a way that allows for changes to
child <CanChange> (to my understanding, this complies with
http://www.w3.org/TR/xmldsig-core/).

Upto now, I only managed to sign the entire document, rather than a single
child. How can I sign a single child within an XML file in a way that allows
changes to other childs

Thanx for any help,
Hans.
 
Ad

Advertisements


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

Top