Questions tagged [jcop]

Java Card OpenPlatform (JCOP) is a smart card operating system for the Java Card platform.

Java Card OpenPlatform (JCOP) is a smart card operating system for the Java Card platform developed by IBM Zürich Research Laboratory.

JCOP complies with the following standards:

A Java Card JCOP has a Java Card Virtual Machine (JCVM) which allows it to run applications written in Java programming language.

54 questions
7
votes
2 answers

Convert Java Applet CAP file to *.class for decompilation

Here is a CAP file possible containing a malware code, without source code, and also without an export file. It is a CAP file for old platform version, i.e. GP211. I have a big experience Java reverse-engineering in Classic JVM and Dalvik. But Java…
SmInc
  • 235
  • 3
  • 11
7
votes
3 answers

NXP has Java Cards?

Why there is no search result about "JCOP" or terms like J2A040 and j3d081 in NXP website? I want to start Java Card developement and find Java Cards in market named JCOP21-72 J2A040 NXP JAVA based smart card, 40k EEPROM jcop31 jcop41 ... But the…
Taheri
  • 324
  • 4
  • 15
4
votes
0 answers

Java Cards suddenly stopped responding

I'm developing a Java Card application and have suddenly had two cards stop working, both at the same time. The cards are J3H081 Java Cards (Java Card 3.0.4, Global Platform 2.2.1) and I'm using both ACR122U and ACR1222L readers. I had been…
Aleks
  • 1,629
  • 14
  • 19
4
votes
1 answer

Mark Javacard applet as implicit selectable (default applet) after install

I'm looking for a way to mark an applet as the implicit selectable/"selected by default" applet after it already has been uploaded and installed on a Global Platform/JCOP 2.4.2 R1 system (for starters in the NXP JCOP Tools Java Card Simulation). …
VolkerK
  • 95,432
  • 20
  • 163
  • 226
3
votes
1 answer

Read TLV encoded data on JavaCard Classic

I'd like to read TLV encoded certificates on a Java Card (NXP JCOP J3D081, JCOP version 2.4.2, Java Card version 3.0.1 Classic). The cap file is created successfully, but when I try to install it on the card I get an gpshell error: load() returns…
3
votes
3 answers

ECDSA algorithm on JCOP 2.4.2 Java Card

I want to implement ECDSA algorithm on Java Card (JCOP 2.4.2). This is my source code: package hashPack; import javacard.framework.*; import javacard.security.*; import javacardx.crypto.*; public class MyECDSA extends Applet{ private byte[]…
3
votes
1 answer

Does a manipulated CAP file can break a Java Card in the installation process?

I have a Java Card that works fine : GlobalPlatfomPro:: gp -list AID: A000000003000000 (|........|) ISD OP_READY: Security Domain, Card lock, Card terminate, Default selected, CVM (PIN) management I write a simple program to return APDU…
Ebrahim Ghasemi
  • 5,850
  • 10
  • 52
  • 113
3
votes
1 answer

Which encryption algorithm does my Javacard support

Is there any JCop or GPShell command to provide list of supported encryption/sign algorithms in a Javacard? What about providing the supported key length of for example 3-DES? I want these information for a card which I haven't got the…
Hana Bzh
  • 2,212
  • 3
  • 18
  • 38
3
votes
4 answers

Javacards IDE, and JCOP tools for eclipse unavailable to download

I'm starting to develop in JavaCard (more specifically JavaCard 2.2.2). I'm searching for tools to develop in JavaCard. I want an IDE that incorporates both an emulator and a debugger. The eclipse plugin JCOP tools from IBM seems to do that, but…
saykou
  • 167
  • 1
  • 9
2
votes
1 answer

JavaCard 3 Eclipse Converter Error, Export file globalplatform.exp of package org.globalplatform not found

I'm developing a simple javacard applet using the jcdk 3.0.5u3 with Eclipse Oxygen3. If I use a simple API from GlobalPlatform like the GPSystem.getCardContentState() results in error. I've tried to add the globalplatform.jar file from GP API v1.1…
1chenar
  • 197
  • 1
  • 15
2
votes
1 answer

How to install .cap applet from android application?

How to install applet to SD card from .cap file by android application? I have ready .cap file and I want to install it dynamically in android application. Is it possible at all? All that I found by this time is this SO answer that say that this is…
Ksenia
  • 3,453
  • 7
  • 31
  • 63
2
votes
3 answers

Can an APDU command be executed *inside* the Java Card Applet?

We know that Applet.process() method is calling "between" APDU request and its APDU response, i.e. it can read some incomiung APDU and send some outgoing as a response. But, can Applet send its own APDU command and get the response? I.e.: public…
SmInc
  • 235
  • 3
  • 11
2
votes
1 answer

JavaCard SELECT with Next Occurrence Not Received by Applet

I have an application with RESET Privilege being the default selected application after reset. My application has a logging mechanism to tell exactly what were the requests made to the card. I have several dynamic responses depending on current…
2
votes
1 answer

Change Card Manager AID on JavaCard 3.x

I'm trying to change the card manager AID on a JavaCard 3.x smartcard by using a STORE DATA command. The current card manager AID is the factory default of A0 00 00 01 51 00 00 00. After authenticating with the card manager, the command I'm sending…
James
  • 1,028
  • 9
  • 20
2
votes
1 answer

Get CryptoException.ILLEGAL_VALUE when generating ECC key pair

I used JCOP card to generate ECC key pair. I can create ECPrivateKey, ECPublicKey, KeyPair w/o any problems, but it throws exception CryptoException.ILLEGAL_VALUE when genKeyPair(). What's wrong with my card or my operation? I have no idea. Could…
Jsine
  • 57
  • 5
1
2 3 4