Cristian Chiovari,

Cristian Chiovari wrote
> 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.

You have to be aware that integrated signing of PDF files requires
manipulation of the existing PDF. But the information concerning the PDF
document structure (which you need to execute those manipulations)
unfortunately (for a streaming model) reside at the end of the document. So
the whole PDF must be present on server side and accessible by the code
before you can start those manipulations.

Your application, therefore, cannot simply stream the request data to the
response output stream and immediately forget about it.

What you can do, though, is temporarily store the PDF on disc and use a
PdfReader constructor/factory method which accepts random access to the PDF.
PdfReaders created like that do require way less memory than those working
only in memory.

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/signing-large-pdfs-server-side-tp4657415p4657418.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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
[email protected]
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

Reply via email to