<html><head></head><body>You can delegate the calls e.g. by using jni.<br>
<br>
I am using a simple socket based interface for delegating the ifd requests, see <a href="http://frankmorgner.github.io/vsmartcard/virtualsmartcard/README.html">http://frankmorgner.github.io/vsmartcard/virtualsmartcard/README.html</a> VPCD delegates the calls to everything that listens on the other side of the socket. You can find a java implementation of "the other side" in this android app <a href="http://frankmorgner.github.io/vsmartcard/remote-reader/README.html">http://frankmorgner.github.io/vsmartcard/remote-reader/README.html</a><br><br><div class="gmail_quote">Am 25. Februar 2015 17:01:19 MEZ, schrieb Jeffrey Hutzelman <jhutz@cmu.edu>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On Wed, 2015-02-25 at 07:42 -0800, William Roberts wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> On Wed, Feb 25, 2015 at 7:28 AM, Ludovic Rousseau <<br /> ludovic.rousseau@gmail.com> wrote:<br /> <br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> 2015-02-25 12:16 GMT+01:00 William Roberts <bill.c.roberts@gmail.com>:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"> That's from the client application side. I was looking for a java<br /></blockquote> binding to<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"> the ifd interface.<br /></blockquote><br /> Why do you want to call the IFD handler directly from Java?<br /> Why not use the PC/SC
interface?</blockquote><br /> <br /> I am not explaining this properly :-P<br /></blockquote><br />Perhaps not.<br /><br />I think what you're asking for is effectively the ability to write an<br />IFD handler in Java.  For pcsc-lite, I don't think that's realistic --<br />it would mean pulling an entire Java interpreter into pcscd.  What you<br />could do is a bridge that talks to a Java program running in another<br />process, but I think that's going to be more troublesome than it's<br />worth.<br /><br />jPAM in fact does not do this; what it does is let Java applications<br />call PAM, not the other way around.  pam-python _does_ let you write PAM<br />modules in Python; it does this by spinning up a Python interpreter in<br />the PAM module.  That works because Python is designed to be embedded in<br />another program in this way and because it will be shut down and<br />unloaded when the module is removed, which happens no later than when<br />the application calls
pam_end().<br /><br />-- Jeff<br /><br /><br /><hr /><br />Pcsclite-muscle mailing list<br />Pcsclite-muscle@lists.alioth.debian.org<br /><a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle</a><br /></pre></blockquote></div><br>
-- <br>
Frank Morgner</body></html>