read signing info from pdf

PDF-XChange Editor SDK for Developers

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

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: 27
Joined: Thu Jan 08, 2009 6:24 pm

read signing info from pdf

Post by kashiash » Sat May 18, 2019 12:54 pm

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 ?)

User avatar
Sasha - Tracker Dev Team
User
Posts: 4076
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: read signing info from pdf

Post by Sasha - Tracker Dev Team » Tue May 21, 2019 7:38 am

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
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

kashiash
User
Posts: 27
Joined: Thu Jan 08, 2009 6:24 pm

Re: read signing info from pdf

Post by kashiash » Wed May 22, 2019 7:11 am

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 ?

User avatar
Sasha - Tracker Dev Team
User
Posts: 4076
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: read signing info from pdf

Post by Sasha - Tracker Dev Team » Wed May 22, 2019 7:32 am

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
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

kashiash
User
Posts: 27
Joined: Thu Jan 08, 2009 6:24 pm

Re: read signing info from pdf

Post by kashiash » Wed May 22, 2019 8:04 am

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 ?

John - Tracker Supp
Site Admin
Posts: 8201
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Re: read signing info from pdf

Post by John - Tracker Supp » Thu May 23, 2019 7:41 am

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