ok, i understand. but i tried:
reader = new PdfReader("/home/di/workspace/pdf/teste_de_assinatura.pdf");
PdfEncryptor.encrypt(reader, new
FileOutputStream("/home/di/semdireitos.pdf"),
null, null, PdfWriter.ALLOW_ASSEMBLY |
PdfWriter.ALLOW_COPY |
PdfWriter.ALLOW_DEGRADED_PRINTING |
PdfWriter.ALLOW_FILL_IN
| PdfWriter.ALLOW_MODIFY_ANNOTATIONS |
PdfWriter.ALLOW_MODIFY_CONTENTS
| PdfWriter.ALLOW_PRINTING |
PdfWriter.ALLOW_SCREENREADERS , false);
this are all the permissions i could find. but still i have the same
problem (adobe reader says that i can't extract pages, comments,
signature and others)
What am i doing wrong?
Sorry
1T3XT info wrote:
> Diana Almeida wrote:
>
>> I'm using:
>>
>> (....)
>> PdfReader r = new PdfReader("file_with_rights.pdf");
>>
>> r.removeUsageRights();
>>
>
> Usage rights is NOT the same as permissions!
>
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------- 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 Buy the iText book: http://www.1t3xt.com/docs/book.php
