将隐藏(生物识别)数据附加到pdf上的数字签名 [英] Attach hidden (biometric) data to a digital signature on a pdf

查看:148
本文介绍了将隐藏(生物识别)数据附加到pdf上的数字签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有可能使用iText(我用于签名)或Java中的其他工具,在pdf上添加生物识别数据。

I'm wondering if it is possible, using iText (that I used for signing) or other tools in Java, to add biometric data on a pdf.

我会更好地解释一下:在签名牌上签名时,我会收集笔压,签名速度等签名信息。我想用pdf上的签名存储这些信息(java中的变量)togheter。显然是隐藏和加密的,例如签名信息。

I'll explain better: while signing on a sign tablet, I collect signature information like pen pressure, signing speed and so on. I'd like to store those informations (variables in java) togheter with the signature on the pdf. Obviously hidden and encrypted such as the signatures info.

pdf上是否存在某种隐藏数据字段或可能包含此类信息的内容?我认为将它存储在诸如作者等的元数据字段中是不合适的。

Is there some kind of hidden data field on a pdf or something that can contain this kind of information? I think it is inappropriate to store it in the metadata fields such as author etc.

推荐答案

有不同的方法来添加信息PDF文档。

There are different ways to add info to a PDF document.

您可以在文档级附件中添加数据。这样,人们就可以通过打开附件面板来检查数据。

You could add the data in a document-level attachment. That way, people can inspect the data by opening the attachment panel.

将其存储为元数据也很好,但是您对于存储该信息是不恰当的在作者密钥之类的东西。

Storing it as metadata is fine too, but you're right about it being inappropriate to store that info in something like the author key.

如您所知,PDF 2.0中将弃用 / Info 字典支持使用XMP元数据流。在此元数据流中,您可以添加自定义XML数据(请参阅XMP规范的第2.2.1节 - 第3部分)。

As you may know, the /Info dictionary will be deprecated in PDF 2.0 in favor of using an XMP metadata stream. In this metadata stream, you can add custom XML data (see section 2.2.1 of the XMP specification - Part 3).

如果您不想混合使用使用文档元数据生物识别数据,您甚至可以为任何想要的字典定义XMP流,可能包括签名字典。见ISO-32000-1的第14.3.2节。

If you don't want to mix your biometric data with the document metadata, you can even define an XMP stream for any dictionary you want, probably including the signature dictionary. See section 14.3.2 of ISO-32000-1.

PS 1:我不知道是谁贬低了你的问题。我赞成它,所以你回到0。

PS 1: I don't know who downvoted your question. I upvoted it, so you're back at 0.

PS 2:如果你想创建未来的证明签名,请阅读 http://itextpdf.com/book/digitalsignatures

PS 2: If you want to create future proof signatures, read http://itextpdf.com/book/digitalsignatures

PS 3:使用4年前的iText版本通常不具备面向未来的版本。

PS 3: Signatures created with the 4-year-old version of iText usually aren't future-proof.

这篇关于将隐藏(生物识别)数据附加到pdf上的数字签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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