That's a different question. Create the PdfReader with the open password
and use it with a PdfStamper that is not open in append mode. You can
reapply the encryption setting in PdfStamper.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Wahaj
> Sent: Tuesday, December 21, 2004 6:44 AM
> To: Paulo Soares; [EMAIL PROTECTED]
> Subject: Re: [iText-questions] Signing a pdf document which 
> is originally encrypted
> 
> Well my original question was whether we can sign a pdf 
> document which is
> not signed but encrypted which is not possible using iText.
> 
> My next question is can it be possible to remove the password 
> based security
> from a pdf document using iText ?. If its possible then we 
> can first remove
> the password based security from pdf using iText then sign 
> and then again
> apply the security again.
> 
> Note: Yes in acrobat if a document is signed & encrypted, we 
> can't sign it
> again but if a document is only encrypted then we can remove 
> the encryption,
> apply signatures and then encrypt the pdf document.
> 
> Regards,
> Wahaj
> ----- Original Message ----- 
> From: "Paulo Soares" <[EMAIL PROTECTED]>
> To: "Leonard Rosenthol" <[EMAIL PROTECTED]>; "Wahaj"
> <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, December 20, 2004 9:01 PM
> Subject: RE: [iText-questions] Signing a pdf document which 
> is originally
> encrypted
> 
> 
> > The question here was how to append another signature to an already
> > signed and encrypted document. I can't do it in Acrobat so, 
> I suppose
> > that it's not to be done.
> >
> > Best Regards,
> > Paulo Soares
> >
> > > -----Original Message-----
> > > From: Leonard Rosenthol [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, December 20, 2004 3:48 PM
> > > To: Wahaj; Paulo Soares; [EMAIL PROTECTED]
> > > Subject: Re: [iText-questions] Signing a pdf document which
> > > is originally encrypted
> > >
> > > At 10:19 AM 12/20/2004, Wahaj wrote:
> > > >Ok then what is the purpose of the provided password
> > > (whether owner's or
> > > >user's) in the PDFReader constructor
> > >
> > >          In order to allow you to read a document that has been
> > > encrypted.  For example, to retrieve metadata.
> > >
> > >
> > > >if we can't sign a pdf document.
> > >
> > >          Modifications on encrypted document, esp. something
> > > as complex as
> > > signing, requires a LOT more internal mechanics inside of 
> iText than
> > > currently exist.  In addition, there are a variety of legal and
> > > philosophical issues involved when done as TWO processes.
> > >
> > >          Normally, you'd want to have encrypted and signing
> > > done at the
> > > same time by the same tool.
> > >
> > >          So if you know the passwords to the documents (and
> > > you would have
> > > to do make this useful anyway) - just decrypt them all 
> and then rerun
> > > through iText for both crypt and sign.
> > >
> > >
> > > Leonard
> > >
> > > --------------------------------------------------------------
> > > -------------
> > > Leonard Rosenthol
> > > <mailto:[EMAIL PROTECTED]>
> > > Chief Technical Officer                      
> <http://www.pdfsages.com>
> > > PDF Sages, Inc.                              215-938-7080 (voice)
> > >                                               215-938-0880 (fax)
> > >
> > >
> >
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to