If you have a look at the code I contributed ages ago (and since have
not maintained due to lack of time): That code uses embedded TCL to
provide exactly that intermediate layer of abstraction you want. You
can find the code at:
http://www.linuxnet.com/smartcard/drivers/readers/files/wjglatest.tar.gz
It does not use the current PCSC infrastructure, but adapting it
should be fairly straightforward and easy.
If you have questions regarding the code feel free to mail me and I'll
try to do my best to answer.
Cheers,
Wolf
wolf - at - comunicon - dot - ch
Jon Barber wrote:
>
> zhuangyy wrote:
> >
> > Hello Muscle,
> >
> > I am going to develop a smartcard tool under linux and windows which
> > can support script personalization. since the tool will be open
> > source, so can any one suggest me a open source, powerful and flexible
> > script engine available for use.
> >
> > Best regards,
> > zhuang yuyao mailto:[EMAIL PROTECTED]
> >
> > ***************************************************************
> > Linux Smart Card Developers - M.U.S.C.L.E.
> > (Movement for the Use of Smart Cards in a Linux Environment)
> > http://www.linuxnet.com/smartcard/index.html
> > ***************************************************************
>
> I'd recommend embedding Python (http://www.python.org). I've used the JPython
> interpreter embedded in various things, and I understand the CPython engine is
> easy to embedd as well.
>
> The Python slice facility makes processing APDUs very easy indeed.
>
> Jon.
> ***************************************************************
> Linux Smart Card Developers - M.U.S.C.L.E.
> (Movement for the Use of Smart Cards in a Linux Environment)
> http://www.linuxnet.com/smartcard/index.html
> ***************************************************************
***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************