Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

can't communicate with smartcard

843851Aug 25 2003 — edited Sep 13 2006
Hi ,

I am a beginner in smartcard application development.I want to develop an application which gets plaintext, sends it to smartcard where RSA Key or DES key resides,should give the cipher text encrypted using key in card as output.
I use a SCM MIcrosystems USB Smartcard reader & GemplusXpresso pro card.
I installed OCF,PC/SC driver for SCM Reader but couldn't get Card service jar for Xpresso card from Gemplus site.

When i write a program to send APDU's to card ,when i run it says follwing error-

java.lang.NullPointerException
at opencard.core.service.CardService.assertSchedulerStillAlive(CardService.java:379)
at opencard.core.service.CardService.allocateCardChannel(CardService.java:321)
at CardProg.doSend(CardPro.java:63)
at CardPro.main(CardPro.java:95)


& program get's halted at the function allocatecardchannel().I can get ATR from the card correctly,but not more than that

i don't know where is the problem,how should i trace it.please help me in sorting out that soon

With Thanks & Regards
Deepak

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 11 2006
Added on Aug 25 2003
6 comments
180 views