These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Javascript and Digital Signatues

vbProgrammer
Registered: Jan 10 2007
Posts: 8

Hello,
I am writing an automated script that will monitor a directory for pdf files. When digitally signed documents are dropped into this directory I need the script to open the file, extract its signature, mainly the certificate issuer, (in this case we are using our own certificate authority) and verify that we are in fact the issuer of that certificate.
 
So I guess the question is, how to extract the certificate issuer, and two how to do this in an automated way, instead of manually running the script through the debugger.

My Product Information:
Acrobat Pro 7
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You can't do any of these things with Acrobat JavaScript. In fact, this is pretty much against the licensing agreement. You need to be looking a 3rd party tools like ActiveTools from [url=http://www.activepdf.com]www.activepdf.com[/url]

Thom Parker
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://partners.adobe.com/public/developer/en/acrobat/sdk/
pdf/javascript/AcroJS.pdf]Acrobat JavaScript Reference[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script