How to send APDU to PCSC reader from web broswer using javascript

拥有回忆 提交于 2019-12-05 06:25:00

问题


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.

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.

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.


回答1:


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

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

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



来源:https://stackoverflow.com/questions/32433488/how-to-send-apdu-to-pcsc-reader-from-web-broswer-using-javascript

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!