Signing using iText, Adobe Reader reports “Signature was created using Not available.”

点点圈 提交于 2019-12-06 12:12:21

You can specify the signature creator using the SignatureAppearance.setSignatureCreator(String signatureCreator) method. You can get the SignatureAppearanceof the signature by using signatureAppearance = pdfSigner.getSignatureAppearance(), with pdfSigner the PdfSignerobject used to create the signature in question.

Just for reference (and for people using different libraries like PdfBox or older *Text versions). Adobe is using the Prop_Build dictionary for this. The App dictionary defines the following two attributes, which are concatenated:

  • Name (e.g. "Adobe Acrobat Reader DC")
  • REx(e.g. "2017.009.20044")

More infos about the "Digital Signature Build Dictionary Specification" are strangely defined in a separate document.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!