At 12:16 PM 12/26/2004, Wahaj wrote:
I am using the iText sample to encrypt a pdf document with permission, user
and owner passwords, 128 bit one, which is previously signed too. After
signing the signature becomes corrupt when verified using Adobe. Why ?

Think about it...

A signature is used to verify that the data of the file has NOT been changed...
Encrypting data CHANGES IT...


        Therefore, the signature no longer verifies.


IF you want BOTH encryption and DigSig - you encrypt first and then 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

Reply via email to