Hi Cristian,
the problem is not the signing itself but the modification of the PDF
(insert the signature element). Afaik iText does this in memory, but I
would love to learn that I'm wrong.
The hashing and signing can be in two additional steps.
Greetings,
Andreas
> Hi
>
> I use Itext to sign some PDF's on server side.
>
> Because is a webapp and we might have in the future more users, I wonder if
> there is a possibility to sign the PDFs via a streaming method.
>
>
> So the user upload the document, the IText engine somehow gets access to
> the inputstream , SIGN , and then put into the outstream back to the client.
>
> SIGN is possible without having the document in the memory ?
>
> In the book Itext in Action second editon ther is nothing regarding signing
> via a streaming way (BTW i use it via safari books online so i can't ask
> this question on the book forum. Unfortunately despite is a legal way to
> read the book because i pay subscription to Safari , i do not have the
> codes to register to the book forum)
>
> Now things are done not optimally via WS and the whole byte[] is in the
> memory.
>
> On a small load test we get OOME.
>
> Any ideas how it can be done ?
>
> Thanks
>
> Cristian Chiovari.
>
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
>
>
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php
--
Andreas Kühne
phone: +49 177 293 24 97
mailto: kue...@trustable.de
Trustable Ltd. Niederlassung Deutschland Ströverstr. 18 - 59427 Unna
Amtsgericht Hamm HRB 5868
Directors Andreas Kühne, Heiko Veit
Company UK Company No: 5218868 Registered in England and Wales
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php