[Pcsclite-muscle] IFD polling

Ludovic Rousseau ludovic.rousseau
Wed Feb 25 07:54:29 PST 2015


2015-02-25 16:42 GMT+01:00 William Roberts <bill.c.roberts at gmail.com>:
>
>
> On Wed, Feb 25, 2015 at 7:28 AM, Ludovic Rousseau
> <ludovic.rousseau at gmail.com> wrote:
>>
>> 2015-02-25 12:16 GMT+01:00 William Roberts <bill.c.roberts at gmail.com>:
>> > That's from the client application side. I was looking for a java
>> > binding to
>> > the ifd interface.
>>
>> Why do you want to call the IFD handler directly from Java?
>> Why not use the PC/SC interface?
>
>
> I am not explaining this properly :-P

No. You are not :-)

> So I want, which I highly doubt exists, is a shared library that implements
> the IFD interface in C/C++, that can load up a JAR file and execute it in
> the JVM.

What you describe is a solution, not the problem you want to solve.

> This is all possible with Java Native Interface or Python if your so
> inclined. PAM has wrappers (jPAM and pam-python) that bridge their
> native interface into java, this way, folks can write pam modules using the
> niceness of these languages.
>
> My initial reason for even wanting to do this (believe me, I am a C
> aficionado) is that I was having issues setting up my record for Bluetooth
> SDP
> using the native APIs and it just worked in Java. However, I think I found
> why my SDP record was invalid causing clients not to be able to
> connect, ill test this later this week when I get back to it.
>
> In the off chance I still cant get it to work, I could probably author a JNI
> bridge in a day or two that at least has enough functionality.

Why not use the Java wrapper for PC/SC if you want to access a smart
card in Java?

Bye

-- 
 Dr. Ludovic Rousseau




More information about the pcsclite-muscle mailing list