Ok then what is the purpose of the provided password (whether owner's or user's) in the PDFReader constructor
In order to allow you to read a document that has been encrypted. For example, to retrieve metadata.
if we can't sign a pdf document.
Modifications on encrypted document, esp. something as complex as signing, requires a LOT more internal mechanics inside of iText than currently exist. In addition, there are a variety of legal and philosophical issues involved when done as TWO processes.
Normally, you'd want to have encrypted and signing done at the same time by the same tool.
So if you know the passwords to the documents (and you would have to do make this useful anyway) - just decrypt them all and then rerun through iText for both crypt and sign.
Leonard
--------------------------------------------------------------------------- Leonard Rosenthol <mailto:[EMAIL PROTECTED]> Chief Technical Officer <http://www.pdfsages.com> PDF Sages, Inc. 215-938-7080 (voice) 215-938-0880 (fax)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
