You really do not want a stamp. You want a digital signature. If you sign the document, then the a stamp or anything that is changed will invalidate the signature. That is the easiest route to take. You could use DRM (Digital Rights Management) to prevent the document from being changed but that is more expensive.