Hello Agian,
The following snippet of code taken and slightly modified from the javascript developer reference guide enables the extraction of certificate information. So they do provide a way to get to the issuer of the certificate, the CA. -->
// Obtain the signature field:
var f = this.getField("signature2");
// Validate the signature field:
var status = f.signatureValidate();
// Obtain the signature information
var sigInfo = f.signatureInfo();
// Check the status returned from the validation:
if (status < 3)
var msg = "Signature is not valid: " + sigInfo.certificates[1];
else
var msg = "Signature is valid: " + sigInfo.certificates[1];
// Display the status message:
console.println(msg);
So we can clearly access the certificate data. How do I run this script from outside the acrobat javascript editor in an automated fashion and apply it to infanitly many files?
But if you want to go ahead with this then take a look at the Acrobat IAC interface. This is how you control Acrobat from an external application. You can find the documentation at:
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/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