Digitally Sign Parts of a XML document

Posted by Eros on Stack Overflow See other posts from Stack Overflow or by Eros
Published on 2009-06-23T10:55:03Z Indexed on 2010/04/15 6:43 UTC
Read the original article Hit count: 420

I have an XML document having structure similar to the following

<envelop>
    <header>blaa</header>
    <message>blaa blaa</message>
    <footer></footer>
</envelop>

I want to digitally sign the header and message elements and add the signature to the footer element.

How can I sign the elements and then later verify the signature (using .net c#) ?

© Stack Overflow or respective owner

Related posts about Xml

Related posts about digital-signature