smartcard

where do I buy low quantities of smart cards?

I need to buy a few smart cards (under 5) for some development work. I've got readers and I'd prefer not to buy one of the expensive SDK's offered by several companies. I'm hoping to get some help from you folks on a few questions Background: for the card I need to do public/private key encryption. I'd like for the card to hold the p...

Select EF on a smart card via its SFI

Some smart cards offer the option to reference a file by an SFI (short file identifier), which is a 5-bit number. In contrast, a typical file identifier is 2 bytes long. I need some assistance with figuring out how to do that, because I failed to find an answer inside ISO 7816-4. First of all, section 5.3.1.1 states (emphasis mine) ...

What's the difference between CAC cards and a 'generic' smart card?

We're trying to enable our rich client C++ Windows application to utilise DoD CAC cards. We're using a third party library to secure our client/server communication using SSL, and it recognises/handles generic smart cards, but only if the certificate was created by its own, bundled application. Why? Isn't a certificate a certificate? H...

Reading data from a Smart Card (preferably with Java)

I would like to be able to read a few bytes of unencrypted data which is stored in a smart card. I have the reader and know that the Sun version of Java 6 includes javax.smartcardio and I have read a bit about these APIs. Having never worked with smart cards before I wonder if there is a simple way to read bytes of date in a given secto...

PKCS11 driver for CAC card/ card reader

I have a doubt regarding how to get the pkcs11 driver for interacting with CAC cards .As far as I understood the card reader should provide the driver. I just checked the SCR331 card reader abd they do not seem to have a pkcs11 driver. However the US DoD contracted ActivClient seems to have one which works with the SCR331. Also I got to ...

Get access to specific ADPU functions from cryptoApi or CAPICOM using 3rd party CSP

I have tried for the last 2 months without success and I think it's time I ask here. I have a smart card and got a CSP from my client. I have documents that describe APDU commands that I can (and know how to) run. I need to save small files (data) to the card like name, address, photo etc. And later on save certificates. In the docume...

ASP.NET MVC 2 and request client certificate (Smart Card authentication)

I need to capture user's X.509 certificates from their cards and map to a user table for forms authentication in ASP.NET MVC. I have created an MVC (ver 2) project in VS 2008, configured to run as a virtual directory under the Default Web Site in the local IIS on Vista using the default template but added RequireHttpsAttribute to the Ac...

List processes that use the smart card readers

I'm writing a Windows service that must handle Smart card readers. Very often, when I try to connect to an inserted Smart card, SCardConnect() fails with SCARD_E_SHARING_VIOLATION which basically means: The smart card cannot be accessed because of other outstanding connections. Fair enough. I guess that a least one other process ...

Hang With ScardConnectA on Win 7 64bit

Hi There, I am updating a smart card application (.net 2 using winscard.dll) to run on Windows 7. Only minor changes are required for 32bit. Under 64bit there appears to be a hang calling SCardConnectA - it sits and does not return. Stopping the smart card service/removing the card allows the application to complete. The .net app uses ...