diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-25 11:33:21 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-25 12:03:58 +0000 |
commit | d34a8993e3b3200de10d20990d14dc9288d8d6c7 (patch) | |
tree | 7badd63df935d24569688d914d2af3603f5672d7 /sfx2/source/inc | |
parent | 9b09a217c79e8a35fc4de54c89ef49fbf8f72752 (diff) |
xmlsecurity PDF sign: append reference to the Page's Annots key
Previously we assumed that the Page object's dictionary has no Annots
key. Now detect if that's not true, and in that case don't just copy of
the whole dictionary (as part of the incremental update), instead copy
it in two steps, so we can insert our reference in the middle.
This is needed (but not enough alone) to be able to sign a PDF document
multiple times.
Change-Id: Ia5bf993320428eef80551e7e9cc7bfb2b858db7f
Reviewed-on: https://gerrit.libreoffice.org/30257
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sfx2/source/inc')
0 files changed, 0 insertions, 0 deletions