Hello,
Henrik Hartz wrote:
>
> I need to implement FileAccessCardService in my application, but I do
> not know which service to use in opencard.properties. My error looks
> like this:
>
> java.lang.ClassNotFoundException:
> CardService implementing interface
> opencard.opt.iso.fs.FileAccessCardService
> [...]
> In Opencard.properties, the services are configured this way:
> OpenCard.services = \
> com.ibm.opencard.factory.MFCCardServiceFactory \
> opencard.opt.util.PassThruCardServiceFactory \
>
In fact, PassThruCardService does *not* implement this interface,
whereas the MFC CardServices do implement it. *But* you also need to
insert an MFC card in the reader for OCF to be happy. Otherwise,
if you are using an other type of card, you have to write a
CardService that implements FileAccessCardService and a factory
that recognize your card, e.g., by analyzing the ATR, see the
source of MFCCardServiceFactory or read the OCF 1.2 Programmer's
Guide: http://www.opencard.org/docs/pguide/PGuide.html for more
details.
Hope it'll help.
Cheers,
Christophe.
= ERROR: No CPU Detected. Emulating... --Win2K =
--
-------------------------------------------------------------
[EMAIL PROTECTED] - Gemplus Research Lab
Phone: +33 4-42-36-57-83 | Disclaimer: I don't speak for Gemplus
Gemplus doesn't speak for me... it is better that way!
-------------------------------------------------------------
---
> 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.