}
else if (command.getInstruction() == Apdu.INS_UPDATE_BINARY) {
return writeBinary(command);
}
else if (command.getInstruction() == Apdu.INS_INTERNAL_AUTHENTICATE_ACS) {
return new Response(0x90, 0, null);
}
else if (command.getInstruction() == Apdu.INS_EXTERNAL_AUTHENTICATE) {
return new Response(0x90, 0, null);
}
throw new RuntimeException("Unknown command: " + command.getInstruction());
}