代码之家  ›  专栏  ›  技术社区  ›  David L

为什么这两个itext 7签名和验证文档中的一个在Adobe DC reader中无效?

  •  3
  • David L  · 技术社区  · 7 年前

    好的一面是: https://1drv.ms/b/s!AkF6t4TavwMvgxWaidlUqvPvHH1r

    https://1drv.ms/b/s!AkF6t4TavwMvgxQCMdGY61S1EvUh

    当做

    2 回复  |  直到 7 年前
        1
  •  8
  •   Michaël Demey    7 年前

    这不是Adobe的bug,这是一个功能。(还有一个iText bug)

    首先,在非附加模式下使用iText修改文档: document properties

    […]对于从未增量更新的文件,交互参考部分应仅包含一个子部分,其对象编号从0开始。[…]

    在下面,您可以找到第一个版本的外部参照,在iText用于非附加模式后,每个彩色矩形都是一个新的子部分。要兼容,应该只有一个矩形。 XREF table

        2
  •  2
  •   mkl    7 年前

    由于多个其他工具验证这两个文档没有任何问题……我们可能认为这是adobe reader的错误。

    尤其是当Adobe Acrobat本身被撕裂时:

    Both "Some of the changes that have been made to this document since this signature was applied are not permitted by the document author." and "There have been no changes made to this document since this signature was applied." on the same dialog page