Informed Control Keyed Hash Schema
The Informed Control Keyed Hash Schema is used in XML files named "*.hash.xml", which contain a hash of another file. These hashes are used to detect inadvertant modification or damage to a file.
This schema was last updated July 2005.
These files contain either one or two elements, of type Hash.
For a non-keyed hash, the Hash element has no attributes, other than namespace attributes:
- http://www.informed-control.com/2/schema/kh
- http://www.w3.org/2000/09/xmldsig#
For a keyed hash, the Hash element also has the following attributes:
- KeyName: the identifier for the key used in the hash
- HashDate: the number of milliseconds since the epoch (1970)
- Salt: a base64 encoding of a 16 byte salt
Within a Hash element is a Reference element, with one attribute, URI.
Within the Reference element are two elements: DigestMethod and DigestValue.
The DigestMethod element has one attribute, Algorithm, containing the URL of the digest algorithm. The URL of the SHA-1 algorithm is http://www.w3.org/2000/09/xmldsig#sha1.
The DigestValue element has no attributes, and surrounds the base64 encoding of the digest value.