Questions tagged [smartcardio]

Use this tag for questions related to Java Smart Card I/O API

Java Smart Card I/O API is a Java API for communication with Smart Cards using ISO/IEC 7816-4 APDUs. It thereby allows Java applications to interact with applications running on the Smart Card, to store and retrieve data on the card.

30 questions
0
votes
1 answer

java smartcard problem // card provider configuration

I have a seemingly easy task, which is to read unencrypted data from a chip card with Java. I have no experience at all with smart cards and I'm hoping that someone can point me in the right direction. I set up a project with the javax.smartcardio…
Tom
  • 83
  • 7
0
votes
1 answer

javax.smartcardio on macOS Monterey does not find PCSC readers

I want to access a PC/SC Reader (Reiner SCT) on macOS Monterey (12.0.1) using Java 8/11. (javax.smartcardio already works in Java 11). With both Java Version, TerminalFactory factory = TerminalFactory.getDefault(); List terminals =…
geri-m
  • 665
  • 2
  • 11
  • 23
0
votes
0 answers

Unknown error 0x8010002f on first PART of STORE DATA APDU of DGI that requieres 2 parts

While trying to personalize a card whith a DGI of 256 bytes (including DGI label), tried to split DGI in 2 STORE DATA commands but receive the following error: Exception in thread "main" javax.smartcardio.CardException:…
wrbp
  • 870
  • 1
  • 3
  • 9
0
votes
1 answer

How to Control LED on ACR122 using smartcardio and Java?

I am trying to use the smartcardio library in Java (JDK 8, NetBeans 7.4, Windows 10). I have tried many other libraries with no success. The card reader (ACS ACR122U) came with an SDK CDROM but the necessary .DLL is not on the CD so I cannot use…
0
votes
1 answer

Felica Card Error: Area or Service specified by the command cannot be accessed

I am using javax.smartcardio library to access my Felica card. I am able to get the ID of the felica card without any error. When I try to write a block to Felica card, I am getting the following status flag. 0xA5: Area or Service specified by the…
Trusit Shah
  • 61
  • 1
  • 5
0
votes
1 answer

write data to a smart card in StdData File

i created a file in a smart card using this apdu command : String apdu = "90CD00000700000E0EA0000000"; channel.transmit(new CommandAPDU(DatatypeConverter.parseHexBinary(apdu))); the file is successefuly created , however i can't write data in that…
leonidas79
  • 437
  • 2
  • 7
  • 19
0
votes
1 answer

always getting 6a82 and 6d00 for reading visa emv card

i am reading data from visa card but always getting response 6a82 and 6d00 for PSE. I am using smartcardio and following are the commands Select PSE: 00A404000E315041592E5359532E444446303100 Processing code: 80A8000002830000 Below code works fine…
0
votes
1 answer

Type of SmartCard to signing a certificate in Java

I would like to introduce additional security in my communication using smart cards. I would like smart cards to sign a server and client certificate. Each machine has its own smart card reader. Which card standard should it be? I purchased SLE5528…
0
votes
1 answer

Kotlin use of JDK modules

I'm currently writing Kotlin code that uses a Java library (developed by me) that uses javax.smartcardio lib, but on Kotlin compilation the following error is shown: Cannot access class 'javax.smartcardio.CommandAPDU'. Check your module classpath…
amportugal
  • 124
  • 1
  • 12
0
votes
1 answer

How to identify a german id card by using a RFID-Card-Reader (javax.smartcardio)?

Hello Twogether, I am writing a Java-Application using the javax.smartcardio.*; The uid (32 bit) of german id card is generated randomly at each access. The atr (152 bit) stays the same. Currently I take the uid of rfid cards and if it is a…
User8461
  • 366
  • 2
  • 14
0
votes
3 answers

How to use javax.smartcardio package on Android?

I'm wrote java console app with smartcardio.Everything worked perfect.Now I want to use this library in Android. As I know smartcardio does not supported in Android. I searched about in Google.If anyone knows how I can use this library in Android,or…
BekaKK
  • 2,173
  • 6
  • 42
  • 80
0
votes
0 answers

How to run a code in backgroundworker without consuming processor time and resources?(How to stop an intentional infinite loop?)

I wrote an intentional infinite loop to identify if card is detected or removed on the reader using vb.net. Because I don't know if there is something like waitForCardPresent in winscard. So the concept is once the button Connect was clicked, the…
0
votes
1 answer

Using javax.smartcardio package on Android?

I have made an application in Java using Eclipse as a library for reading and writing to a Java Card applet. So far we're using ACS ACR38 reader. But now we need to port this library to Android. What can I use to replace the javax.smartcardio…
bunbunn
  • 53
  • 8
-1
votes
1 answer

How to access Pinpad of a Smartcard Reader when developing a Javacard Applet

I am relatively new to Javacard and I am in the process of developing my own Javacard Applet which works quite well until now. I am also writing a host program to communicate with my card (via APDUs), this program is written in Java and uses the…
-1
votes
2 answers

Extended APDU Commands

Hello All, I am working on the Contact card(CT) reader, in which I need send more 256 bytes of data. I have read alot on online for the solutions, As they mentioned the T=0 and T=1 protocols and all and even I also readed about the extended APDU…
1
2