What are the hash and size attributes used for?
First the Document Consumer actor has the ability to verify the content was delivered correcly by calculating the size and recomputing the hash. More importantly, the Digital Signature profile (DSG) uses the hash to show that the document that was digitally signed is the same document being viewed.