pcsc

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

Can't add a *.so library in Android Studio. JniLibs directory don't work

廉价感情. 提交于 2021-01-29 04:17:58
问题 I researched a lot for an answer of my question, but I didn't find anything. I can't add the .so library in my project. I put the library in /app/src/main/jniLibs/arm64-v8a. The project will complile but on execution the following error comes. Thank you for all answers. Structure of directorys is here. arms64-v8a is the correct folder for my System. build.gradle: apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "com.example.vtas

Problem with Big Sur 11.0.1 and PC/SC library

孤人 提交于 2021-01-04 07:59:27
问题 I have a problem with the newest version of macOS (BigSur 11.0.1) and the library PC/SC; before BigSur the program the uses the library worked fine but after the update isn't working anymore. I am using the java version 1.8.0_271 In the code, I use the method TerminalFactory.getDefaultType() to get the default type of Terminal Factory. Before the update I was receiving "PC/SC" but after the update I am receiving None. If I want force to connect to an instance with this line TerminalFactory

Problem with Big Sur 11.0.1 and PC/SC library

点点圈 提交于 2021-01-04 07:59:26
问题 I have a problem with the newest version of macOS (BigSur 11.0.1) and the library PC/SC; before BigSur the program the uses the library worked fine but after the update isn't working anymore. I am using the java version 1.8.0_271 In the code, I use the method TerminalFactory.getDefaultType() to get the default type of Terminal Factory. Before the update I was receiving "PC/SC" but after the update I am receiving None. If I want force to connect to an instance with this line TerminalFactory

How to Access Smart Card from a Chrome browser using WebUSB API and PC/SC? [closed]

你。 提交于 2020-08-02 07:27:07
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 7 months ago . Improve this question I'm trying to write a web application which needs to exchange messages with a local Smart Card. Currently I'm trying to use WebUSB API to connect the Chrome with the smart card reader, but I'm struggling to use the PC/SC specification. In my researches I

macOS 10.15.4 - external NFC Reader over USB (CCID & PC/SC compliant) for Host Card Emulation

夙愿已清 提交于 2020-05-17 06:17:01
问题 I have an Identiv uTrust 3700 F CL Reader that I can't setup with on macOS Catalina 10.15.4. I would like to read NDEF Tags , use U2F (FIDO2 CTAP1) via NFC, and emulate a card from the reader (for other readers to read, like an Android or iOS device) where my host acts as the secure element. My reader works great with opensc-tools to list the reader. I suspect multiple processes are competing for the USB device. This section from libnfc indicates a related device (the SCL3711, which is

macOS 10.15.4 - external NFC Reader over USB (CCID & PC/SC compliant) for Host Card Emulation

北城以北 提交于 2020-05-17 06:16:08
问题 I have an Identiv uTrust 3700 F CL Reader that I can't setup with on macOS Catalina 10.15.4. I would like to read NDEF Tags , use U2F (FIDO2 CTAP1) via NFC, and emulate a card from the reader (for other readers to read, like an Android or iOS device) where my host acts as the secure element. My reader works great with opensc-tools to list the reader. I suspect multiple processes are competing for the USB device. This section from libnfc indicates a related device (the SCL3711, which is

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.

OSX CryptoTokenKit SmartCard returned error 6d00

久未见 提交于 2020-01-05 11:36:29
问题 I'm trying to read the master file of a smartcard on OSX using CryptoTokenKit but I always get statusword 6d00 as response. I also tried to run the trivial example with some modifications but get the same error. My reader is Gemalto PC Twin Reader. Please let me know if you have any suggestion to fix it. I'm using the following code: TKSmartCardSlot *slot = [self.smartCardManager slotWithName:slotName]; TKSmartCard *card = [slot makeSmartCard]; card.sensitive = YES; [card

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; //