.net - Validating xml signature on part of the document using SignedXml -



.net - Validating xml signature on part of the document using SignedXml -

i using signedxml class validate signature in xml document. signature refers part document.

i able verify signature, how can sure signature signing specific part of document need validate? sign different part of document using same key , signature still valid.

from understand, signedxml automatically verifies signature against part of document that's supposedly signed.

a digital signature verified passing signature value and data/content that's supposedly signed (or hash value of it). means if signature verifies, can sure right part of document signed.

if signs different part of document , you're verifying signature against non-signed part of document, won't positive result. , due construction of xml, signedxml verifies signature against what's suppposedly signed, not against else.

.net xml xml-signature xml-dsig

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -