[Poppler-bugs] [Bug 99271] make it possible to extract digital signature data (also in pdfsig)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 26 22:30:59 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99271

--- Comment #25 from Albert Astals Cid <aacid at kde.org> ---
Should

+  if (subfilterName.isName("adbe.pkcs7.sha1")) {
+    signature_type = adbe_pkcs7_sha1;
+    signature_info->setSubFilterSupport(true);
+  }
+  if (subfilterName.isName("adbe.pkcs7.detached")) {

be an else if?



Also can you explain getSignedRangeBounds vs getCheckedSignature ? In one you
assume an indefinite number of ranges in getByteRange but the other one only
works if there's exactly 2 ranges (4 elements in getByteRange). Why is that?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170626/ded3c3b5/attachment.html>


More information about the Poppler-bugs mailing list