apdu

How do I read the PAN from an EMV SmartCard from Java

I need to read account number from Maestro/Mastercard with smart card reader. I am using Java 1.6 and its javax.smartcardio package. I need to send APDU command which will ask EMV application stored on card's chip for PAN number. Problem is, I cannot find regular byte array to construct APDU command which will return needed data anywhere...

Java Card Conversion

Hi I have written a Java Card App and want to upload it to a Card. But the card supports Java 2.1.1 standard. So I am looking for a way of generating a 2.1.1 Compliant CAP file with my 2.2.2 Kit I have Java 1.6, GPShell 1.4.2, Java Card 2.2.2, JCOP 30 V2 Card ...

How to write files on smart cards in C#

I'd like to write to file in a processor smart card that accepts APDU commands. Do you know any examples in C# or smartcard sdk? Has anyone used http://code.google.com/p/pcsc-sharp/? ...

EMV : Cards always answer 6E 00

Hi all, I have tested 4 EMV French Cards on a PC/SC Reader (Athena Asedrive USB) and I can't do anything. Each card, which works for payments, answers 6E 00 : class incorect I give you here an exemple of a PSE select : using AseIIIeUSB 00 00 Using T=0 protocol > RESET < OK: 3B 65 00 00 63 04 6C 90 00 > 00 A4 04 00 0E 31 50 41 59 2E 5...

JSR 177 Support on Blackberry

I have been trying to interact with SIM application through APDU exchanges. For exchanging APDUs, I had to create an APDUConnection through Connector.open() API, but this particular API throws up an IO exception stating "JSR 177 is not supported on this platform", I dont know whether this happens because I test this on simulator or wheth...

Smart Cards Development

I need a 'java' source code on how to extract a cap file from the computer and divide it into blocks in order to send it using APDUs to the smart card to install or load or delete an application. Thanks in advance. ...

Background task in mobile phone to access a secure element and a web server

Is it possible in a GSM mobile phone OS (e.g. Android, Win Mo, Symbian, etc.) to have some kind of background task or application able to exchange data at the same time with a web server and a secure element of the mobile? The purpose if for the web server to be able to push APDUs to the secure element (an retrieve response APDUs) witho...

How can I edit the content of my smart card?

Can you tell me please how can I edit the content of my smart card? How should I use APDU commands in order to edit the content? Lets say I have something like this on a smart card: 00 00 05 00 00 00 00 00 00 00 00 FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 and I want it to be : 00 00 06 00 00 00 00 00 00 00 00 FF FF FF 00...

apduToolTask cannot be found

Hi all, i am new to java card platform and presently i am using java card classic edition v 3.0.1 and when i am using Apache ANT command - ant all to build the build.xml file, i am getting the following error: c:\java\java_card_kit-2_2_2\samples\build.xml:17: taskdef class com.sun.javacard.ant.tasks.APDUToolTask cannot be found I've a...

Select EF on a smart card via its SFI

Some smart cards offer the option to reference a file by an SFI (short file identifier), which is a 5-bit number. In contrast, a typical file identifier is 2 bytes long. I need some assistance with figuring out how to do that, because I failed to find an answer inside ISO 7816-4. First of all, section 5.3.1.1 states (emphasis mine) ...

Get access to specific ADPU functions from cryptoApi or CAPICOM using 3rd party CSP

I have tried for the last 2 months without success and I think it's time I ask here. I have a smart card and got a CSP from my client. I have documents that describe APDU commands that I can (and know how to) run. I need to save small files (data) to the card like name, address, photo etc. And later on save certificates. In the docume...