smartcard-reader

ATR command when programming PC/SC reader

房东的猫 提交于 2021-02-07 06:43:46
问题 I have checked the programming interface for the MIFARE Ultralight and TOPAZ/Jewel IC tags. The API quite nicely describes how the bytes are saved on the card, how to address the memory blocks, how to make all operations like read, read-all, use of the OTP (One Time Programmable) function, how to read ROM bytes, how to switch from idle to ready state (REQA, WUPA commands), it says if commands are CRC protected, how to access the tag UID, etc. When stared to program the NFC reader (ACR122U or

ACR122U LED controlling

蓝咒 提交于 2020-08-03 09:20:12
问题 Does anybody have any clue how to control the bi-color LED of ACR122U via the method Reader.control() on Android? (library acssmc-1.1.3). I am reading the API and have no idea what the command description means: Example: byte[] command = {(byte) 0xFF, (byte) 0x00, (byte) 0x40, (byte) 0b01110111, (byte) 0x04, (byte) 20, (byte) 30, (byte) 3, (byte) 2}; These things I do not understand: Byte 3 (P2): I cannot figure out how to set that up. Byte 5 (T1): First cycle state duration that is somehow

Detection of smart card removal and insertion using PCSC in C

拈花ヽ惹草 提交于 2020-01-14 19:14:47
问题 I am using PCSC-lite v1.6.4 for my smartcard based application development. I need a way to detect as soon as smart card is removed from reader and then to detect the insertion into reader so that smartcard will be forced to complete a specific process again. If possible, is there any interrupt/event based way instead of simple polling? 回答1: There is SCardGetStatusChange in WinSCard library. Blocks execution until the current availability of the cards in a specific set of readers changes.

Is it possible to access NFC API in HTML5 applications?

喜欢而已 提交于 2020-01-10 12:10:52
问题 I have a requirement to include NFC Card reader to read associate ID to authenticate the user for a web app displayed in a touch screen. Is it possible to use SCM NFC reader module for a web-based app. Is there any plugin that can we included in the client or server side for this purpose ? Thanks in advance. 回答1: The Web NFC API (maintained by the NFC Working Group is currently in draft status. This API is intended to provide access to NFC functionality for HTML5. BUT In its current version

SCR3310v2.0 and SLE5528 read/write?

与世无争的帅哥 提交于 2020-01-03 03:14:09
问题 I have SCR3310v2.0 reader and chip card SLE5528, There are any code samples to be able to record and read the card information, or is there are any free software who do it? 回答1: I'm using ACR38 so it may be a little different. If you just started with smartcards, you should defiantly get some SDK (which is basically what you're asking for). As for the SLE5528: The card is really basic, there are 3 commands which you want to be aware of. 1) Read , can use this command anytime (as long as you

Unkown error 0x16 on smartcard reader access

孤街醉人 提交于 2020-01-01 16:56:11
问题 I am trying to change the buzzer duration on the ACR1252U. Link to API: http://www.acs.com.hk/download-manual/6402/API-ACR1252U-1.09.pdf According to the API documentation I need the 'E0000028010A' command to change the buzzer status, whereby '0A' marks the duration as 0A*10ms (Page 44). Following Java code is used: public static void main(String[] args) { try { byte[] send = new byte[6]; send[0] = (byte) 0xE0; // Commandclass send[1] = (byte) 0x00; // Protocoll send[2] = (byte) 0x00; //

Communicate with smartcard reader through Android USB host

牧云@^-^@ 提交于 2019-12-28 11:57:27
问题 I'm trying to send a command to a smart card. I use a Gemalto IDBridge CT30 (PC TWIN reader) and a IDBridge K30 connected to the Android device over USB. I try to send a SELECT APDU command over USB: boolean claim = openedConnection.claimInterface(usbInterface, true); byte[] data = new byte[]{ (byte) 0x00, (byte) 0xA4, (byte) 0x04, (byte) 0x0C, (byte) 0x07, (byte) 0xA0, (byte) 0x00, (byte) 0x00, (byte) 0x01, (byte) 0x18, (byte) 0x45, (byte) 0x4E}; After that I receive an answer: final int

login with smart card on web site

☆樱花仙子☆ 提交于 2019-12-25 09:39:53
问题 I need help with sign in with a smart card on google chrome. First: When I go to the page that requires the certificate, this window appears where you can choose the certificate: select certificate image. Is there any way this window can be edited so that I can see whose certificate is, and not just from whom it was issued, under the subject and the issuer is the same (from whom it was issued). I need to see here name of user. Second: I have problem with loading certificates from smart cards

login with smart card on web site

 ̄綄美尐妖づ 提交于 2019-12-25 09:39:07
问题 I need help with sign in with a smart card on google chrome. First: When I go to the page that requires the certificate, this window appears where you can choose the certificate: select certificate image. Is there any way this window can be edited so that I can see whose certificate is, and not just from whom it was issued, under the subject and the issuer is the same (from whom it was issued). I need to see here name of user. Second: I have problem with loading certificates from smart cards

Smart Card Get Response Returns Status 6D00

荒凉一梦 提交于 2019-12-24 17:44:11
问题 I am developing a C++ application (on Windows 7) which interfaces with PC/SC card readers to perform some authentication operations. This application is the child process of another application (I don't know if that's relevant, but it might be). I also have a simple standalone test application which performs all the interactions with the smart card that I need and does so successfully. However I have run into some odd behavior when integrating the code from this utility into my main