<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 25, 2015 at 7:54 AM, Ludovic Rousseau <span dir="ltr"><<a href="mailto:ludovic.rousseau@gmail.com" target="_blank">ludovic.rousseau@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">2015-02-25 16:42 GMT+01:00 William Roberts <<a href="mailto:bill.c.roberts@gmail.com">bill.c.roberts@gmail.com</a>>:<br>
><br>
><br>
> On Wed, Feb 25, 2015 at 7:28 AM, Ludovic Rousseau<br>
> <<a href="mailto:ludovic.rousseau@gmail.com">ludovic.rousseau@gmail.com</a>> wrote:<br>
>><br>
>> 2015-02-25 12:16 GMT+01:00 William Roberts <<a href="mailto:bill.c.roberts@gmail.com">bill.c.roberts@gmail.com</a>>:<br>
>> > That's from the client application side. I was looking for a java<br>
>> > binding to<br>
>> > the ifd interface.<br>
>><br>
>> Why do you want to call the IFD handler directly from Java?<br>
>> Why not use the PC/SC interface?<br>
><br>
><br>
> I am not explaining this properly :-P<br>
<br>
</span>No. You are not :-)<br>
<span class=""><br>
> So I want, which I highly doubt exists, is a shared library that implements<br>
> the IFD interface in C/C++, that can load up a JAR file and execute it in<br>
> the JVM.<br>
<br>
</span>What you describe is a solution, not the problem you want to solve.<br></blockquote><div><br></div><div>Yes, I am asking, does such a solution exist, I guess not. I am not</div><div>trying to solve writing IFD in Java, I am trying to solve my BT problem</div><div>and I have Java BT code that works. I described the problem below</div><div>in "My initial reason..."</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> This is all possible with Java Native Interface or Python if your so<br>
> inclined. PAM has wrappers (jPAM and pam-python) that bridge their<br>
> native interface into java, this way, folks can write pam modules using the<br>
> niceness of these languages.<br>
><br>
> My initial reason for even wanting to do this (believe me, I am a C<br>
> aficionado) is that I was having issues setting up my record for Bluetooth<br>
> SDP<br>
> using the native APIs and it just worked in Java. However, I think I found<br>
> why my SDP record was invalid causing clients not to be able to<br>
> connect, ill test this later this week when I get back to it.<br>
><br>
> In the off chance I still cant get it to work, I could probably author a JNI<br>
> bridge in a day or two that at least has enough functionality.<br>
<br>
</span>Why not use the Java wrapper for PC/SC if you want to access a smart<br>
card in Java?<br></blockquote><div><br></div><div>Because I need an IFD, im not trying to talk to the smart card, opensc already</div><div>has a card driver for the applet. I have a smart card that communicates over a custom</div><div>Bluetooth protocol. I need to hook it into an IFD so things like OpenSC and</div><div>tools can use it. I already wrote the IFD for Windoze as a usermode driver.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
Bye<br>
<br>
--<br>
Dr. Ludovic Rousseau<br>
<br>
_______________________________________________<br>
Pcsclite-muscle mailing list<br>
<a href="mailto:Pcsclite-muscle@lists.alioth.debian.org">Pcsclite-muscle@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Respectfully,<br><br>William C Roberts<br><br></div>
</div></div>