Questions tagged [pcsc]

PC/SC stands for "Personal Computer/Smart Card", and is a specification for integration of smart cards with personal computers.

PC/SC stands for "Personal Computer/Smart Card", and is a specification for integration of smart cards with personal computers.

Links

255 questions
61
votes
11 answers

Architectures to access Smart Card from a generic browser? Or: How to bridge the gap from browser to PC/SC stack?

What are the existing client-side architectures to access a local Smart Card thru a PC/SC Smart Card reader (ISO 7816-3, ISO 14443) from a generic browser (connected to a server through http(s)), preferably from Javascript, with the minimum…
fgrieu
  • 2,724
  • 1
  • 23
  • 53
24
votes
7 answers

Accessing javax.smartcardio from Linux 64 bits

I'm trying to load the smartcard terminals using the javax.smartcardio API with the following code: public CardTerminal getReadyCardTerminal() throws CardException { TerminalFactory factory = TerminalFactory.getDefault(); CardTerminals…
Gilberto Torrezan
  • 5,113
  • 4
  • 31
  • 50
20
votes
1 answer

Requiring a JavaScript Node.js module in TypeScript (allowJs' is not set)

I have an Angular2 app inside Electron. Now, I would like to use the @pokusew/pcsclite library to use NFC functionality. This library uses native Node.js modules. When I try to require the library in my component.ts like this: declare var pcsclite:…
Phil
  • 578
  • 2
  • 5
  • 15
12
votes
2 answers

Communicate with smartcard reader through Android USB host

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 =…
user997777
  • 569
  • 1
  • 7
  • 19
11
votes
0 answers

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

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…
Cauê Aruã
  • 111
  • 1
  • 4
11
votes
3 answers

Smartcard terminal removal : SCARD_E_NO_SERVICE CardException

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…
JR Utily
  • 1,792
  • 1
  • 23
  • 38
8
votes
2 answers

ATR command when programming PC/SC reader

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…
STeN
  • 6,262
  • 22
  • 80
  • 125
8
votes
1 answer

ACR122 USB SDK - JNI calls to Winscard.dll

we have bought the ACR122 USB SDK for NFC testing. We would like to build the test desktop application for the ACR122U-A2 NFC reader. We are developing it in Java on the Microsoft Windows 7 platform. We expected that in order to use PC/SC from…
STeN
  • 6,262
  • 22
  • 80
  • 125
7
votes
1 answer

Send APDU command to card through HID OMNIKEY 5427 CK

I'm trying to pass though APDUs command via HID OMNIKEY 5427 CK to operate MIFARE Card ie. Ultralight C card, on the Windows 10 x64 OS environment using WinSCard.dll. (I'm under NXP NDA and have full access t their documents) I tried to find…
Eric F.
  • 309
  • 4
  • 11
7
votes
1 answer

How to send APDU to Mifare Classic 1k card?

What I am trying to achieve is to send APDU command to MIFARE Classic 1K card to change its A and B keys. I was able to establish a connection with the card and use a default key (FFFFFFFFFFFF) to read block 0 and block 1. I used HID MifareSamples…
Opski
  • 71
  • 1
  • 3
7
votes
0 answers

How to Configure the PCSCD for SmartCard

i am newbee in the PCSC driver development and i have a Mac OSX 10.8.4 (mountain lion) which has PCSC Framework version 1.4.0. I have a smart card and i have library or c code using which i am able to read and write to card (i.e get ATR etc.) I…
6
votes
2 answers

Getting PCSC reader serial number with WinSCard

I have a problem with getting PCSC reader serial number if card is not present in the reader. I am using winscard.dll and c++. The following code will work only for the case if card is present in the reader. Otherwise the SCardHandle is not…
vellotis
  • 829
  • 1
  • 12
  • 26
6
votes
3 answers

Determine card type from ATR

Is it possible using ATR to determine whether I have ISO14443A or ISO14443B type card? If yes, how?
user2793162
5
votes
1 answer

Force PC/SC driver on ACR122U NFC reader

I have trouble with using my ACR122U RFID card reader form ACS. I need to connect it to my Mac using the PC/SC driver. I installed the driver from the ACS website and confirmed that it's running. However, whenever I test using the nfc-list command,…
rebellion
  • 6,628
  • 11
  • 48
  • 79
5
votes
2 answers

Is it possible to send Pseudo-APDU commands while card is not present?

I am using the javax.smartcardio package for developing smart card related applications. I want to send Pseudo ADPU commands to set my reader's LED / LCD status. I found that the only method to send APDU commands to reader/card is…
Bruce Z
  • 81
  • 6
1
2 3
16 17