Within any of the the DOM/etc frameworks that Xercesc implements, is there a digest of a DOMDocument available, or will I have to write the document out and then digest it myself? Primarily, I am looking for a means of being able to identify if a particular DOMDocument is the same as another as a part of a rapid-access hashmap - so I need something that is fast. Typically, there will be not more than a few hundred hashmap insertions, of which 80% will be insertion clashes (duplicate documents), but there will be hundreds of thousands of finds.
So, my current implementation involves digesting each hashmap candidate, which entails having to write it out. (This is necessary so as to ensure that the encoding is consistent - the sources use inconsistent encodings, and they cannot be preprocessed, as some of them are availalble via eg URLs )
smime.p7s
Description: S/MIME cryptographic signature