smartcard

Smartcard reader access from a web browser?

十年热恋 提交于 2019-11-28 07:26:06
Is it possible to access a smartcard reader connected to a computer from a web browser running on the same machine, i.e. from an ActionScript, JavaScript or whatsoever script running therein? For example, I read something about the flash.external.ExternalInterface class in ActionScript. Can it be used for accessing a smartcard reader or is the Sandbox impenetrable? Q: is it possible to access smartcard reader connected to a computer from a web browser running on the same machine? A: Yes, it is possible. I was able to do that by using a signed JAVA applet. The java applet needs to be signed

Selecting DF (Dedicated File) in Smart Card, Return Error 6981

99封情书 提交于 2019-11-28 02:10:15
问题 I have written a program to communicate with a smart card (Gemalto Company MPCOS applet). I could successfully connect to card and transmit commands and fetch data. However I have a problem: When I used 00 A4 01 00 02 02 00 command to select DF(Dedicated File), It returned error 69 81 (file indicator is incorrect). This is so weird because after this command I used another command to fetch sub-file of this DF and it returned success 61 12 . command1(Select MPCOS Applet): 00 A4 04 00 10 A0 00

Send APDU commands to USIM/SIM card in android

爱⌒轻易说出口 提交于 2019-11-27 22:21:40
I was already worked with smart cards and I am familiar with APDU commands (that are defined in ISO/IEC 7816 and Global Platform specifications). Now I want to know if is there any way to send an APDU command to my USIM/SIM card that is inserted to my mobile phone? (Samsung A3 with Android v4.4.4 kitkat installed.) I already searched in the Google and I found some related topics and tools named SIM Toolkit Application and Seek for Android . But I don't really understand what are these? Are these items two applications that I must install on my mobile phone? or are those two tools that was

What APDU command gets card ID

前提是你 提交于 2019-11-27 22:20:23
问题 What APDU command gets 7 byte of card ID? I use T=CL (ISO7816) pritocol with ISO14443 layer. On detect card I can see only 4 byte of card ID. I searched, that is APDU command for gets card ID. For example its: 0xFF, 0xCA, 0x00, 0x00, 0x00 but result of thouse command is: 6E 00 , that on specifications of APDU answers tell that "Class not supported" Then I find, that its APDU command may be as: 0x00, 0xCA, 0x00, 0x00, 0x00 this command return 6A 88 where 6A XX - "Wrong parameter(s) P1-P2" and

Website PKSC #11 smart card authentication and SSL client certificates

泪湿孤枕 提交于 2019-11-27 19:09:28
We are creating a three-factor authentication for a website due to a legal requirements in one Scandinavian country. The customer is using NetID branded browser plug-ins to do a PKCS #11 certificate authentication in the browser. The smartcards are supplied centrally by a partner on the customer. This subject does not have much on-line resources or tutorials available. Would someone have any pointers to example implementations or tutorials how to do PKCS11 authentication in a web browser? EDIT: Found about SSL client certificates Looks like the authentication method is SSL Client Certificate

Javacards IDE, and JCOP tools for eclipse unavailable to download

回眸只為那壹抹淺笑 提交于 2019-11-27 18:57:44
问题 I'm starting to develop in JavaCard (more specifically JavaCard 2.2.2). I'm searching for tools to develop in JavaCard. I want an IDE that incorporates both an emulator and a debugger. The eclipse plugin JCOP tools from IBM seems to do that, but for some reason I can't find it online. Some forums point to the link http://www.zurich.ibm.com/jcop/download/eclipse/, but this link no longer works... Anyone knows what's going on? Have JCOP tools been discontinued? If so, can anyone suggest another

Browser is not prompting for a client certificate

﹥>﹥吖頭↗ 提交于 2019-11-27 17:32:15
问题 Background: I am updating an internal application to a two-step authentication process. I want to add a client certificate authentication process (via a smart card) on top of a traditional username/password form. The application is written in C#, hosted on IIS7, and targeting Chrome and IE8. Problem: I am having issues with getting the application to prompt the user for a client certificate. I have been debugging the application with the help of Fiddler. When I have a test client certificate

javax.smartcardio - javadocs

大城市里の小女人 提交于 2019-11-27 14:13:53
问题 I'm studying the javax.smartcardio classes. I'm using eclipse 3.6 and I have JDK 6 SE. I can use the statement import javax.smartcardio.* or any of its individual classes, as long as I change preferences to warn or ignore forbidden references. I don't see any mention of javax.smartcardio in the standard documentation at Java SE 6 and no javadoc help pops up in eclipse. I have found docs here. Is there a way of linking Eclipse to the javadocs for smartcardio? 回答1: I've asked Sun back in the

How to store android application data on sim card using NFC?

不打扰是莪最后的温柔 提交于 2019-11-27 12:54:32
I am developing a NFC application. My application will process secret information and I want to store that data on the SIM card. Is it possible, and if it is possible, how can I do this? My phone's android version is Android 2.3.5. tl;dr - it is not currently possible without enormous effort. You want to use the SIM card as the Secure Element in Card Emulation mode - this is the approach favoured by GSM Association . To access the Secure Element (on SIM or Integrated Chip), you need to use a Trusted Service Manager (TSM). In your case, the TSM would send data to your SIM card using binary SMS

java keytool with opensc pkcs#11 provider only works with debug option enabled

心已入冬 提交于 2019-11-27 12:30:58
I have the latest opensc 0.12.2 running on ubuntu 11.10 with OpenJDK ( java version "1.6.0_22") I can read my smartcard (a Feitian ePass PKI) with pkcs15-tool --dump Now i try to use my smartcard with keytool: keytool -providerClass sun.security.pkcs11.SunPKCS11 \ -providerArg /etc/opensc/opensc-java.cfg \ -keystore NONE -storetype PKCS11 -list which results in an error: keytool error: java.security.KeyStoreException: PKCS11 not found java.security.KeyStoreException: PKCS11 not found at java.security.KeyStore.getInstance(KeyStore.java:603) at sun.security.tools.KeyTool.doCommands(KeyTool.java