read signing info from pdf

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
kashiash
User
Posts: 6
Joined: Thu Jan 08, 2009 6:24 pm

read signing info from pdf

Post 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 ?)
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: read signing info from pdf

Post 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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
kashiash
User
Posts: 6
Joined: Thu Jan 08, 2009 6:24 pm

Re: read signing info from pdf

Post 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 ?
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: read signing info from pdf

Post 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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
kashiash
User
Posts: 6
Joined: Thu Jan 08, 2009 6:24 pm

Re: read signing info from pdf

Post 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 ?
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom
Contact:

Re: read signing info from pdf

Post 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.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
Post Reply