I have a need to incorporate some kind of integrity check of XML file into it's structure. Considering an XmlDSig as a standard, I wonder is there any way to get rid of asymmetric key (authentication) feature? Or maybe there is some other standard for the sole purpose of XML file integrity validation?
SHA1 is a hash function and doesn't require any key to be generated. It's enough for integrity check, on it's own. It's evident that generation of a temporary assymetric key for the sole integrity check purpose is an excessive operation. Using C# there are some pitfalls also exists.
If key is not assigned to SignedXml.SignedKey property, SignedXml.ComputeSignature method cause 'Signing key is not loaded' exception.