This discussion is archived
2 Replies Latest reply: Jan 17, 2013 12:30 PM by safarmer RSS

If the netbeans generated Apdu is like this, what is the AID?

936354 Newbie
Currently Being Moderated
//Test script for Applet 'TimeAttendApplet'

powerup;
// Select TimeAttendApplet //aid/8829CC9ED7/FB
0x00 0xA4 0x04 0x00 0X06 0X88 0X29 0XCC 0X9E 0XD7 0XFC 0x7F;

//Send the APDU here
//0x80 0xCA 0x00 0x00 <length> <data> 0x7F;

powerdown;
* %W% %E%
 */

package com.sun.jcclassic.clients.purseclient;

import java.rmi.*;
import javacard.framework.*;

import com.sun.javacard.clientlib.*;
import com.sun.javacard.rmiclientlib.*;

import com.sun.jcclassic.samples.rmi.Purse;

import java.util.ResourceBundle;

public class PurseClient {

    private static final byte[] RMI_DEMO_AID = {
        (byte)0xa0, (byte)0x00, (byte)0x00,
        (byte)0x00, (byte)0x62, (byte)0x03,
        (byte)0x01, (byte)0xc, (byte)0x8,
        (byte)0x01
    };
I am gonna substitute TimeAttendApplet to RMI_DEMO_AID
Thanks
Jack

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points