smartcard

issue with get processing options

丶灬走出姿态 提交于 2019-12-17 20:28:46
问题 I have selected application ( A0000000032010 ) on Visa contactless card and when I issue GPO command: "80A8000002830000" I get error: 67 00 Does anyone have idea what can be causing this? 回答1: You receive that error code because you are sending an invalid GET PROCESSING OPTIONS command. In response to the application selection, you received the following PDOL: 9F38 0E (Processing Options Data Object List (PDOL)) 9F6604 (Terminal Transaction Qualifiers (TTQ)) 9F0206 (Amount, Authorized

Send APDU commands to USIM/SIM card in android

冷暖自知 提交于 2019-12-17 16:21:58
问题 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

Website PKSC #11 smart card authentication and SSL client certificates

跟風遠走 提交于 2019-12-17 15:38:30
问题 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?

NFC card emulation Android

匆匆过客 提交于 2019-12-17 10:34:35
问题 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

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

空扰寡人 提交于 2019-12-17 03:20:38
问题 Looking for Javascript code to sign GST or Income Tax eReturns from Browser using USB Token. 回答1: 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

How to use ISO7816 select command with DESfire Ev1 card?

烈酒焚心 提交于 2019-12-14 03:52:50
问题 I have a DESfire Ev1 version 1.3 card and I'm trying to select a file using ISO7816 apdu style. I have one file, with aid A0 A1 A2 and I can select it using both native or wrapped mode: Native: -> 5A A0 A1 A2 <- 00 Wrapped: -> 90 5A 00 00 03 A0 A1 A2 00 <- 91 00 However, if I try to select it using ISO7816 style, I always get a file not found error: ISO7816: -> 00 A4 04 00 03 A0 A1 A2 00 -> 6A 82 When using ISO apdu, is the AID in a different format? How can I select this AID using it? 回答1:

Get Data APDU command different tags and response format

纵然是瞬间 提交于 2019-12-14 03:39:46
问题 As you may know, Gloabal Platform Card Specification defines a command named Get Data to retrieve some information from the smart card. GlobalPlatformPro is one of the popular tools for communication with smart cards. When I list the installed applets on the card using this tool, I have the following output: D:\3-TestTools\SmartCard>GP -list -d -v -i //Useless Info Censored ATR: 3B6800000073C84012009000 //Select APDU Command A>> T=0 (4+0000) 00A40400 00 A<< (0018+2) (48ms)

Read and Write Card Details using a Smart Card Reader

天涯浪子 提交于 2019-12-14 02:32:28
问题 I need to integrate my application with a Smart Card Reader. Its a ContactLess Card Reader, Model No. ACR122U-A2 by Advanced Card Systems (www.acs.com.hk). Currently my customer is already using another application developed by someone else, which uses this Card Reader. They usually place the Card on top of the Card Reader, even though its a ContactLess Card Reader. This Card is used in a Club for member access. I need to read Member ID No. Name, etc. and also write the code to activate the

How can i credit or debit more than 1 byte to/from card?

你离开我真会死。 提交于 2019-12-13 22:09:59
问题 I am newbie applets and i used from this link: working with Java Card Wallet for creating an Wallet project. I before could credit card amount by this command : 80 30 00 00 01 1A 00 . I now want add '5000' to the present amount. As you know 5000 in hex equals with '1388' that is 2 byte. So i must send 2 byte data 13 and 88 to the card. I create bellow command and sent it to card but i get '67 00 Wrong lenght' as response. 80 30 00 00 02 13 88 00 How can i credit or debit more than 1 byte to

TLS-handshake with own random numbers in Java

ぐ巨炮叔叔 提交于 2019-12-13 18:28:49
问题 I have a a piece of hardware which realises some crypto functions like random number generation (e.g a SmartCard). I would like to use this hardware during my TLS hadshake. Is it possible to do this, without implementing the TLS-Handshake by my own? I tried to extend the class "SecureRandom" but the "next" methode is final so I can't override it so that it will return 'my' genetrated numbers. So basically I would like to "outsource" all the crypto functions without implementing the TLS