[Smartsign-devel] JC-Emulator
Status: Pre-Alpha
Brought to you by:
kefren
|
From: Tommaso C. <cuc...@ss...> - 2003-08-07 13:03:06
|
Rama Kristipati wrote:
> hello,
>
> Nice to meet you. I want to work on JC-Emulator. Because I have been
> thinking about similar application.
> Similar to JC-Emulator I wrote a virtual pcsc driver which reads an xml
> file for the configuration and
> responds to the APDUs. But if there is some thing else challenging I
> would love to work on it.
I guess the first thing you should do is looking at JC-Emulator as it
is right now. I already know a couple of tasks that need to be done.
This is a short list:
- change behavior of the virtual reader (possibly move it from Java
into the C code) - maybe here your driver can help
. the problem is that the emulator must already be up when you
start PCSC-Lite, so that pcscd can detect a new serial reader.
otherwise, initialization fails, and pcscd discards it forever.
- finish serialization. It seems to have troubles, yet. Of course
the idea is to have multiple image-files, corresponding to multiple
virtual smart-cards that can be inserted/removed from the virtual
reader. This has been done with Java serialization, but needs to be
finished.
- test/debug transactionality of operations
JC transactionality is emulated with the same mechanism. The idea
is to serialize at every command APDU that terminates succesfully,
and to reload the previous image-file if a rollback is needed.
- emulate memory limitations, as it happens onto a real JC device.
The Applet can even allocate 1GB so far, if the host-machine VM
allows it. I have no idea weather JVM has a way to limit the
amount of memory that can be allocated to an Applet, or not.
I'm quite sure you'll find smth. else by trying the emulator.
Bye,
T.
--
,------------------------------------------------.
| Dr. Tommaso Cucinotta <t.c...@ss...> |
>------------------------------------------------<
! Scuola Superiore di Studi Universitari !
! e Perfezionamento S.Anna !
! Pisa Italy !
`------------------------------------------------'
|