smartcard

NFC card emulation Android

六月ゝ 毕业季﹏ 提交于 2019-11-27 11:58:29
the Nexus S device NXP PN544 NFC controller supports not only SWP for UICC based SE, but also the S2C (aka NFC-WI) for the external, e.g. micro SD card SE. Does anybody know how this can be enabled and what it means for the SD card? That is not relevant for the Google Nexus S (there is not SD card slot), but the NFC version of the Samsung Galaxy S II comes already with the SD card slot and here this will be a question. I have tried to search for that and even the S2C standard seems to be relatively old (I think ECMA, 2006) I did not any related materials. What it means supporting S2C? The

Access the SIM Card with an Android Application?

我是研究僧i 提交于 2019-11-27 07:08:35
I wonder if it's possible to access to the SIM card with an Android Application Hubert You can get the IMEI like this (but is it what you want ?), just an exemple : mTelephonyMgr = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); String imei = mTelephonyMgr.getDeviceId(); Likewise, you have String getSimCountryIso(): Returns the ISO country code equivalent for the SIM provider's country code. String getSimOperator(): Returns the MCC+MNC (mobile country code + mobile network code) of the provider of the SIM. String getSimOperatorName(): Returns the Service Provider Name (SPN).

Common Access Card (CAC) Authentication Using Java

ⅰ亾dé卋堺 提交于 2019-11-27 06:49:28
I'm bascially looking for someplace to start learning how to interface with a government CAC card using java. Ultimately, my goal is to find out how to use CAC card authentication (by PIN number) to authorize access to a website hosted using a Tomcat/J2EE server. But I'll need somewhere to start. So I figure I'd start by writing a small java program to simply read the CAC card information from the CAC card which is inserted into a card reader on my keyboard (DELL keyboard with CAC reader above the numeric keypad). By searching google, I found the cacard java project ( https://cacard.dev.java

APDU command to get smart card uid

别等时光非礼了梦想. 提交于 2019-11-27 02:49:32
问题 i am looking for APDU to find UID of contact less ISO 14443 smart card and how to use it to print in Linux terminal. Problem is that i found many people talking about it, but there is no solution. Can anyone help is this regard??? Thanks 回答1: See the other answer, it is likely that most readers do support the pass through to the card reader by now. Nobody can help as the UID is specified in the ISO 14443 T=CL transport protocol while APDU's are specified in the ISO 7816 application layer

Javacard - power loss during garbage collection

假装没事ソ 提交于 2019-11-27 02:31:26
问题 I noticed some very strange behaviour on my smartcards (NXP J2E145, J3A081, J3C145 with an Omnikey 5121 reader): A power loss right after calling JavaCard method JCSystem.requestObjectDeletion() can damage the card: after about 10% of such power cuts the ATR command is very slow (1000ms) and I get no response to any other APDUs (applet selection, card manager authentication etc.). I know that the behavior of requestObjectDeletion() depends on the vendor specific implementation, so my question

How to Digitally Sign GST Return or eReturn using JavaScript form Browser and USB Token of user? Can I use WebCrypto API?

試著忘記壹切 提交于 2019-11-27 02:18:21
Looking for Javascript code to sign GST or Income Tax eReturns from Browser using USB Token. Recently much is being talked about WebCrypto API but as of now, WebCrypto API does not provide access to (Windows) or any other Key stores or local crypto USB/Smartcard device. Older methods being java applets, Active X, etc which are phased out or are being phased out from the Modern Browser offerings. Most of the web applications require Digital Signing pdf documents, files, eReturns (XML or JSON) etc, from user’s Browser using user’s local machine Key-store, USB Token or Smartcard. Also in most of

Smartcard reader access from a web browser?

大城市里の小女人 提交于 2019-11-27 01:50:23
问题 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? 回答1: Q: is it possible to access smartcard reader connected to a computer from a web browser running on the same machine? A: Yes,

Converting a hex string of a raw image to a bitmap image in JavaScript

扶醉桌前 提交于 2019-11-26 21:56:05
问题 Introduction : I am reading image data of fingerprints from smart card and as you know this data save as raw image in smart card. I am developing a client side program which only use java script to read image from scanner of a card reader and show that in the client page. Now my question: How can I convert hex string of my raw data to a hex string which accomplished with appropriate header of bitmap image? Note that I have width and height of my image. Tried methods: I have been developed

Smartcard terminal removal : SCARD_E_NO_SERVICE CardException

跟風遠走 提交于 2019-11-26 20:28:55
问题 I am working on an Java application which uses smartcardio to work with smartcard. It must be possible to have one removing its USB card reader and then inserting it again without starting again the applet. I am using the terminals() and waitForChange() methods to detect terminal changes and it is working fine on Linux, MacOS and Win7. But on Windows 8 (and Windows 8 only), after the removal of the last terminal, these methods throw a SCARD_E_NO_SERVICE CardException , and don't detect any

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

落花浮王杯 提交于 2019-11-26 18:14:02
问题 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. 回答1: 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