EDA的智能卡应用 [英] Smart Card Application for an EDA

查看:113
本文介绍了EDA的智能卡应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好Orouit,
我正在研究为Motorola的Enterprise Digital Assistant构建智能卡应用程序的基础知识.
我是智能卡开发的新手,需要从哪里开始和学习什么方面的一些指导.我将向您简要介绍一下环境-我正在使用Windows XP和VS2008来开发MC75(带有可拆卸指纹扫描仪和智能卡读卡器的Windows Mobile 6.1)的设备应用程序.摩托罗拉SDK可用于指纹扫描仪,但不支持智能卡.一位朋友告诉我,对于智能卡,我们需要使用Windows SDK或API.我已经设法获得Windows驱动程序工具包,但是除了访问设备的简单示例外,我什么都可以找到.
我想知道你怎么能帮忙.我也在博客上发布了类似的请求.
问候,
karan.

Hello Orouit,
I am working on the basics of building a smart card application for an Enterprise Digital Assistant from Motorola.
I am new to smart card development and need some guidance from where to begin and what to study. I''ll brief you about the environment - I am using windows xp along with VS2008 to develop device applications for MC75 (Windows Mobile 6.1 with a detachable finger print scanner and a smart card reader). The motorola SDK works fine for finger print scanner but has no support smart card. I was instead told by a friend that for smart card we need to use a windows SDK or API. I have managed to get windows driver kit but i could find everything but a simple sample to access the device.
I was wondering how could you help. I have posted a similar request on the blog aswell.
Regards,
karan.

推荐答案

基本上有2种智能卡开发方法,即pkcs11(和pkcs15)和ms加密服务提供商.
Windows的大多数提供程序都提供这两种功能,例如Aladdin智能卡.但是,提供Windows驱动程序,关闭设备驱动程序而不提供CSP或PKCS11 dll的趋势令人讨厌.
除了Soapbox,默认情况下,如果您在C#中使用加密工具,则只需选择正确的提供程序或证书,即可通过CSP使窗口与智能卡进行交互.

使用PKCS11更为手动,您将不得不使用pinvoke,而且我不知道如何处理未知的dll.

如果您有可以使用的智能卡,请尝试在此处创建示例,以了解正当工作"的含义
如何:使用数字签名对XML文档进行签名

这也有帮助

使用X.509证书加密XML元素

由于自签名证书是邪恶的,因此您可以在http://www.startssl.com
There are basically 2 approaches to smartcard development, pkcs11 (and pkcs15) and the ms crypto service provider.

Most providers for windows provide both, like the Aladdin Smart Cards. However, there is a nasty underhanded trend to provide drivers for windows, to make your device drivers shutup, but not provide the CSP or PKCS11 dlls.

Soapbox aside, by default if you are using the crypto tools in say C#, simply choosing the proper provider or certificate will cause windows to interact with the smartcard for you thru the CSP.

Using PKCS11 is much more manual, and you would have to use pinvoke, and I have no idea how you would do that with unknown dlls.

If you have a working smartcard to play with try the example here to create see what I mean about things "just working"
How to: Sign XML Documents with Digital Signatures

This will help too

Encrypt XML Elements with X.509 certificates

As self-signed certs are evil, you can get free certs at http://www.startssl.com


这篇关于EDA的智能卡应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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