I have two files. one is doc and another is pdf. Now, what I want to do:
- try to extract the information of digital certificate(if exists) from the doc/pdf.
- Verify the information.
I tried to get the information of digital certificate from doc/pdf using OPENSSL, CERTUTIL, JAVA, PHP, iTEXT, TCPDF etc etc. There are tons of way to sign a file or get information from cert/pem etc. but how to get the file which contains the information of that specific word/pdf file.
Now, I even do not know, where the digital certificate stored in the MS word and PDF. Has anyone any idea on this ?
Thank you for taking your time. ANY OPINION will be a bug help for this newbie.