Document has been altered or corrupted since it was signed Problem using PDFBox
I’m trying to sign a pdf using a Hsm Service that receives the document hash and responds with the signed hash. I followed some examples and checked posts in Stack OverFlow that related some similar problems but yet i did not found the solution. Here stays a quick flow of the data: