New Forum | Previous | Next | (P-PDF) Developers
Topic: PDF Encryption In Java, 1 Attachments
Conf: (P-PDF) Developers, Msg: 68301
Date: 7/9/2002 06:22 AM
I am trying to implement PDF encryption/decryption in Java. I can successfully compute the the /O and /U entries to match the ones in the document. When I try to decrypt a piece of data in the document I get gibberish. I am pretty sure that I am just missing some small thing.
If you are familiar with PDF encryption would you please take a look at my source to see what I am doing wrong.
The class to look at and execute is pdfparer.encryption.DecryptDocument, which opens the LazyParser-enc.pdf document and tries to decrypt one of the strings in that document.
Any help would be greatly appreciated.
PDF Parser Application (509,622 bytes)