<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Sign PDF with digital signature"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99416#c25">Comment # 25</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Sign PDF with digital signature"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99416">bug 99416</a>
from <span class="vcard"><a class="email" href="mailto:ajohnson@redneon.com" title="Adrian Johnson <ajohnson@redneon.com>"> <span class="fn">Adrian Johnson</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=134030" name="attach_134030" title="write document then update byte offsets and sig on disk">attachment 134030</a> <a href="attachment.cgi?id=134030&action=edit" title="write document then update byte offsets and sig on disk">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=99416&attachment=134030'>[review]</a>
write document then update byte offsets and sig on disk
This updates to signing to work the way I requested. ie
- write the PDF to disk with space reserved in the ByteOffsets
- read the PDF back into a new PDFDoc
- get the offset of the signature object from the XRef
- update the byte offsets on disk
- compute the hash from the disk data and update the signature on disk</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>