Re: PDF Encryption in HEAD

2003-03-14 Thread Jeremias Maerki
Ok, now I'm a bit smarter. It took me pretty long to realize what was really wrong that I got blank pages. The real reason was that if you don't have any filters active that have a name Acrobat Reader has problems if the stream is encrypted. As soon as you add the Flate filter, for example, the

Re: PDF Encryption in HEAD

2003-03-13 Thread Jeremias Maerki
Hi crypto-guys! I've just committed PDF encryption support by Patrick C. Lankswert to the redesign. The bad message is that it doesn't work yet. I get blank pages in Acrobat when enabled, although the PDF looks good when compared with one generated by the maintenance branch. I guess that's the

Re: PDF Encryption in HEAD

2003-03-13 Thread J.Pietschmann
Jeremias Maerki wrote: I've just committed PDF encryption support by Patrick C. Lankswert to the redesign. The bad message is that it doesn't work yet. I get blank pages in Acrobat when enabled, although the PDF looks good when compared with one generated by the maintenance branch. I guess that's

RE: PDF Encryption in HEAD

2003-03-13 Thread Bernard D'Have
Can you port your change to the maintenance branch? I'm very interested to have encryption with JDK1.3. Many thanks, Bernard -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 13 March, 2003 18:00 To: [EMAIL PROTECTED] Subject: Re: PDF Encryption in HEAD Hi

Re: PDF Encryption in HEAD

2003-03-13 Thread Keiron Liddle
That's why I didn't commit the patch: I didn't want to re-add the PDFDocument reference to PDFXObject in order to get the add the encryption filter after the makeStream() without asking why the reference had been dropped on the way from maintenance to HEAD. The PDFDocument was used in the

RE: PDF Encryption in HEAD

2003-03-13 Thread Patrick C. Lankswert
To: '[EMAIL PROTECTED]' Subject: RE: PDF Encryption in HEAD Patrick, I am following with much interest the integration of PDF encryption into FOP. While trying to understand how it is invoked (not configured) I got confused. We currently using a 3rd party external tool to encrypt our PDFs after

RE: PDF Encryption in HEAD

2003-03-13 Thread Patrick C. Lankswert
To: [EMAIL PROTECTED] Subject: Re: PDF Encryption in HEAD I too am interested in how this would be implemented, particularly in enabling some of the PDF features such as don't print me and don't save me and don't copy me (where the print, save and copy functions are inactive/grayed out) using

RE: PDF Encryption in HEAD

2003-03-13 Thread Patrick C. Lankswert
Clay, Ooops... sorry, you asked about command line. J, Thanks for all your help pulling this together. Pat -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 3:10 PM To: [EMAIL PROTECTED] Subject: Re: PDF Encryption in HEAD Clay Leeds

RE: PDF Encryption in HEAD

2003-03-13 Thread Patrick C. Lankswert
Jeremias, Be more than happy to look at it. Did you commit to HEAD or else where? Pat -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 12:00 PM To: [EMAIL PROTECTED] Subject: Re: PDF Encryption in HEAD Hi crypto-guys! I've just

RE: PDF Encryption in HEAD

2003-03-13 Thread Bernard D'Have
many thanks I will try Bernard -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: 13 March, 2003 22:57 To: [EMAIL PROTECTED] Subject: Re: PDF Encryption in HEAD Bernard D'Have wrote: Can you port your change to the maintenance branch? I'm very

Re: PDF Encryption in HEAD

2003-03-13 Thread Jeremias Maerki
Yes, redesign happens in HEAD. Thanks. I'll be after it, too, today. On 14.03.2003 03:14:31 Patrick C. Lankswert wrote: Be more than happy to look at it. Did you commit to HEAD or else where? Jeremias Maerki - To

RE: PDF Encryption in HEAD

2003-03-12 Thread Manuel Mall
Patrick, I am following with much interest the integration of PDF encryption into FOP. While trying to understand how it is invoked (not configured) I got confused. We currently using a 3rd party external tool to encrypt our PDFs after creation through FOP. Each PDF is given its own different

Re: PDF Encryption in HEAD

2003-03-12 Thread Clay Leeds
I too am interested in how this would be implemented, particularly in enabling some of the PDF features such as don't print me and don't save me and don't copy me (where the print, save and copy functions are inactive/grayed out) using the command line version. I use either the .sh or .bat

Re: PDF Encryption in HEAD

2003-03-12 Thread J.Pietschmann
Clay Leeds wrote: I'd be interested in finding out how to run these encryption (?) options running FOP from the command line. The easiest way you can imagine: 1. get the latest CVS maintenance branch code (it's not in 0.20.5rc2) 2. build 3. run fop.sh/fop.bat without parameters. Also, the docs

Re: PDF Encryption in HEAD

2003-03-12 Thread J.Pietschmann
Manuel Mall wrote: If we want to use the encryption within FOP we would need to be able to set the owner password before each individual run. Is that possible? Roughly like Renderer renderer=new PDFRenderer(); HashMap options = new HashMap(); options.put(ownerPassword,secret);

RE: PDF Encryption in HEAD

2003-03-10 Thread Patrick C. Lankswert
The encryption filter uses the number and generation as part of the hash to generate the key for a given object. In short, the encryption key is different for every object and is based on the number and generation of the object. I would have preferred something simpler but the PDFXObject is not

RE: PDF Encryption in HEAD

2003-03-10 Thread Keiron Liddle
The encryption filter uses the number and generation as part of the hash to generate the key for a given object. In short, the encryption key is different for every object and is based on the number and generation of the object. I would have preferred something simpler but the PDFXObject is

Re: PDF Encryption in HEAD

2003-03-09 Thread Jeremias Maerki
I'll have a look at it (Tuesday or Wednesday). On 09.03.2003 23:44:27 J.Pietschmann wrote: I tried to get PDF encryption into HEAD and failed. Most of the problem is that PDFXObject no longer has a reference to the PDFDocument, where the encryption object resides in the patch. I'm not sure