Validation of possible signatures and compliancy

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

EzWz
User
Posts: 42
Joined: Mon Oct 10, 2011 9:03 am

Validation of possible signatures and compliancy

Post by EzWz »

Hi, we where trying to get some information about a pdf from code.
We would like to know if a pdf is compliant to pdf/a standards and we would like to know if there is a valid signature on the pdf document.
Can this be done from code?

Best regards, Erwin
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Validation of possible signatures and compliancy

Post by Vasyl - PDF-XChange »

Hi, Erwin.
We would like to know if a pdf is compliant to pdf/a standards.
Use the:

Code: Select all

object dataOut;
pdfViewer.GetDocumentProperty(docId, "PDFA", out dataOut, 0);
bool isPDFACompilant = (bool)dataOut;
we would like to know if there is a valid signature on the pdf document.
It is impossible in current version. You will be able to get this info only with new Editor's SDK (coming soon).

HTH
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
EzWz
User
Posts: 42
Joined: Mon Oct 10, 2011 9:03 am

Re: Validation of possible signatures and compliancy

Post by EzWz »

Thank you!
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Validation of possible signatures and compliancy

Post by Stefan - PDF-XChange »

:)