有没有办法获得具有itext资源的源代码 [英] Is there any way to get source code with resource of itext in action

查看:237
本文介绍了有没有办法获得具有itext资源的源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是数字签名的新手。

我想创建一个示例。

经过大量研究后我找到了这段代码:

I'm new to digital signature.
I want to create an example.
After lots of research I found this code:

iText part3 / chapter12 Signatures.java

但由于我缺乏知识,我无法弄清楚并制作自己的资源。

有没有办法找到定义的资源这段代码。

But due to my lack of knowledge, I can't figure out and make my own resource.
Is there any way to find resources which define in this code.

所以我可以直接执行它并检查结果并理解它吗?

So I can directly execute it and examine the result and understand it?

推荐答案

如果你去学习页面.com /rel =nofollow>官方iText网站,你会找到一个免费电子书的链接,名为 PDF文档的数字签名

If you go to the "learn" page on the official iText site, you will find a link to a free ebook entitled Digital Signatures for PDF Documents.

本书中提到的所有示例都可以在 SourceForge 。大多数这些示例(并非所有示例,由于不同编程语言固有的差异)都移植到C#并发布在 SourceForge

All the examples that are mentioned in this book are available on SourceForge. Most of these examples (not all of them, due to differences inherent to the different programming languages) are ported to C# and also published on SourceForge.

至于来自 iText in Action的第12章 - 第二版。您仍然可以在书籍页面上找到它们,但它们已根据最新的数字规范进行了调整签名。 iText in Action书籍已有5年多的历史了。不再支持使用原始示例创建的数字签名。它们不符合PAdES标准,它们将在PDF 2.0中弃用。

As for the examples from Chapter 12 of iText in Action - Second Edition. You can still find them on the book page, but they have been adapted to the most recent specifications with respect to digital signatures. The iText in Action books are more than 5 years old. The digital signatures created using the original examples are no longer supported. They aren't compliant with the PAdES standard and they will be deprecated in PDF 2.0.

我正在担任负责ISO-32000的ISO委员会的一个小组委员会2(又名PDF 2.0,2016年到期)。昨天,我们最终确定了有关数字签名的部分。我可以确认不推荐使用PKCS#1签名和子过滤器 adbe.x509.rsa_sha1 adbe.pkcs7.sha1 (如:你不应再使用它们)。

I am chairing a sub-committee of the ISO committee responsible for ISO-32000-2 (aka PDF 2.0, due in 2016). Yesterday, we finalized the section regarding digital signatures. I can confirm that PKCS#1 signatures and the subfilters adbe.x509.rsa_sha1 and adbe.pkcs7.sha1 are deprecated (as in: you should no longer use them).

这篇关于有没有办法获得具有itext资源的源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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