PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

how to get pdf hash
http://forum.pdfsharp.com/viewtopic.php?f=2&t=4128
Page 1 of 1

Author:  IRlyDunno [ Fri Apr 24, 2020 3:31 pm ]
Post subject:  how to get pdf hash

Hello,
I wanted to know if there's a way to generate a hash of a created pdf.
I haven't found a way to do this with my searches, so I wanted to ask if someone know of a way to do so.

Reason:
I have a system that requires me to sign a pdf with a smartcard. the flow is complete and working. the only problem is that I'm using iTextSharp to generate the required hash of the pdf.
The hash generated is a sha256 hash of the signature appearance of the pdf (I know that PdfSharp doesn't allow signatures as of now).
But there might be a way created to do this that someone knows of, so its worth the try.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/