Page 1 of 1

read signing info from pdf

Posted: Sat May 18, 2019 12:54 pm
by kashiash
I have to read information about reason and contact info from digital signs from PDF, how to do this in pdfEditor usig c# ? maybe is possible to do this using only pdf core library (without displaying pdf in editor ?)

Re: read signing info from pdf

Posted: Tue May 21, 2019 7:38 am
by Sasha - Tracker Dev Team
Hello kashiash,

It can only be done via the Structure level. I've prepared a sample for you on this matter as this can be useful to others:
https://github.com/tracker-software/PDF ... oreAPIDemo
You will have to register the Core API dll for this one as Readme tells, but you can use this one from the Editor SDK as the Core API is a part of it.
Check out the "14.2. Read signature information from structure" sample. To see it work, open a document with the signature, created with Reason and Contact Info.

Cheers,
Alex

Re: read signing info from pdf

Posted: Wed May 22, 2019 7:11 am
by kashiash
Thank you for example. I have additional questions:
How to enumerate all signatures in PDF structure ?
How to get all signature info, as displayed in pdf Editor in Signatures list window ?

Re: read signing info from pdf

Posted: Wed May 22, 2019 7:32 am
by Sasha - Tracker Dev Team
Hello kashiash,

I'm afraid you will have to read the PDF specification and read everything from the structure manually as the sample suggests, as there are no interfaces that can simplify that for you. I've given you a sample on how to work with PDF structure - with it you can code all of the logic that you want.

Cheers,
Alex

Re: read signing info from pdf

Posted: Wed May 22, 2019 8:04 am
by kashiash
in pdf Editor you display all info about signature and signer info. My question is simple how to get this data from code.
Is this true that i spend 5K for library where i have to dig inside PDF to get data normaly displayed in pdf ?

Re: read signing info from pdf

Posted: Thu May 23, 2019 7:41 am
by John - Tracker Supp
Respectfully - the Editor SDK is not for novices or those with no fundamental understanding of the PDF Structure.

You are expected to have a working knowledge of the PDF standard and specification to be able to utilize our products fully. The PDF format is exceptionally complex and we to document or 'coach' developer's in everything necessary to work with the format in the correct manner. This is beyond the scope of the support that we, or any other PDF company offering SDK's (including Adobe), provide to customers.

We have endeavoured to point you in the right direction but we cannot write detailed code on your behalf - it would be uneconomic and impractical to so.