Yes, but there is no mean to prevent the IOException when reading an encrypted file. What I need is to know if the file is encrypted BEFORE opening it. Thus, as exception is rather heavy, I prevent an exception to be thrown.

Thanks

Hubert


From: Paulo Soares <[EMAIL PROTECTED]>
To: 'Hubert Lingo' <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: RE: [iText-questions] Reading an encrypted file
Date: Mon, 30 Jun 2003 17:14:30 +0100


That's already in the official version 0.99.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Hubert Lingo [SMTP:[EMAIL PROTECTED]
> Sent: Monday, June 30, 2003 16:50
> To: [EMAIL PROTECTED]
> Subject: Re: [iText-questions] Reading an encrypted file
>
> Good news, thank you.
>
> Hubert
>
>
> >From: Leonard Rosenthol <[EMAIL PROTECTED]>
> >To: "Hubert Lingo"
> ><[EMAIL PROTECTED]>,[EMAIL PROTECTED]
> >Subject: Re: [iText-questions] Reading an encrypted file
> >Date: Mon, 30 Jun 2003 11:37:21 -0400
> >
> >At 03:01 PM 6/30/2003 +0000, Hubert Lingo wrote:
> >> Is there a way to know that a PDF is encrypted, before reading it
> >>entirely? If you read a PDF file with PdfReader, it throws an
> IOException
> >>despite its knowledge that the file is encrypted.
> >
> > The latest version from Paulo has support for reading encrypted
> >files, provided you have the passwords.
> >
> >
> >Leonard
> >
> >-------------------------------------------------------------------------
> --
> >Leonard Rosenthol
> <mailto:[EMAIL PROTECTED]>
> >Chief Technical Officer <http://www.pdfsages.com>
> >PDF Sages, Inc. 215-629-3700 (voice)
> >
>
> _________________________________________________________________
> MSN Search, le moteur de recherche qui pense comme vous !
> http://search.msn.fr/worldwide.asp
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis ! http://www.msn.fr/msger/default.asp




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to