smartcard-reader

SmartCard reader “Access denied” while claiming interface with Webusb on chrome

不问归期 提交于 2019-12-17 19:00:33
问题 I am developing a javascript library to perform smart card operations using the CCID protocol over chrome webusb API. Everything goes well when I plug the smart card reader on Linux and MacOS, however I get stuck on windows when I try to claim the interface. I tried to run chrome as an administrator, disable smart card services / CCID drivers on windows in case those were claiming the interface, but nothing does it. I keep having the "Failed to claim interface: Access denied (insufficient

Get UID of Mifare Ultralight with SCL010

早过忘川 提交于 2019-12-17 16:30:58
问题 I want get the UID of the Mifare Ultralight NFC tag. In Java I have this code: TerminalFactory factory = TerminalFactory.getDefault(); List<CardTerminal> terminals = factory.terminals().list(); System.out.println("Terminals: " + terminals); CardTerminal terminal = terminals.get(0); Card card = terminal.connect("*"); System.out.println("card: " + card); CardChannel channel = card.getBasicChannel(); ResponseAPDU answer = channel.transmit(new CommandAPDU(0xFF, 0xCA, 0x00, 0x00, 0x00)); byte[]

Do smart-card readers support all smart-cards models?

馋奶兔 提交于 2019-12-13 17:40:31
问题 Do smart-cards require a different kind of reader depending on the model or do all readers support all kinds of smart-cards? Assuming I have a specific card model in mind, how do I find out what kind of reader I need? 回答1: Depends on the chip used, have a look at: Smart Card Readers and Terminals ISO/IEC 7816 Standard 回答2: The main difference with contact cards is synchronous memory cards vs asynchronous microprocessor cards. Most "interesting" smart cards are asynchronous microprocessor

javax.smartcardio SCARD_SHARE_SHARED and SLEE4442 delay

自古美人都是妖i 提交于 2019-12-11 19:48:52
问题 With "javax.smartcardio.CardTerminal" I can't to connect smartcard with SCARD_SHARE_SHARED parameter...The method to connect has not that parameter... public abstract Card connect(String protocol) throws CardException Establishes a connection to the card. If a connection has previously established the specified protocol, this method returns the same Card object as the previous call. Parameters: protocol - the protocol to use ("T=0", "T=1", or "T=CL"), or " " to connect using any available

Stop Screensaver programmatically

走远了吗. 提交于 2019-12-10 10:38:07
问题 How can I stop the screensaver while it's running? without moving the mouse or pressing a key on the keyboard. My applications input is from a card reader, if the screen saver is running my application is still working fine but the screen saver doesn't stop when an input is received on the card reader. I've tried this http://www.codeproject.com/Articles/17067/Controlling-The-Screen-Saver-With-C , doesn't seem to work for me. I tried faking a mouse movement like on this thread How do I turn

Smartcard reader naming: when removing any reader, the name of the rest changes

我只是一个虾纸丫 提交于 2019-12-08 14:37:42
问题 I am writting a smartcard application. This application connects card in reader and sometimes works with it. I need to watch when reader is no longer available (either card is ejected or reader is removed from USB). Readers are watched using SCardStatusChange. This function requires reader name to watch. I insert two readers with cards into USB slots. They are recognized as "USB Smart Card Reader 0" and "USB Smart Card Reader 1". I remove one reader. Windows says, "USB Smart Card Reader 1" is

Smart Card Reader Plugin (Card Inserted) Event

岁酱吖の 提交于 2019-12-07 21:00:29
问题 Background: I'm creating a Windows 10 Universal App which reads some data from smart card (inserted into smart card reader) and it is working properly, but in all cases, the user should trigger the process to read data from card. Question: How can I handle the 'Card Inserted Event' in UWP, so I can read data from card each time after it is inserted? 回答1: I am not familiar with UWP but i found this example. It creates a smartcard reader instance: private SmartCardReader reader = provisioning

What is the meaning of 6E 00 when I send a command to a SmartCard

こ雲淡風輕ζ 提交于 2019-12-07 05:19:28
问题 I try to access a SmartCard via C++. I got already the Connection and the CardHandle. But when I send an APDU Command via SCardTransmit, i'll get 6E 00 as the answer from the card. No matter which APDU Command i send. Everytime 6E 00. For Example: FF CA FA 00 00 (Card's ATR - Answer To Reset) or FF CA FF 82 00 (Product name in ASCII) The same thing when i send the Command with an PC/SC Testtootl like "PC/SC Diag". Has anybody an Idea what the meaning of this Error-Code and how to solve the

ACR1222L FF 82 Load Authentication Keys fails with 63 00 Operation Failed

a 夏天 提交于 2019-12-06 13:55:49
问题 I'm using ACR1222L NFC smartcard reader with Mifare Plus cards (Security Level 0 as of now; manufacturer default keys A and B). I tried a variety of commands to load authentication key into the reader: FF 82 00 00 06 FF FF FF FF FF FF FF 82 00 01 06 FF FF FF FF FF FF FF 82 20 00 06 FF FF FF FF FF FF FF 82 00 00 06 A0 A1 A2 A3 A4 A5 FF 82 00 00 06 D3 F7 D3 F7 D3 F7 ... and others ... All of them are returning the error status: 63 00 (Operation Failed) What could be wrong? I have searched long

Reading NFC Tag using JAVA Smart Card API not working on MAC OS

纵饮孤独 提交于 2019-12-06 12:08:54
问题 I am developing an application to read a NFC Tag UID from NFC Reader (ACR122U-A9) device. I used JAVA and javax.smartcardio API to detect the NFC Reader and Reading NFC Tag. The functionality of the application is to display notification when the NFC Reader device is connect or disconnect from PC. Then if the device is connected and NFC Tag is presented then display the notification that NFC Tag is presented. I tried to find the Event based api to implement above functionality but I cannot