<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - support for digital signatures"
href="https://bugs.freedesktop.org/show_bug.cgi?id=16770#c107">Comment # 107</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - support for digital signatures"
href="https://bugs.freedesktop.org/show_bug.cgi?id=16770">bug 16770</a>
from <span class="vcard"><a class="email" href="mailto:digital@markuspage.com" title="Markus Kilås <digital@markuspage.com>"> <span class="fn">Markus Kilås</span></a>
</span></b>
<pre>(In reply to Markus Wernig from <a href="show_bug.cgi?id=16770#c104">comment #104</a>)
<span class="quote">> I think the correct statement to issue in this case would be that a part
> ("revision") of the PDF has been signed and to show the validation result
> for that revision, ideally giving the user a chance to view only the signed
> part.
>
> This might even be indispensable when there are multiple signatures applied
> to the document.</span >
So one idea could be to also use the first offset when checking the signature
and in case it is not zero instead of return the status as SIGNATURE_VALID say
something like "SIGNATURE_PARTLY_VALID".
The pdfsig tool already implements support for multiple signatures/"revisions"
but it seems the API does not expose the ByteRange for which the signature
covers nor provides an other way to obtain that revision of the document (?).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>