Marco, I think you will be interested in PDFBOX-912[1] which is a work in progress. I reviewed all the code and found that it uses a huge array to store the entire document in order to sign it, but other than that it looks good. We can change it to use streams instead of byte arrays, but that changes the proposed API and would break Thomas's code (which is outside of PDFBox).
I haven't been able to test it because I don't have any code to do the signing, just the API which lets external programs sign documents. Thomas's current signature code can not be added to PDFBox due to copyright, but he'll add a small example for basic signatures when he gets time. [1] https://issues.apache.org/jira/browse/PDFBOX-912 ---- Thanks, Adam From: "Marco Steybe" <[email protected]> To: [email protected] Date: 04/04/2011 06:04 Subject: Creating a PDF with a digital signature Hi there, I'm evaluating PDFBox for a project which needs to create PDF docs on the fly and support digital signatures. I found the class org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature but I'm not sure how to use it. Do you have any sample code? Or can anyone give me some ideas how I can create a PDF with a digital signature using PDFBox? Thanks a lot! Marco -- GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit gratis Handy-Flat! http://portal.gmx.net/de/go/dsl - FHA 203b; 203k; HECM; VA; USDA; Conventional - Warehouse Lines; FHA-Authorized Originators - Lending and Servicing in over 45 States www.swmc.com - www.simplehecmcalculator.com Visit www.swmc.com/resources for helpful links on Training, Webinars, Lender Alerts and Submitting Conditions This email and any content within or attached hereto from Sun West Mortgage Company, Inc. is confidential and/or legally privileged. The information is intended only for the use of the individual or entity named on this email. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this email information is strictly prohibited, and that the documents should be returned to this office immediately by email. Receipt by anyone other than the intended recipient is not a waiver of any privilege. Please do not include your social security number, account number, or any other personal or financial information in the content of the email. Should you have any questions, please call (800) 453 7884.

