views:

406

answers:

1

I'm working on a small program to take a large PDF, split it up (using iText), and add digital signature fields to each file. The splitting part works fine, but users with Adobe Reader can't sign the generated files until someone with Acrobat Professional opens them and enables them for Reader.

Is there a way to do the enabling automatically? A Java/iText solution would be my first choice, but anything automated will beat the current system.

+2  A: 

Signing PDFs is explained in the iText in Action book, including some examples.

However it seems that enabling "Usage Rights" cannot be done because it requires a private key owned by Adobe - see this thread in the iText mailing list.

Mirko Nasato
Perhaps I'm missing something, but those look like examples of *signing* the PDF -- not *enabling it to be signed in Reader*.
Michael Myers
Uhm it was me that missed something sorry. I'm not clear what this "enabled for signing" feature is. Do you know how it's called in PDF specs?
Mirko Nasato
That's called "Usage Rights" apparently and it's Adobe-specific. Answer updated.
Mirko Nasato
Pity. Looks like it's AutoIt for me then.
Michael Myers