Digitally Sign Parts of a XML document
问题 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#) ? 回答1: You should be able to add an XPath-Transform to the Signature. It should look something like this: <Transform Algorithm="http://www.w3.org/TR/1999/REC