Hello,
I have tagged pdf. All tags removed from document when I encrypt it using code 
below.
Is it a way to encrypt document and keep all tags in it?
Thanks,
Alex

PdfEncryptor.encrypt(
                new PdfReader( byteArray ),
                outputStream,
                PdfWriter.ENCRYPTION_AES_128,null, null, 
PdfWriter.ALLOW_PRINTING | PdfWriter.ALLOW_COPY | 
PdfWriter.ALLOW_SCREENREADERS);


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to