A VC++ program sends APDU to JCOP card through Pegoda Reader?

How to develop a VC++ program to send APDU commands to the JCOP card in NFC Phone through Pegoda Reader?

Does the Pegoda Reader Toolkit CD have sample programs, documents, or APIs? Where could we find the resources?

I know I can do it using Eclipse with JCOP plugin toolkit.

But I need to load keys to JCOP Applet through APDU.

Great Thanks両

[373 byte] By [trylansa] at [2007-11-26 16:10:18]
# 1

The NFC forum defines an API, which includes the communication with the second smart card in the phone. You can communicate with the smart card with any interface it supports. It does not make a difference on the application layer.

JCOP Tools sends APDUs to the Applet as well. It is a convenient way to develop and test smart card applications.The mass of specifications needs too much time for an untrained developer to understand just the basics. If you have no experience with smart cards, use JCOP Tools.

lexdabeara at 2007-7-8 22:32:43 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2

Thanks for your kindly response!

I have developed a working applet in Nokia 3220 with JCOP tools.

But I need to implement a key management system to load key. Key may come from HSM or key card. My VC++ program needs to load the key from HSM and send it securely to NFC phone using Pegoda reader.

This is the process to personalize the NFC Phone. In addition, download the key using OTA (server -> Internet -> MIDlet -> Applet) cost much. Load the key using JCOP tool is not secure.

trylansa at 2007-7-8 22:32:43 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 3

> This is the process to personalize the NFC Phone. In

> addition, download the key using OTA (server ->

> Internet -> MIDlet -> Applet) cost much. Load the

> key using JCOP tool is not secure.

I doubt your last statement. In a GlobalPlatform security architecture you can control the security level. With the highest security level (3) you encrypt the key + APDU data + MAC. Different DES keys are used. So you double encrypt the key.

The last description is if you hand the security over to the CardManager. You can implement any security you want in an Applet.

If you want to use C++, you need to use the PC/SC interface for Windows or ?pcsclite? for Linux.

lexdabeara at 2007-7-8 22:32:43 > top of Java-index,Java Mobility Forums,Consumer and Commerce...