Hi,
Pavel Vassiliev wrote:
On 2/16/06, Philipp Lohmann - Sun Germany - ham02 - Hamburg
I made research of the PDF export source code and as I understood you
just take the snapshot of the page, save it to JPEG and then write
this page image stream into the pdf file.
I'm not quite sure what you mean here ? Signatures need JPEG's of the
page streams ? I thought signatures would need only a digest over most
of the PDF file as detailed in PDF reference 1.5 chapter 8.7.
We can create the signature right before writting the PDF trailer.
(We'll have all PDF offsets available).
[snip]
Or as you say we can update the PDF afterwards, but then we'll need to
parse PDF file to get all it's offsets.
I saw that OO has "Digital Signatures" dialogs. I hope we can use
them. By the way, how do you want it to work? Do you want to pick
signers certificates in export settings, or suggest to sign the PDF if
the OO file is already signed and take same certificates which are
used for OO file signing?
I'd say as a start we could use the same certificates as the original
document had. If one wants different certificates for the PDF this
should not affect the actual export code but would require additional UI
which can be added afterwards.
Kind regards, pl
--
If you give someone a program, you will frustrate them for a day;
if you teach them how to program, you will frustrate them for a lifetime.
-- Author unknown
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]