diff options
author | Masamichi Hosoda <trueroad@trueroad.jp> | 2019-09-27 14:00:30 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-10-22 22:16:16 +0200 |
commit | 06b818dcd39b5aeaeeee5c247483633a02a0222e (patch) | |
tree | d8547c0a002738368913b24685ffdb24b077ee3f /libtests/random.cc | |
parent | 5e0ba126871c57a8a688b36614f2b8d78c2675b3 (diff) | |
download | qpdf-06b818dcd39b5aeaeeee5c247483633a02a0222e.tar.zst |
Exclude signature dictionary from compressible objects
It seems better not to compress signature dictionaries. Various PDF
digital signing tools, including Adobe Acrobat Reader DC, do not
compress signature dictionaries.
Table 8.93 "Entries in a signature dictionary" in PDF 1.5 reference
describes that /ByteRange in the signature dictionary shall be used to
describe a digest that does not include the signature value
(/Contents) itself.
The byte ranges cannot be determined if the dictionary is compressed.
Diffstat (limited to 'libtests/random.cc')
0 files changed, 0 insertions, 0 deletions