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
2
votes
4 answers

pro.javacard.gp.GPException: STRICT WARNING: Unfused JCOP detected

When trying to list the content of smart card using following command gp -l Getting following exception : pro.javacard.gp.GPException: STRICT WARNING: Unfused JCOP detected at…
Kunal Surana
  • 659
  • 5
  • 14
2
votes
1 answer

Secure Box in JCOP card

JCOP V2.4.2 Revision 3 Security Target: Page 11-12 A Secure Box concept is implemented within JCOP 2.4.2 R3. The Secure Box is a construct which allows to run non certified third party native code and ensures that this code cannot harm,…
Ebrahim Ghasemi
  • 5,850
  • 10
  • 52
  • 113
2
votes
2 answers

How to use JCOP proprietary method to return available memory?

Below, you see a program that is written to return the EEPROM available memory on reception of any APDU command : public class HelloWorld extends Applet { public static void install(byte[] bArray, short bOffset, byte bLength) { new…
Jean
  • 687
  • 1
  • 9
  • 25
2
votes
3 answers

Smart Card Pre-Personalization and Historical Bytes

I had a Smart Card that it was not fused (I mean it was not pre-personalized). It has an ATR=3B F9 13 00 00 81 31 FE 45 4A 43 4F 50 32 34 32 52 33 A2. Q1: What/where is the historical byte of my card? How I can analyse them? Q2: Where I can find the…
Ebrahim Ghasemi
  • 5,850
  • 10
  • 52
  • 113
1
vote
1 answer

How to modify an ATR of a JavaCard j2a040

I am trying to change the ATR of a Java Smartcard (JCOP) J2A040. I researched through the manuals and cannot find a definite answer. There are programs like PyResMan that successfully change it, however, I cannot figure out a way to change it…
Etienne
  • 41
  • 2
1
vote
1 answer

Javacard error APDU if buffer size >7

I'm trying to set the CommandAPDU buffer with a byte array. However, if the length is >7, it throws the following error: Exception in thread "main" java.lang.IllegalArgumentException: Invalid APDU: length=8, b1=1 at …
Cees Mandjes
  • 195
  • 12
1
vote
1 answer

JCOP Shell does not output prompts

I was working on an Applet of JCOP on Eclipse. But all of a sudden, no matter how I clean and try to create new projects, the JCOP Shell (JCShell) will selectively omit some outputs for commands sent in. I don't know what is wrong. And there does…
jackxujh
  • 983
  • 10
  • 31
1
vote
2 answers

Shareable Interface in Javacard: use cases and implementation

[Context] I need to send data from one applet to another. In addition, one of the applets needs to be deleted and reinstalled. After the installation, data exchange between the applets needs to be possible. Is Shareable Interface useful to realize…
1
vote
1 answer

Unable to read large data from the Card using Extended Length APDU

I am trying to write a data of length 0x2CF0 bytes using extended length APDU on to the card and it works fine. But i am unable to read the same amount of data back from the card using extended length apdu. I get the following…
Narasimha
  • 41
  • 2
1
vote
3 answers

JCOP 0x6A82 after sending Select + Transport Key

Hello I have one JCOP card not fused From my vendor I've got TK and command to open card When I sending to card [00:a4:04:00:10:40:41:42:43:44:45:46:47:48:49:4a:4b:4c:4d:4e:4f] I've got [6a:82] (File not found) How to personalized ?
Ralph M
  • 11
  • 1
  • 3
1
vote
1 answer

Javacard - Signining and verifying

I'm trying to sign a message on-card and verifying it off-card. The result is always false. I'm probably getting fetching the modulus and exponent incorrectly. Any ideas? Java applet code: protected MainApplet() { try { // CREATE RSA…
pelican_george
  • 961
  • 2
  • 13
  • 33
1
vote
2 answers

How to do a DAP verification in .cap files loading?

I want to install a .cap file. But I want the Card Manager to do a DAP verification during uploading my file. What shall I do? Does it check the DAP by default or I must use some parameters in the installation process? My smart card is a Java Card…
TheGoodUser
  • 1,188
  • 4
  • 26
  • 52
1
vote
1 answer

List applets on JCOP Cards using GPShell

I have a JCOP smart card (CJ3A080). I wanted to list default applets on the card, so I download last version of GPShell (1.4.4) and run the script named listjcop10.txt. But it failed. This is contets of the script : listjcop10.txt…
TheGoodUser
  • 1,188
  • 4
  • 26
  • 52
1
vote
1 answer

AID of JCOP's Security Domain and meaning of "Card Not Fused" or "Not Pre-Personalized"

I download a software named JCOP Manger from here to deal with my CJ3A080 jcop java card. It recognize my card currectly. but it don't let my to install or list applets! why? Output of this software: I try to select the ISD using CardTool (The…
TheGoodUser
  • 1,188
  • 4
  • 26
  • 52
1
vote
1 answer

Eclipse JCOP Tools Error - "no definition for label Label: 15659979, , block 230, def null"

I am working on JavaCard applet and I am facing a strange error in my NXP JCOP Tools Eclipse plugin: It says: "no definition for label Label: XXXXXXXX, , block XXX, def null". Do you have any idea what it could mean? Eclipse underlines the package…
vojta
  • 5,591
  • 2
  • 24
  • 64