Op 3/02/2011 13:04, crimeunit schreef:
> My question is, is their a simple way the find out if a pdf file is
> encrypted,
http://api.itextpdf.com/com/itextpdf/text/pdf/PdfReader.html#isEncrypted%28%29
>   copy-prtected, print-protected, user/owner-protected, (so it's
> only about "Detection" like perhaps in pseudocode: if (isPrintSecured()
> =true/false, ....)

http://api.itextpdf.com/com/itextpdf/text/pdf/PdfReader.html#getPermissions%28%29
http://api.itextpdf.com/com/itextpdf/text/pdf/PdfEncryptor.html#getPermissionsVerbose%28int%29
http://api.itextpdf.com/com/itextpdf/text/pdf/PdfEncryptor.html#isPrintingAllowed(int)
etc...

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

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