Hi Pedro

Sounds interesting. Can you provide a patch?

Regards
Dominik
Am 07.11.2014 05:09 schrieb "Pedro Lamarão" <pedro.lama...@prodist.com.br>:

> Hello, all! I am successfully using PoDoFo to produce signed PDF files,
> many thanks to you all!
>
> I have discovered that the AdjustByteRanges has bad synergy with the
> dictionary implementation. AdjustByteRanges assume that the Contents key
> follows immediately after the ByteRange key. The dictionary
> implementation orders keys in alphabetic order. Therefore if one
> produces a document with the ContentInfo key in a signature field then
> AdjustByteRanges assumption breaks because ByteRange < ContentInfo <
> Contents.
>
> Suggested fixes are doing a linear search or using a custom dictionary
> order which always gives ByteRange < Contents < everything.
>
> Hope this helps!
>
> --
> Pedro Lamarão
> PRODIST TECHNOLOGIES
> www.prodist.com.br
> Securing Critical Systems
> Tel.: (21) 4062-7188
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to