FAQ Database Discussion Community


Secure Box in JCOP card

smartcard,javacard,globalplatform,jcop,nxp-microcontroller
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, influence or manipulate the JCOP 2.4.2 R3 operating system...

Getting PCSC Exception 0x8010002f

javacard,globalplatform,jcop
/** * */ package testing; import javacard.framework.APDU; import javacard.framework.ISO7816; import javacard.framework.Applet; import javacard.framework.ISOException; import javacard.framework.OwnerPIN; import javacard.framework.Util; /** * @author amitp * */ public class Testing extends Applet { final static byte CLASS_ONE = (byte) 0x00; final static byte CLASS_TWO = (byte) 0xA0; final static byte INS_VERIFY = (byte) 0x20;...

What is the reaction of JCRE to uploading an applet with promiscuous AID?

smartcard,javacard,globalplatform
As we know the AID of applets mus have a length between 5 and 16 bytes. And in case of applet that they have a promiscuous length (greater than 16 byte or less than 5 bytes), the Converter doesn't works. But this is the Off-Card verifier. I want to see...

What does this default applets do?

smartcard,javacard,globalplatform
This is output of gp tool, when I tell it to list installed applets : gp >> gp -l AID: A000000151000000 (|....Q...|) ISD OP_READY: Security Domain, Card lock, Card terminate, Default selected, CVM (PIN) management AID: A0000001515350 (|....QSP|) ExM LOADED: (none) A000000151535041 (|....QSPA|) gp >> Q1: Which one of this...

How to try using Native Methods in Java card applets?

smartcard,javacard,globalplatform
This is a simple Hello World applet for Javacards : package helloWorldPackage; import javacard.framework.APDU; import javacard.framework.Applet; import javacard.framework.ISO7816; import javacard.framework.ISOException; import javacard.framework.Util; public class HelloWorldApplet extends Applet { private static final byte[] helloWorld = {(byte)'H',(byte)'e',(byte)'l',(byte)'l',(byte)'o',(byte)' ',(byte)'W',(byte)'o',(byte)'r',(byte)'l',(byte)'d',}; private static final byte HW_CLA = (byte)0x80; private static final byte HW_INS = (byte)0x00;...

An applet without any package, and a package without any applet

smartcard,javacard,globalplatform
This is contents of my smart card : C:\Users\ghasemi.IT\Downloads>gp -list AID: A000000003000000 (|........|) ISD OP_READY: Security Domain, Card lock, Card terminate, Default selected, CVM (PIN) management AID: 6D797061636B616731 (|mypackag1|) Exe LOADED: (none) Q1: Why the package with AID: 6D797061636B616731 doesn't have any applet? Can I conclude that it is a...

Why Javacard prevent uploading different in AID .cap files of a single javacard program?

smartcard,javacard,globalplatform
This is a simple javacard program (It do nothing!) : package testAID; import javacard.framework.APDU; import javacard.framework.Applet; import javacard.framework.ISOException; public class TestAID extends Applet { private TestAID() { } public static void install(byte bArray[], short bOffset, byte bLength) throws ISOException { new TestAID().register(); } public void process(APDU arg0) throws ISOException {...

what is diference between Security Domain with Delegated Management privilege and Authorized management?

smartcard,javacard,globalplatform
I want to know difference between Security Domain with Authorized Management privilege and Security Domain with delegated Management privilege. And what we do operation in two state(like loading, installing,...). I read Global platform 2.2.1 about this subject, But I understand meaning and different yet, And I want know for which...

Why my smart card accepts two different keys as its MAC key?

smartcard,javacard,3des,parity,globalplatform
As you see below, I tried to list installed applets on my card using gp -list. I specify some different key: GP: gp -mac 404142434445464748494A4B4C4D4E4F -list AID: A000000151000000 (|....Q...|) ISD OP_READY: Security Domain, Card lock, Card terminate, Default selected, CVM (PIN) management AID: A0000001515350 (|....QSP|) ExM LOADED: (none) A000000151535041 (|....QSPA|)...

What is the meaning of out put of GP -I command?

smartcard,javacard,globalplatform
Below, you see the output of gp -i command : gp :gp -i Reader: ACS ACR122 0 ATR: 3B8980014A434F5032343252334B More information about your card: http://smartcard-atr.appspot.com/parse?ATR=3B8980014 ***** Card info: ***** Card CPLC: IC Fabricator: 4790 IC Type: 5075 Operating System ID: 4791 Operating System release date: 2347 Operating System release level:...

Extended APDUs and T=0/1 communication protocols

smartcard,javacard,smartcard-reader,globalplatform,pyscard
I have a JCOP V2.4.2 R3 java card that it is mentioned in its datasheet "The card support both T=1 and T=0 communication protocols" I have also an ACR38 smart card reader that it support both T=0 and T=1 protocols. (I have T=0 communication with one card successfully and T=1...

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

javacard,globalplatform,jcop
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...

Why I receive `6C0B` instead of data that I expected?

javacard,globalplatform
I now have a Hello World project according this link and I made its .cap file successfully. I have "DE-ABCM_TB" reader and a SAM card also. My applet AID is 01 02 03 04 05 06 07 08 09 00 00 I could select my applet on the card.( I...