[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 Jul 3 07:14:09 UTC 2017


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

--- Comment #30 from Hans-Ulrich Jüttner <huj at froreich-bioscientia.de> ---
(In reply to Albert Astals Cid from comment #29)
> I realize it should be a vector more than a list, but i'll change it locally
> when commiting, no need to commit, do i understand that the beginning of
> getCheckedSignature can be replaced with 
> 
>   Goffset start = 0;
>   Goffset end = 0;
>   const std::vector<Goffset> ranges = getSignedRangeBounds();
>   if (ranges.size() > 2)
>   {
>     start = ranges[1];
>     end = ranges[2];
>   }
> ?

Yes, a std::vector would be handier for getSignedRangeBounds().
I chose a std::list only because of your suggestion.

-- 
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/20170703/3e2ba87d/attachment.html>


More information about the Poppler-bugs mailing list