Owkey, i finally found it, it128Key()
Sorry.
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/PDF-protection-Encryption-Detection-tp3257928p3260093.html
Sent from the iText - General mailing list archive at Nabble.com.
---
Is their a directly method for make a condition on this?
I looked in pdfreader, neither in pdfencryption, pdfencryptor or pdfstamper?
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/PDF-protection-Encryption-Detection-tp3257928p3260002.html
Sent from the iText - Gene
Op 4/02/2011 9:26, crimeunit schreef:
> You think this is a good code, or need I check first on more printing-things
> before I can say that the print is allowed or not?
An extra check you may want to add, is whether 40-bit or 128-bit
encryption is used.
Some settings are only valid for 128-bit e
Op 4/02/2011 9:11, crimeunit schreef:.
> -> If I can print the document in Acrobat reader (doesn't matter via
> print-icon or menu-file>Print), why iText isPrintingAllowed() shows me a
> false boolean?
I don't know, I know that this worked in the past, but maybe it doesn't
work anymore.
Did you c
No I did it like this (as attached)
You think this is a good code, or need I check first on more printing-things
before I can say that the print is allowed or not?
The same question for Copy the text and/or images?
Thanks,
http://itext-general.2136553.n4.nabble.com/file/n3259815/Example_print_
Sorry, i don't understand it realy good,
When I see at the security panel and details panel: the Printing is standing
on 'allowed'.
-> If I can print the document in Acrobat reader (doesn't matter via
print-icon or menu-file>Print), why iText isPrintingAllowed() shows me a
false boolean? How can
Op 3/02/2011 20:02, crimeunit schreef:
> Where is the logic?
> Even so, thanks for reply but when I did some tests, I mentioned that the
> 'isPrintingAllowed()' method returns a 'false' boolean -> but I can print
> the PDF-file when I open the it?!
Maybe "degraded printing" is allowed.
What matter
Where is the logic?
Even so, thanks for reply but when I did some tests, I mentioned that the
'isPrintingAllowed()' method returns a 'false' boolean -> but I can print
the PDF-file when I open the it?!
As attached, the image as example; could you please help me out, maybe the
code is a bit wrong?
Op 3/02/2011 14:36, crimeunit schreef:
> Thanks for the quick respons,
>
> But when I do the following:
>
>
> PdfReader reader = new PDFReader(String "C:\\test.pdf");
> System.out.println(PdfEncryptor.isPrintingAllowed(reader.getPermissions()));
>
>
> .. then the isPrintingAllowed() method always r
Thanks for the quick respons,
But when I do the following:
PdfReader reader = new PDFReader(String "C:\\test.pdf");
System.out.println(PdfEncryptor.isPrintingAllowed(reader.getPermissions()));
.. then the isPrintingAllowed() method always returns false, also when the
pdf-file in adobe could b
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 p
11 matches
Mail list logo