[Pcsclite-muscle] IFD polling

William Roberts bill.c.roberts
Wed Feb 25 07:59:55 PST 2015


On Wed, Feb 25, 2015 at 7:54 AM, Ludovic Rousseau <
ludovic.rousseau at gmail.com> wrote:

> 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.
>

Yes, I am asking, does such a solution exist, I guess not. I am not
trying to solve writing IFD in Java, I am trying to solve my BT problem
and I have Java BT code that works. I described the problem below
in "My initial reason..."


>
> > 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?
>

Because I need an IFD, im not trying to talk to the smart card, opensc
already
has a card driver for the applet. I have a smart card that communicates
over a custom
Bluetooth protocol. I need to hook it into an IFD so things like OpenSC and
tools can use it. I already wrote the IFD for Windoze as a usermode driver.



>
> Bye
>
> --
>  Dr. Ludovic Rousseau
>
> _______________________________________________
> Pcsclite-muscle mailing list
> Pcsclite-muscle at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
>



-- 
Respectfully,

William C Roberts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20150225/6c92991f/attachment.html>



More information about the pcsclite-muscle mailing list