使用Acrobat Reader签名后,以程序方式签名的PDF文档未获得绿色的选中标记 [英] Programmatically signed PDF document does not get the green checkmark after being signed using Acrobat Reader

查看:130
本文介绍了使用Acrobat Reader签名后,以程序方式签名的PDF文档未获得绿色的选中标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经编写了一个签名PDF文档的应用程序,现在我可以签名任何未签名的PDF文档,并且Adobe Reader会显示绿色的选中标记.此外,我可以使用多个签名对文件签名,结果还可以.

I have written an application to sign PDF documents and now I am able to sign any non-signed PDF document, and Adobe Reader shows the green checkmark. Moreover I can sign a file with multiple signatures and the results are ok.

但是,如果我尝试使用Adobe Reader对该文档进行签名,则当我再次对其进行签名时,结果是最后一个签名之前的任何签名都不会获得绿色的选中标记,因为Acrobat认为该文档已更改.然后,如果我再次使用Adobe Reader和我的应用程序对文档进行签名,则下一个签名将再次获得绿色标记.该问题与第一个Adobe签名一起出现,但我不知道原因.

But if I try to sign the document using Adobe Reader, when I sign it again, the result is that any signature prior to the last one does not get the green checkmark because Acrobat thinks that the document has changed. Then, if I sign the document again using Adobe Reader and my application, the next signatures get the green marks again. The problem appears with the first adobe signature, but I cannot get the reason.

工作流程:

  1. 带有Acrobat的签名1 =>好的
  2. 使用我的应用签名2 =>以前的签名无效,但这没关系
  3. 带有Acrobat的签名3 =>签名1无效,但2和3都可以
  4. 使用我的应用签名4 =>签名1无效,但是2,3和4可以

能否请您帮助我确定并纠正问题?

Could you please help me to identify and correct the problem?

谢谢.

文件:

  • the original file
  • the file signed by me (it gets the green checkmark)
  • the file signed by acrobat (it is correct).
  • the file signed by acrobat again (it is correct)
  • the file signed by acrobat an me (fails to get the green check mark for the adobe's signed part)

推荐答案

您更改 AcroForm 词典 DA 默认外观条目.

You change the AcroForm dictionary DA default appearance entry.

在Adobe签名的文档中, AcroForm 词典如下所示:

In the document signed by Adobe the AcroForm dictionary looks like this:

<</DA(/Helv 0 Tf 0 g )/DR<</Encoding<</PDFDocEncoding 8 0 R>>/Font<</Helv 6 0 R/MyriadPro-Regular 27 0 R/ZaDb 7 0 R>>>>/Fields[26 0 R]/SigFlags 3>>

在您签署该文档后,它便变成了这样:

After you signed that document it becomes this:

<</DA(/Helv 0 Tf 0 g)/DR<</Encoding<</PDFDocEncoding 8 0 R>>/Font<</Helv 6 0 R/MyriadPro-Regular 27 0 R/ZaDb 7 0 R>>>>/Fields[26 0 R 35 0 R]/SigFlags 3>>

即您删除了 DA 条目中的尾随空格字符.

I.e. you removed the trailing space character in the DA entry.

这篇关于使用Acrobat Reader签名后,以程序方式签名的PDF文档未获得绿色的选中标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆