Hi,
Am 03.01.2012 12:36, schrieb Isaias Barroso:
Dear all,
Currently the process to sign a PDF works fine if we use
PDDocument.addSignature and PDDocument.saveIncremental, but
saveIncremental just accept a FileInputStream, does anybody knows another
way, for exemple using a ByteArrayInputStream instead FileInputStream?
Using a ByteArrayInputStream would let the process more flexible, I could
for example get a content from a Web Service and sign the content without
to save it on disk before sign the document.
That shouldn't be a big deal. An InputStream should be used a parameter type, so
that one can choose depending on the situation the most suitable one.
If a solution for this don't already exists or planned I'll try to make
changes on source code.
Please create an issue on JIRA [1], so that this idea can't get lost.
Best Regards
BR
Andreas Lehmkühler