BOOK : Smart Card App. Dev. Using Java /Password problem with IBM test card
Hello,
I have got a Java Card from the Book, 'Smart Card Application Development Using Java'.
But when I run a java program which was an simple example given inside the book, a dialog was displayed and prompted me to enter 'CHV 1'.
I enter the password "password" as describe in the book but it seems that this is not correct.
I get the following error:
opencard.core.service.CardServiceInabilityException: CHV 1 blocked
at com.ibm.opencard.access.MFC35CHVProvider.performCHV(MFC35CHVProvider.java:146)
at com.ibm.opencard.access.MFCCardAccessor.retryWithCHV(MFCCardAccessor.java:305)
at com.ibm.opencard.access.MFCCardAccessor.execCommand(MFCCardAccessor.java:266)
at com.ibm.opencard.access.MFCCardAccessor.executeCommand(MFCCardAccessor.java:200)
at com.ibm.opencard.service.MFCCardChannel.executeCommand(MFCCardChannel.java:249)
at com.ibm.opencard.service.MFCCardChannel.executeCommand(MFCCardChannel.java:312)
at com.ibm.opencard.isofs.MFC35FileAccessImpl.readBinaryBytes(MFC35FileAccessImpl.java:141)
at com.ibm.opencard.isofs.MFC35FileAccessImpl.readBinary(MFC35FileAccessImpl.java:467)
at com.ibm.opencard.isofs.MFCFileAccess.read(MFCFileAccess.java:309)
at samples.readfile.ReadFile.main(ReadFile.java:34)
I suppose that a lot of people plaing with java card have this book and can help me.
Are you aware about this problem?
What password can I use to be able to read the file C009?
Thanks in advance for your answers.
Alain

