Re: [iText-questions] sign a file in memory, not in disk

2006-10-24 Thread mike mike
s case. > > Paulo > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of mike mike > > Sent: Tuesday, October 24, 2006 11:31 AM > > To: itext-questions@lists.sourceforge.net > > Subject: Re: [iText-quest

Re: [iText-questions] sign a file in memory, not in disk

2006-10-24 Thread Paulo Soares
, 2006 11:31 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] sign a file in memory, not in disk > > sorry, maybe I miss something but I don't understand, do you mind to > use signedStream.ToArray() after st.close() ? I get the same > exception.

Re: [iText-questions] sign a file in memory, not in disk

2006-10-24 Thread mike mike
From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of mike mike > > Sent: Tuesday, October 24, 2006 11:00 AM > > To: iText-questions@lists.sourceforge.net > > Subject: [iText-questions] sign a file in memory, not in disk > > > > Hi, >

Re: [iText-questions] sign a file in memory, not in disk

2006-10-24 Thread Paulo Soares
signedStream.ToArray() Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of mike mike > Sent: Tuesday, October 24, 2006 11:00 AM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions] sign a file i

[iText-questions] sign a file in memory, not in disk

2006-10-24 Thread mike mike
Hi, working with C# (.NET 2.0) and itextsharp (v 3.1.5) . The piece of code at the end of thos mail is to sign a file. When I sign a pdf and got the signed pdf into a file, it runs fine. ( as in the comment lines //xxx ) But if I want to keep the signed file in a MemoryStream in place of a File