iText Community 5.4.2 是否支持创建数字签名'PAdES'

Does iText Community 5.4.2 support creating Digital Signature 'PAdES'

'iText' 社区版本 5.4.2 是否支持为 PDF 文件创建 'PAdES' 数字签名标准?

非常感谢您提前 最好的祝福 皮拉彭 S。 泰国曼谷

您可能需要阅读白皮书 Digital Signatures for PDF documents by Bruno Lowagie(iText 软件)。它是 2013 年的,所以一些细节可能已经过时了,但它仍然是对 iText 5 签名的一个很好的介绍 API 并且在一般的 PDF 签名的背景下读起来很有趣。

关于你的问题特别说明:

PAdES is a set of restrictions and extensions to PDF and ISO-32000-1 making it suitable for advanced electronic signatures. It’s described in TS 102 778 (ETSI, 2009), and it will be implemented in ISO-32000-2. PAdES consists of six parts:

  • Part 1—the first part is an overview of support for signatures in PDF documents, and it lists the features of the PDF profiles in the other documents.

  • Part 2—PAdES Basic is based on ISO-32000-1. If you want to know more about digital signatures in PDF, you should read this specification before starting to dig into the PDF reference. PAdES part 2 is supported in iText since version 5.0.0.

  • Part 3—PAdES Enhanced describes profiles that are based on CAdES: PAdES Basic Electronic Signature (BES) and Explicit Policy Electronic Signature (EPES). PAdES part 3 is supported in iText since version 5.3.0.

  • Part 4—PAdES Long-Term Validation (LTV) is about protecting data beyond the expiry of the user’s signing certificate. This mechanism requires a Document Security Store (DSS). PAdES part 4 is supported in iText since version 5.1.3.

  • Part 5—PAdES for XML content describes profiles for XAdES signatures. For instance, after filling an XFA form, which is XML content embedded in a PDF file, a user may sign selected parts of the form. This isn’t supported in iText yet.

  • Part 6—Visual representations of Electronic Signatures. This is supported in iText, but it also depends on other factors. For instance: does your certificate contain sufficient information?

如前所述,该文档来自 2013 年,因此,参考的是早期的 ETSI TS on PAdES 而不是较新的 ETSI EN 文档。不过,较新的 EN 所需的更改已在当前的 iText 5 版本中实现,因此基本上声明仍然有效。

PS: 白皮书示例代码在线版不断更新中。因此,如果您想尝试这些示例,请务必查找 the updated code.