[Muscle] SunPCSC
Michael StJohns
mstjohns at comcast.net
Sat Apr 19 09:28:29 PDT 2008
Have you tried just using the default provider?
E.g. Terminal Factory tf = TerminalFactory.getDefault();
I tried your code on winxp with SP 2 and java 1.6_04 and it worked fine. So its probably not java, its your machine.
I'd try printing out your exceptions stack trace to try and find out where things are going wrong.
Its also possible that windows is confused - http://www.lazybit.com/index.php/2007/12/19/windows_xp_re_install_smart_card_service?blog=2 describes how to reinstall the smart card system under XP - there may be a similar one for Vista.
At 06:02 AM 4/19/2008, Sunil Pilani wrote:
>Hello,
>I have a question about SunPCSC. I am stuck with the NoSuchAlgorithmException. I am working on Win Vista, using JDK 6 and I am making you use of the javax.smartcardio.* package.
>I want to get a reference to a TerminalFactory using SunPCSC to eventually make it work with java card tool kit components(cref, jcwde)
>
>TerminalFactory factory = TerminalFactory.getInstance("PC/SC", null);
>This line throws the following exception:
>
>java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: PC/SC, provider: SunPCSC, class: sun.security.smartcardio.SunPCSC$Factory)
>
>I understand that there is an implementation of the provider(SunPCSC) is available but somehow the "PCSC" part fails. Can somebody please help me understand the problem better and possible help me out with it?
>
>Linus
>
>
>_______________________________________________
>Muscle mailing list
>Muscle at lists.musclecard.com
>http://lists.drizzle.com/mailman/listinfo/muscle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drizzle.com/pipermail/muscle/attachments/20080419/7f84a469/attachment.html
More information about the Muscle
mailing list