Home All Groups Group Topic Archive Search About

signing XML elements

Author
31 Mar 2006 8:33 AM
Hans
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.

AddThis Social Bookmark Button