OK. The GemXpresso doesn't possess "file system card", in all ways some
class that emulates its behavior should exist.
In all ways, if you possess an example of how I would like to see it.
New question
Another card that I am proving is the MPCOS-EMV
When trying to read the "CardFilerd Boot" the following error message
appears:
new CardFileISO error (67 00): Incorrect Range or address range error.
The code in question is the following one
FileAccessCardService facs = null;
try { facs = (FileAccessCardService)
sc.getCardService(AbstractFileAccessCardService.class, true);
System.out.println(" root : "+facs.getRoot().toString()+"");
System.out.println("");
} catch(ClassNotFoundException CNFE)
{ System.out.println("ClassNotFoundException in :
"+CNFE.getMessage());
}
catch(CardServiceException CSE)
{ System.out.println("CardServiceException in
sc.getCardService");
}
if(facs != null)
{ try { CardFile root = new CardFile(facs);
System.out.println("CardFile root Name : "+root.getName());
System.out.println(" size : "+root.getLength()+"");
System.out.println(" isDirectory :
"+root.isDirectory()+"");
System.out.println(" isDirectory : "+root.isFile()+"");
} catch(FileNotFoundException FNFE)
{ System.out.println("FileNotFoundException in new
CardFile"+FNFE.getMessage());
}
catch(OpenCardException OCE)
{ System.out.println("OpenCardException in new
CardFile"+OCE.getMessage());
}
catch(NullPointerException NPE)
{ System.out.println("NullPointerException in facs =
null"+NPE.getMessage());
}
}
I will thank your comments.
Greets them sincerely..
Eduardo Oscar Frigerio.
[EMAIL PROTECTED]
----- Original Message -----
From: Christophe FOESSER <[EMAIL PROTECTED]>
To: Eduardo Oscar Frigerio <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, February 26, 2001 7:30 AM
Subject: RE: [OCF] GemXpresso and CardService
> Hi,
>
> The GemXpresso card family are Java Cards, object oriented, and doesn't
implements any file system after gemplus personalization. That's why you
cannot read or write files if you didn't create a file system with an applet
or a shared library. In Sun Javacard 2.0, an implementation was specified
but removed in Javacard 2.1. No file system is default implemented because:
> - it will no satisfy all users specifications and implementation details
> - to keep all the eeprom available for users that didn't need file system
or that try to create an object oriented application.
>
> We can see that a lot of people are using file systems because of native
cards, GSM, and old project porting, but for new applications on Java Cards,
manipulating objects in an applet is more powerfull then reading a file
system ;).
>
> The problem of writing CardServices for JavaCards (Signature, key store,
etc...) is that OCF specifications contains a lot of references to the file
system. It's dificult to implements file system oriented interfaces when you
have NO file system...
>
> Regards,
>
> Christophe.
>
> >-----Original Message-----
> >From: Eduardo Oscar Frigerio [mailto:[EMAIL PROTECTED]]
> >Sent: Friday, February 23, 2001 3:41 PM
> >To: [EMAIL PROTECTED]; Cedric HUET [GEMPLUS]; Christophe FOESSER
> >[GEMPLUS]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
> >[EMAIL PROTECTED]; [EMAIL PROTECTED]; Philip LEE-SW [GEMPLUS];
> >[EMAIL PROTECTED]
> >Cc: [EMAIL PROTECTED]
> >Subject: RV: [OCF] GemXpresso and CardService
> >
> >
> >Hello everybody, I know that this is not the correct way to
> >make it, but I
> >didn´t receive any answer of OpenCard Groupe so I decide to
> >contact with the
> >people of the "OpenCard Mailing List By Author" who are working for
> >cards-GemXpresso, now I am going to contact with them directly
> >but at the
> >same time I send a copy to [EMAIL PROTECTED]
> >
> >My question is really simple, based on the API of the card
> >GemXpresso Rad
> >211.
> >I need to be able to read and write information in the card. I
> >Attempted to
> >find some class that implements the Interface
> >FileAccessCardService but I
> >didn´t get a good result.
> >
> >Please if some of you possesses something of information in
> >this respect, I
> >will be appreciated give me the information.
> >
> >Thank you very much to pey me attention and respond to me this message.
> >Greets them sincerely..
> >
> >Eduardo Oscar Frigerio.
> >Sofrecom Argentina.
> >Reconquista 609
> >(C1003AMB)
> >Buenos Aires - Argentina.
> >Tel: (54 11) 43 11 43 12
> >Fax: (54 11) 43 11 36 07
> >[EMAIL PROTECTED]
> >www.sofrecom.com.ar
> >
> >----- Original Message -----
> >From: Eduardo Oscar Frigerio <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Cc: <[EMAIL PROTECTED]>
> >Sent: Wednesday, February 21, 2001 10:28 AM
> >Subject: [OCF] GemXpresso and CardService
> >
> >
> >> Hello
> >> My question is simple quite, based on the API of the card
> >GemXpresso Rad
> >> 211.
> >> Which are the differents class's that implement the
> >following interfaces?
> >>
> >> FileAccessCardService: for handling of the class
> >> opencard.opt.iso.fs.CardFile
> >> SignatureCardService: for the handling of digital signature.
> >> AppletAccessCardService: for the handling Applet;
> >> AppletManagerCardService:
> >>
> >> There is any possibility that you send an example of how can
> >I use the
> >> differents
> >> class or the necesary documentation of this class, because I
> >need to know
> >> how it
> >> work, because I didn´t found any reference about this interfaces.
> >>
> >> Greets them sincerely..
> >>
> >> Eduardo Oscar Frigerio.
> >> Sofrecom Argentina.
> >> Reconquista 609
> >> (C1003AMB)
> >> Buenos Aires - Argentina.
> >> Tel: (54 11) 43 11 43 12
> >> Fax: (54 11) 43 11 36 07
> >> [EMAIL PROTECTED]
> >> www.sofrecom.com.ar
> >>
> >>
> >>
> >>
> >> ---
> >> > 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.
> >
> >
>
>
>
>
>
> ---
> > 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.
>
>
---
> 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.