javascript数字签名 [英] javascript Digital signature

查看:203
本文介绍了javascript数字签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个HTML输入< form>有几个输入字段.
当用户在输入字段中输入适当的数据并单击提交"时,输入字段数据必须使用安装在其Internet Explorer中的其中一个数字证书进行数字签名.
必须通过JavaScript/JScript(如果可能)通过从标准MS Windows安装中调用标准函数来完成签名(如果可能,则不使用其他ActiveX).
带有他/她的公共密钥的用户证书必须包含在签名中,所有内容均以base64编码.

CAPICOM可能不被使用,因为它已被Microsoft弃用(最新版本为1997年).

可能的话,再次通过标准Windows DLL验证数字签名的最佳方法是从命令提示符处调用?

Hi,
I have an HTML input <form> with several input fields.
When the user enters appropriate data in the input fields, and clicks "Submit", the input field data must be digitally signed with one of his digital certificates, installed in his Internet Explorer.
The signing must be done from JavaScript/JScript (if possible), by calling standard functions from the standard MS Windows installation (no additional ActiveX, if possible).
The user certificate with his/her Public key must be included in the signature, everything base64 encoded.

CAPICOM may not be used, as it is deprecated by Microsoft (latest version back in 1997).

And if possible, the best way to verify the digital signature, again by standard Windows DLL(s), called, maybe, from command prompt?

推荐答案

为什么可以?您不使用TLS(以前称为SSL)吗?
Why can''t you use TLS (formerly SSL)?


我使用它.服务器证书,PKI-用户身份验证证书,用户CRL等,但是对显式数字签名有新的要求.这让我感到困惑,但是事情很复杂,客户希望以表格的形式对数据进行显式数字签名". :-)
我试图劝阻他,但徒劳无功.此外,我和客户之间的沟通路径有些复杂,可惜,似乎没有什么可做的:-(
I use it. Server certificate, PKI - User authentication certificate, user CRLs etc., but there is a new requirement for explicit digital signature. It bewilders me, but things are complicated and the client wants "explicit digital signature" of the data in the form. :-)
I tried to dissuade him, but in vain. Besides, the communication path between me and the customer is somewhat complex, alas, and it seems there is nothing to be done :-(


这篇关于javascript数字签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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