Hello,
i have some problems using the ocf 1.2 in applets.
i have packed all needed classes (all ocf classes too) in a package wich =
is signed with an test certificate
in the init method of my applet i get system access via
>> opencard.core.util.SystemAccess sys
>>new opencard.opt.ms.MicrosoftSystemAccess();
>>opencard.core.util.SystemAccess.setSystemAccess(sys);
i used jdk 1.3 and microsoft ie! as a normal java console application =
works this fine but in my applet :((
this code works....
SmartCard.start ();
CardRequest cr = new CardRequest();
cr.setWaitBehavior(CardRequest.ANYCARD);
SmartCard sc = SmartCard.waitForCard(cr);
PassThruCardService ptcs = (PassThruCardService)
sc.getCardService(PassThruCardService.class, true);
but here i think is the error
ResponseAPDU rsp = ptcs.sendCommandAPDU(new
CommandAPDU(createByteArray(readBinary)));
--> i get this error description (it seems there occurs an error without
exception handling in the ocf core files?)
java.lang.ClassNotFoundException
at com/ibm/opencard/terminal/pcscmig/OCFPCSCM.SCardGetStatusChange
(OCFPCSCM.java)
at com/ibm/opencard/terminal/pcscmig/PcscMigCardTerminal.getTerminalStatus
(PcscMigCardTerminal.java:251)
at com/ibm/opencard/terminal/pcscmig/PcscMigCardTerminal.isCardPresent
(PcscMigCardTerminal.java:217)
at com/ibm/opencard/terminal/pcscmig/PcscMigCardTerminal.poll
(PcscMigCardTerminal.java:501)
at opencard/core/event/EventGenerator.run (EventGenerator.java:198)
at java/lang/Thread.run (Thread.java)
(i use a twitoko chipdrive)
i hope anybody would like to help me... it would be so great
thank you
christof
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.