removed MUSCLE applet
it never worked with OpenSC anyway
This commit is contained in:
Submodule ACardEmulator/app/src/main/external/MuscleApplet deleted from d005f36209
@@ -30,7 +30,6 @@ import com.licel.jcardsim.base.Simulator;
|
||||
import com.licel.jcardsim.base.SimulatorRuntime;
|
||||
import com.licel.jcardsim.samples.HelloWorldApplet;
|
||||
import com.licel.jcardsim.utils.AIDUtil;
|
||||
import com.musclecard.CardEdge.CardEdge;
|
||||
|
||||
import net.pwendland.javacard.pki.isoapplet.IsoApplet;
|
||||
|
||||
@@ -115,21 +114,6 @@ public class SimulatorService extends HostApduService {
|
||||
extra_error += "\n" + "Could not install " + name + " (AID: " + aid + ")";
|
||||
}
|
||||
|
||||
name = getResources().getString(R.string.applet_muscle);
|
||||
aid = getResources().getString(R.string.aid_muscle);
|
||||
try {
|
||||
|
||||
byte[] aid_bytes = Util.hexStringToByteArray(aid);
|
||||
byte[] inst_params = new byte[aid.length()+1];
|
||||
inst_params[0] = (byte) aid_bytes.length;
|
||||
System.arraycopy(aid_bytes, 0, inst_params, 1, aid_bytes.length);
|
||||
simulator.installApplet(AIDUtil.create(aid), CardEdge.class, inst_params, (short) 0, (byte) inst_params.length);
|
||||
extra_install += "\n" + name + " (AID: " + aid + ")";
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
extra_error += "\n" + "Could not install " + name + " (AID: " + aid + ")";
|
||||
}
|
||||
|
||||
Intent i = new Intent(TAG);
|
||||
if (!extra_error.isEmpty())
|
||||
i.putExtra(EXTRA_ERROR, extra_error);
|
||||
|
||||
@@ -23,8 +23,6 @@
|
||||
<string name="applet_openpgp">Yubico\'s OpenPGP Applet</string>
|
||||
<string name="aid_oath">A000000527210101</string>
|
||||
<string name="applet_oath">Yubico\'s OATH Applet</string>
|
||||
<string name="aid_muscle">A00000000101</string>
|
||||
<string name="applet_muscle">MUSCLE Applet</string>
|
||||
<string name="startup_title">Tap To Emulate!</string>
|
||||
<string name="startup_message">The following smart card applets are supported:\n
|
||||
\n
|
||||
@@ -32,7 +30,6 @@
|
||||
<b>OpenPGP Applet</b> <small>(AID D2760001240102000000000000010000)</small>\n
|
||||
<b>OATH Applet</b> <small>(AID A000000527210101)</small>\n
|
||||
<b>ISO Applet</b> <small>(AID F276A288BCFBA69D34F31001)</small>\n
|
||||
<b>MUSCLE Applet</b> <small>(AID A00000000101)</small>\n
|
||||
\n
|
||||
Place your device on a contact-less reader. When the reader issues a SELECT command for one of the application identifiers above, the emulator creates the appropriate applet. The emulated applet will then handle all subsequent APDUs.</string>
|
||||
|
||||
|
||||
@@ -21,8 +21,4 @@
|
||||
<aid-filter android:name="@string/aid_isoapplet"/>
|
||||
</aid-group>
|
||||
|
||||
<aid-group android:description="@string/applet_muscle" android:category="other">
|
||||
<aid-filter android:name="@string/aid_muscle"/>
|
||||
</aid-group>
|
||||
|
||||
</host-apdu-service>
|
||||
|
||||
Reference in New Issue
Block a user