简体   繁体   English

如何通过PHP使用服务器端智能卡?

[英]How can I work with my serverside smartcard via PHP?

is it possible to communicate with a serverside smartcard via PHP? 是否可以通过PHP与服务器端智能卡通信?

My intention is to connect the smartcard reader to the server so I can send input to it and receive the result. 我的意图是将智能卡读取器连接到服务器,以便可以向其发送输入并接收结果。 I want to use it to create a custom pos system using "INSIKA" ( http://www.insika.de/ ) 我想用它来创建一个使用“ INSIKA”的自定义pos系统( http://www.insika.de/

Are there any existing libraries I could use? 我可以使用任何现有的库吗? Is there any software I can use via exec() (for example)? 我可以通过exec()使用任何软件吗(例如)?

I could not find many information on this online since most people need to read a smartcard on the users pc - I don't need to do this. 我在网上找不到很多信息,因为大多数人都需要在用户PC上读取智能卡-我不需要这样做。

Thank you! 谢谢! :-) :-)

You need to find the reader in the server as first step to make the whole APDU run, so Query WMI remotely with PHP can be a start. 首先需要在服务器中找到读取器,以使整个APDU运行,因此可以使用PHP远程查询WMI

If you need a source to build your APDU I use this one for C# as a start point and then the INSIKA specifications they send to build all the commands. 如果您需要一个源来构建APDU,我将这个源用于C#作为起点,然后由他们发送INSIKA规范来构建所有命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM