Greg - you are correct that iText (nor any other 3rd party PDF Library) is able to open PDF documents encrypted with LiveCycle Rights Management server (formerly Policy Server). It is an extra encryption handler that is private to Adobe - just as others like FileOpen, LockLizard, etc. have implemented their own private encryption schemes for PDF.
Leonard On Jul 16, 2008, at 6:01 PM, Greg Wetmore wrote: > First off, kudos to Bruno, Paulo and the other contributers for > creating and maintaining a very capable and stable toolkit. I would > without hesitation recommend Bruno's book for anyone deploying iText > in a production application, a single tip or best practice suggestion > more than repays the cost of the book. > > I hope this question doesn't stray too far off topic into Adobe > product land... > > I have a pdf created and protected by an Adobe LiveCycle policy, I am > experimenting to see if my existing iText based application can > consume such a document. I am not trying to circumvent the policy > protection (at least in spirit), it is a document I own. Unfortunately > I don't get very far (using iText 2.0.8 - PdfReader(InputStream) ): > > java.io.IOException > at com.lowagie.text.pdf.PdfReader.readPdf(Unknown Source) > at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source) > at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source) > > When opened in Adobe Reader, the document properties show that it is > encrypted and protected by a LiveCycle policy, however there is no > user password required to open. > > I can guess that the quick explanation is that iText is not capable of > consuming the LiveCycle encrypted content, my question is twofold for > anyone with a bit more Adobe and iText experience than I have: > > Can anyone confirm that reading a LiveCycle policy protected document > with iText is not possible? > If my iText application processed the document first, and added a > master & user password, could LiveCycle add policy protection after > the fact while preserving the password protection added by iText? > > Thanks, > Greg > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Do you like iText? > Buy the iText book: http://www.1t3xt.com/docs/book.php > Or leave a tip: https://tipit.to/itexttipjar > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
