如何使用javascript从web broswer发送APDU到PCSC阅读器 [英] How to send APDU to PCSC reader from web broswer using javascript

查看:237
本文介绍了如何使用javascript从web broswer发送APDU到PCSC阅读器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题:使用javascript将APDU从网页发送到PCSC阅读器。

Problem: Sending APDUs from webpage to PCSC reader using javascript.

我没有太多的声誉来评论问题所以我在问新问题。

I don't have much reputation to comment on a question so I am asking new question.

我已经尝试/搜索过专家提供的大部分解决方案。

I have tried/searched most of the solutions provided by experts.

cslashm在问题
看起来对我的要求很好。但是,我无法执行此解决方案。

The solution provided by cslashm in question looks good for my requirement. But, I am not able to execute this solution.

请指导我使其工作或提供其他类似解决方案。

Please guide me to make it work or provide some other similar solution.

目前,我成功使用使用带符号的java applet和javascript的Java Applet方法。由于安全问题,大多数浏览器将很快停止支持java插件。所以,我正在寻找与PCSC进行通信的独立于浏览器和标准的方式。

Currently, I am successfully using Java Applet approach which uses signed java applet along with javascript. Support of java plugin will be discontinued soon from most of the browsers due to security issues. So, I am looking for browser independent and standard way to communicate to PCSC.

推荐答案

您可以使用Chrome应用程序来利用 chrome.usb API。

You could use a Chrome App that will take advantage of the chrome.usb API.

这不是网络浏览器解决方案但是您的网页可以通过Ajax与本地Chrome应用程序进行通信。

It's not a web browser solution but your web page could communicate with the local Chrome App via Ajax.

问题是获得Chrome运行时可识别的智能卡读卡器驱动程序。

The problem is to get a Smartcard Reader driver that will be recognized by the Chrome runtime.

这篇关于如何使用javascript从web broswer发送APDU到PCSC阅读器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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