Commit 3371b67c authored by Sebastian Hans's avatar Sebastian Hans
Browse files

CR 55 SET(22)000131r1 Allowances for SCP80 in admin methods

-Annex E paret of the CR
parent 313781c0
Loading
Loading
Loading
Loading
+27 −23
Original line number Original line Diff line number Diff line
@@ -210,6 +210,7 @@ public class Test_Cre_Pcs_Spco extends UiccTestModel {
        /** Testcase 2                                                       */
        /** Testcase 2                                                       */
        /*********************************************************************/
        /*********************************************************************/


        // note that we don't want this method to consume any unnecessary 91XX -> true
        test.installApplet(CAP_FILE_PATH, CLASS_AID_1, APPLET_AID_1, 
        test.installApplet(CAP_FILE_PATH, CLASS_AID_1, APPLET_AID_1, 
                           "800A" + // TLV UICC Toolkit application specific parameters
                           "800A" + // TLV UICC Toolkit application specific parameters
                               "FF" +   // V Priority Level
                               "FF" +   // V Priority Level
@@ -225,7 +226,8 @@ public class Test_Cre_Pcs_Spco extends UiccTestModel {
                           "8104" + // TLV UICC Access application specific parameters
                           "8104" + // TLV UICC Access application specific parameters
                               "00" +   // LV UICC File System AID field
                               "00" +   // LV UICC File System AID field
                               "0100" + // LV Access Domain for UICC file system = ALWAYS
                               "0100" + // LV Access Domain for UICC file system = ALWAYS
                               "00" );  // LV Access Domain DAP field       
                               "00",    // LV Access Domain DAP field
                           true);
        
        
        // Fetch the SetUpMenu with the menus
        // Fetch the SetUpMenu with the menus
        menuList[0] = "Menu1";
        menuList[0] = "Menu1";
@@ -238,8 +240,8 @@ public class Test_Cre_Pcs_Spco extends UiccTestModel {
        /** Testcase 3                                                       */
        /** Testcase 3                                                       */
        /*********************************************************************/
        /*********************************************************************/


        // Lock Applet1
        // Lock Applet1; note that we don't want this method to consume any unnecessary 91XX -> true
        test.lockApplication(APPLET_AID_1);
        test.lockApplication(APPLET_AID_1, true);
        // Fetch the SetUpMenu with the menus
        // Fetch the SetUpMenu with the menus
        menuList[0] = "Menu2";
        menuList[0] = "Menu2";
        menuIdList[0] = "02";
        menuIdList[0] = "02";
@@ -250,8 +252,8 @@ public class Test_Cre_Pcs_Spco extends UiccTestModel {
        /** Testcase 4                                                       */
        /** Testcase 4                                                       */
        /*********************************************************************/
        /*********************************************************************/


        // Make selectable Applet1
        // Make selectable Applet1; note that we don't want this method to consume any unnecessary 91XX -> true
        test.unlockApplication(APPLET_AID_1);
        test.unlockApplication(APPLET_AID_1, true);
        // Fetch the SetUpMenu with the menus
        // Fetch the SetUpMenu with the menus
        menuList[0] = "Menu1";
        menuList[0] = "Menu1";
        menuIdList[0] = "01";
        menuIdList[0] = "01";
@@ -295,8 +297,8 @@ public class Test_Cre_Pcs_Spco extends UiccTestModel {
        /** Testcase 6                                                       */
        /** Testcase 6                                                       */
        /*********************************************************************/
        /*********************************************************************/
        
        
        // Lock Applet1
        // Lock Applet1; note that we don't want this method to consume any unnecessary 91XX -> true
        test.lockApplication(APPLET_AID_1);
        test.lockApplication(APPLET_AID_1, true);
        // Fetch SetUpEventList command
        // Fetch SetUpEventList command
        response = test.fetch("0D");
        response = test.fetch("0D");
        addResult(response.checkData("D00B8103 01050082 02818219 00") ||
        addResult(response.checkData("D00B8103 01050082 02818219 00") ||
@@ -309,8 +311,8 @@ public class Test_Cre_Pcs_Spco extends UiccTestModel {
        /** Testcase 7                                                       */
        /** Testcase 7                                                       */
        /*********************************************************************/
        /*********************************************************************/
        
        
        // Make selectable Applet1
        // Make selectable Applet1; note that we don't want this method to consume any unnecessary 91XX -> true
        test.unlockApplication(APPLET_AID_1);
        test.unlockApplication(APPLET_AID_1, true);
        // Fetch SetUpEventList command
        // Fetch SetUpEventList command
        response = test.fetch("0F");
        response = test.fetch("0F");
        addResult(response.checkData("D00D8103 01050082 02818219 020003") ||
        addResult(response.checkData("D00D8103 01050082 02818219 020003") ||
@@ -359,8 +361,8 @@ public class Test_Cre_Pcs_Spco extends UiccTestModel {
        response = test.terminalResponse("81030105 00820282 81830100");                                    
        response = test.terminalResponse("81030105 00820282 81830100");                                    
        addResult(response.checkSw("9000"));
        addResult(response.checkSw("9000"));


        // Delete Applet1
        // Delete Applet1; note that we don't want this method to consume any unnecessary 91XX -> true
        test.deleteApplet(APPLET_AID_1);
        test.deleteApplet(APPLET_AID_1, true);
        // Fetch SetUpEventList command
        // Fetch SetUpEventList command
        response = test.fetch("0D");
        response = test.fetch("0D");
        addResult(response.checkData("D00B8103 01050082 02818219 00") ||
        addResult(response.checkData("D00B8103 01050082 02818219 00") ||
@@ -380,7 +382,8 @@ public class Test_Cre_Pcs_Spco extends UiccTestModel {
                               "00" +   // V Maximum number of channels 
                               "00" +   // V Maximum number of channels 
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV TAR Value(s) 
                               "00" +   // LV TAR Value(s) 
                               "00" );  // V Maximum number of services
                               "00",    // V Maximum number of services
                           true);
        // Fetch SetUpEventList command
        // Fetch SetUpEventList command
        response = test.fetch("0F");
        response = test.fetch("0F");
        addResult(response.checkData("D00D8103 01050082 02818219 020003") ||
        addResult(response.checkData("D00D8103 01050082 02818219 020003") ||
@@ -411,8 +414,8 @@ public class Test_Cre_Pcs_Spco extends UiccTestModel {
        /** Testcase 10                                                      */
        /** Testcase 10                                                      */
        /*********************************************************************/
        /*********************************************************************/
        
        
        // Lock Applet1
        // Lock Applet1; note that we don't want this method to consume any unnecessary 91XX -> true
        test.lockApplication(APPLET_AID_1);
        test.lockApplication(APPLET_AID_1, true);
        // Fetch Polling Off command
        // Fetch Polling Off command
        response = test.fetch("0B");
        response = test.fetch("0B");
        addResult(response.checkData("D0098103 01040082 028182"));
        addResult(response.checkData("D0098103 01040082 028182"));
@@ -424,8 +427,8 @@ public class Test_Cre_Pcs_Spco extends UiccTestModel {
        /** Testcase 11                                                      */
        /** Testcase 11                                                      */
        /*********************************************************************/
        /*********************************************************************/
        
        
        // Make selectable Applet1
        // Make selectable Applet1; note that we don't want this method to consume any unnecessary 91XX -> true
        test.unlockApplication(APPLET_AID_1);
        test.unlockApplication(APPLET_AID_1, true);
        // Fetch Poll Interval command
        // Fetch Poll Interval command
        response = test.fetch("0F");
        response = test.fetch("0F");
        addResult(response.checkData(pollInterCmd));
        addResult(response.checkData(pollInterCmd));
@@ -453,8 +456,8 @@ public class Test_Cre_Pcs_Spco extends UiccTestModel {
        response = test.terminalResponse("81030103 00820282 81830100 84020010");                                    
        response = test.terminalResponse("81030103 00820282 81830100 84020010");                                    
        addResult(response.checkSw("9000"));
        addResult(response.checkSw("9000"));


        // Delete Applet1
        // Delete Applet1; note that we don't want this method to consume any unnecessary 91XX -> true
        test.deleteApplet(APPLET_AID_1);
        test.deleteApplet(APPLET_AID_1, true);
        // Fetch Polling Off command
        // Fetch Polling Off command
        response = test.fetch("0B");
        response = test.fetch("0B");
        addResult(response.checkData("D0098103 01040082 028182"));
        addResult(response.checkData("D0098103 01040082 028182"));
@@ -473,7 +476,8 @@ public class Test_Cre_Pcs_Spco extends UiccTestModel {
                               "00" +   // V Maximum number of channels 
                               "00" +   // V Maximum number of channels 
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV TAR Value(s) 
                               "00" +   // LV TAR Value(s) 
                               "00" );  // V Maximum number of services
                               "00",    // V Maximum number of services
                           true);
        // Fetch Poll Interval command
        // Fetch Poll Interval command
        response = test.fetch("0F");
        response = test.fetch("0F");
        addResult(response.checkData(pollInterCmd));
        addResult(response.checkData(pollInterCmd));
@@ -686,8 +690,8 @@ public class Test_Cre_Pcs_Spco extends UiccTestModel {
        response = test.terminalResponse("81030125 00820282 81830100");                                    
        response = test.terminalResponse("81030125 00820282 81830100");                                    
        addResult(response.checkSw("9000"));
        addResult(response.checkSw("9000"));
        
        
        //Lock Applet3 (testcase 14-14)
        //Lock Applet3 (testcase 14-14); note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.lockApplication(APPLET_AID_3);
        response = test.lockApplication(APPLET_AID_3, true);
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00","0C","00");
        response = test.status("00","0C","00");
        // Fetch the SetUpMenu
        // Fetch the SetUpMenu
@@ -703,8 +707,8 @@ public class Test_Cre_Pcs_Spco extends UiccTestModel {
        response = test.terminalResponse("81030125 00820282 81830100");                                    
        response = test.terminalResponse("81030125 00820282 81830100");                                    
        addResult(response.checkSw("9000"));
        addResult(response.checkSw("9000"));
        
        
        //Make selectable Applet3 (testcase 14-15)
        //Make selectable Applet3 (testcase 14-15); note that we don't want this method to consume any unnecessary 91XX -> true
        test.unlockApplication(APPLET_AID_3);
        test.unlockApplication(APPLET_AID_3, true);
        // Fetch the SetUpMenu
        // Fetch the SetUpMenu
        response = test.fetch("30");
        response = test.fetch("30");
        addResult(response.checkData("D02E8103 01250082 02818285 09554943" +
        addResult(response.checkData("D02E8103 01250082 02818285 09554943" +
+2 −2
Original line number Original line Diff line number Diff line
@@ -54,8 +54,8 @@ public class Test_Cre_Reg_Evtr extends UiccTestModel {
                            "00" + // LV TAR Value(s) 
                            "00" + // LV TAR Value(s) 
                            "00"); // V Maximum number of services
                            "00"); // V Maximum number of services


        // test script
        // test script; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.makeSelectableApplet(APPLET_AID_1);
        response = test.makeSelectableApplet(APPLET_AID_1, true);
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00", "0C", "00");
        response = test.status("00", "0C", "00");
        addResult(response.checkSw("910F"));
        addResult(response.checkSw("910F"));
+11 −8
Original line number Original line Diff line number Diff line
@@ -128,7 +128,7 @@ public class Test_Cre_Tin_Itid extends UiccTestModel {
        /** Testcase 4                                                       */
        /** Testcase 4                                                       */
        /*********************************************************************/
        /*********************************************************************/


        // Good Install Applet2
        // Good Install Applet2; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_2, APPLET_AID_2, 
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_2, APPLET_AID_2, 
                           "800A" + // TLV UICC Toolkit application specific parameters
                           "800A" + // TLV UICC Toolkit application specific parameters
                               "FF" +   // V Priority Level
                               "FF" +   // V Priority Level
@@ -140,7 +140,8 @@ public class Test_Cre_Tin_Itid extends UiccTestModel {
                               "00" +   // V Maximum number of channels 
                               "00" +   // V Maximum number of channels 
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV TAR Value(s) 
                               "00" +   // LV TAR Value(s) 
                               "00" );  // V Maximum number of services
                               "00",    // V Maximum number of services
                           true);


        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00","0C","00");
        response = test.status("00","0C","00");
@@ -156,7 +157,7 @@ public class Test_Cre_Tin_Itid extends UiccTestModel {
        /** Testcase 4                                                       */
        /** Testcase 4                                                       */
        /*********************************************************************/
        /*********************************************************************/


        // Good Install Applet3
        // Good Install Applet3; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_3, APPLET_AID_3, 
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_3, APPLET_AID_3, 
                           "800A" + // TLV UICC Toolkit application specific parameters
                           "800A" + // TLV UICC Toolkit application specific parameters
                               "FF" +   // V Priority Level
                               "FF" +   // V Priority Level
@@ -168,7 +169,8 @@ public class Test_Cre_Tin_Itid extends UiccTestModel {
                               "00" +   // V Maximum number of channels 
                               "00" +   // V Maximum number of channels 
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV TAR Value(s) 
                               "00" +   // LV TAR Value(s) 
                               "00" );  // V Maximum number of services
                               "00",    // V Maximum number of services
                           true);


        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00","0C","00");
        response = test.status("00","0C","00");
@@ -185,8 +187,8 @@ public class Test_Cre_Tin_Itid extends UiccTestModel {
        /** Testcase 5                                                       */
        /** Testcase 5                                                       */
        /*********************************************************************/
        /*********************************************************************/


        // Delete Applet2
        // Delete Applet2; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.deleteApplet(APPLET_AID_2);
        response = test.deleteApplet(APPLET_AID_2, true);


        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00","0C","00");
        response = test.status("00","0C","00");
@@ -197,7 +199,7 @@ public class Test_Cre_Tin_Itid extends UiccTestModel {
        menuList[2] = "Menu31"; menuIdList[2] = "81";
        menuList[2] = "Menu31"; menuIdList[2] = "81";
        fetchSetUpMenu("UICC TEST", null, (byte)3, menuIdList, menuList, null, null);
        fetchSetUpMenu("UICC TEST", null, (byte)3, menuIdList, menuList, null, null);


        // Good Install Applet2
        // Good Install Applet2; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_2, APPLET_AID_2, 
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_2, APPLET_AID_2, 
                           "800A" + // TLV UICC Toolkit application specific parameters
                           "800A" + // TLV UICC Toolkit application specific parameters
                               "FF" +   // V Priority Level
                               "FF" +   // V Priority Level
@@ -209,7 +211,8 @@ public class Test_Cre_Tin_Itid extends UiccTestModel {
                               "00" +   // V Maximum number of channels 
                               "00" +   // V Maximum number of channels 
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV TAR Value(s) 
                               "00" +   // LV TAR Value(s) 
                               "00" );  // V Maximum number of services
                               "00",    // V Maximum number of services
                           true);


        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00","0C","00");
        response = test.status("00","0C","00");
+27 −20
Original line number Original line Diff line number Diff line
@@ -51,7 +51,7 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
        /** Testcase 1                                                       */
        /** Testcase 1                                                       */
        /*********************************************************************/
        /*********************************************************************/


        // Install Applet1
        // Install Applet1; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_1, APPLET_AID_1, 
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_1, APPLET_AID_1, 
                           "8010" + // TLV UICC Toolkit application specific parameters
                           "8010" + // TLV UICC Toolkit application specific parameters
                               "FF" +   // V Priority Level
                               "FF" +   // V Priority Level
@@ -69,7 +69,8 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
                               "00" +   // V Maximum number of channels 
                               "00" +   // V Maximum number of channels 
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV TAR Value(s) 
                               "00" +   // LV TAR Value(s) 
                               "00" );  // V Maximum number of services
                               "00",    // V Maximum number of services
                           true);


        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00","0C","00");
        response = test.status("00","0C","00");
@@ -86,7 +87,7 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
        /** Testcase 2                                                       */
        /** Testcase 2                                                       */
        /*********************************************************************/
        /*********************************************************************/


        // Install Applet2
        // Install Applet2; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_2, APPLET_AID_2, 
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_2, APPLET_AID_2, 
                           "800A" + // TLV UICC Toolkit application specific parameters
                           "800A" + // TLV UICC Toolkit application specific parameters
                               "FF" +   // V Priority Level
                               "FF" +   // V Priority Level
@@ -98,7 +99,8 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
                               "00" +   // V Maximum number of channels 
                               "00" +   // V Maximum number of channels 
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV TAR Value(s) 
                               "00" +   // LV TAR Value(s) 
                               "00" );  // V Maximum number of services
                               "00",    // V Maximum number of services
            true);
        
        


        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
@@ -117,7 +119,7 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
        /** Testcase 3                                                       */
        /** Testcase 3                                                       */
        /*********************************************************************/
        /*********************************************************************/


        // Install Applet3
        // Install Applet3; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_3, APPLET_AID_3, 
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_3, APPLET_AID_3, 
                           "800C" + // TLV UICC Toolkit application specific parameters
                           "800C" + // TLV UICC Toolkit application specific parameters
                               "FF" +   // V Priority Level
                               "FF" +   // V Priority Level
@@ -135,7 +137,8 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
                           "8104" + // TLV UICC Access application specific parameters
                           "8104" + // TLV UICC Access application specific parameters
                               "00" +   // LV UICC File System AID field
                               "00" +   // LV UICC File System AID field
                               "0100" + // LV Access Domain for UICC file system = ALWAYS
                               "0100" + // LV Access Domain for UICC file system = ALWAYS
                               "00" );  // LV Access Domain DAP field       
                               "00",    // LV Access Domain DAP field
                           true);
        
        
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00","0C","00");
        response = test.status("00","0C","00");
@@ -155,7 +158,7 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
        /** Testcase 4                                                       */
        /** Testcase 4                                                       */
        /*********************************************************************/
        /*********************************************************************/


        // Install Applet4
        // Install Applet4; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_4, APPLET_AID_4, 
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_4, APPLET_AID_4, 
                           "800A" + // TLV UICC Toolkit application specific parameters
                           "800A" + // TLV UICC Toolkit application specific parameters
                               "FF" +   // V Priority Level
                               "FF" +   // V Priority Level
@@ -167,7 +170,8 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
                               "00" +   // V Maximum number of channels 
                               "00" +   // V Maximum number of channels 
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV TAR Value(s) 
                               "00" +   // LV TAR Value(s) 
                               "00" );  // V Maximum number of services
                               "00",    // V Maximum number of services
                           true);
        
        
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00","0C","00");
        response = test.status("00","0C","00");
@@ -188,7 +192,7 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
        /** Testcase 5                                                       */
        /** Testcase 5                                                       */
        /*********************************************************************/
        /*********************************************************************/


        // Install Applet5
        // Install Applet5; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_5, APPLET_AID_5, 
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_5, APPLET_AID_5, 
                           "800A" + // TLV UICC Toolkit application specific parameters
                           "800A" + // TLV UICC Toolkit application specific parameters
                               "FF" +   // V Priority Level
                               "FF" +   // V Priority Level
@@ -200,7 +204,8 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
                               "00" +   // V Maximum number of channels 
                               "00" +   // V Maximum number of channels 
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV TAR Value(s) 
                               "00" +   // LV TAR Value(s) 
                               "00" );  // V Maximum number of services
                               "00",    // V Maximum number of services
                           true);


        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00","0C","00");
        response = test.status("00","0C","00");
@@ -236,8 +241,8 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
        menuList[7] = "Menu51"; menuIdList[7] = "09";
        menuList[7] = "Menu51"; menuIdList[7] = "09";
        fetchSetUpMenu("UICC TEST", null, (byte)8, menuIdList, menuList, null, null);
        fetchSetUpMenu("UICC TEST", null, (byte)8, menuIdList, menuList, null, null);


        // Lock Applet2
        // Lock Applet2; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.lockApplication(APPLET_AID_2);
        response = test.lockApplication(APPLET_AID_2, true);
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00","0C","00");
        response = test.status("00","0C","00");
        addResult(response.getStatusWord().substring(0,2).compareTo("91") == 0);
        addResult(response.getStatusWord().substring(0,2).compareTo("91") == 0);
@@ -256,7 +261,7 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
        /** Testcase 7                                                       */
        /** Testcase 7                                                       */
        /*********************************************************************/
        /*********************************************************************/


        // Install Applet6
        // Install Applet6; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_6, APPLET_AID_6, 
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_6, APPLET_AID_6, 
                           "800E" + // TLV UICC Toolkit application specific parameters
                           "800E" + // TLV UICC Toolkit application specific parameters
                               "FF" +   // V Priority Level
                               "FF" +   // V Priority Level
@@ -272,7 +277,8 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
                               "00" +   // V Maximum number of channels 
                               "00" +   // V Maximum number of channels 
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV TAR Value(s) 
                               "00" +   // LV TAR Value(s) 
                               "00" );  // V Maximum number of services
                               "00",    // V Maximum number of services
                           true);


        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00","0C","00");
        response = test.status("00","0C","00");
@@ -312,8 +318,8 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
        menuList[10] = "Menu63"; menuIdList[10] = "12";
        menuList[10] = "Menu63"; menuIdList[10] = "12";
        fetchSetUpMenu("UICC TEST", null, (byte)11, menuIdList, menuList, null, null);
        fetchSetUpMenu("UICC TEST", null, (byte)11, menuIdList, menuList, null, null);


        // Unlock Applet2
        // Unlock Applet2; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.unlockApplication(APPLET_AID_2);
        response = test.unlockApplication(APPLET_AID_2, true);
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00","0C","00");
        response = test.status("00","0C","00");
        addResult(response.getStatusWord().substring(0,2).compareTo("91") == 0);
        addResult(response.getStatusWord().substring(0,2).compareTo("91") == 0);
@@ -337,8 +343,8 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
        /** Testcase 9                                                       */
        /** Testcase 9                                                       */
        /*********************************************************************/
        /*********************************************************************/


        // Delete Applet2
        // Delete Applet2; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.deleteApplet(APPLET_AID_2);
        response = test.deleteApplet(APPLET_AID_2, true);
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00","0C","00");
        response = test.status("00","0C","00");
        addResult(response.getStatusWord().substring(0,2).compareTo("91") == 0);
        addResult(response.getStatusWord().substring(0,2).compareTo("91") == 0);
@@ -361,7 +367,7 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
        /** Testcase 10                                                      */
        /** Testcase 10                                                      */
        /*********************************************************************/
        /*********************************************************************/


        // Install Applet2
        // Install Applet2; note that we don't want this method to consume any unnecessary 91XX -> true
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_2, APPLET_AID_2, 
        response = test.installApplet(CAP_FILE_PATH, CLASS_AID_2, APPLET_AID_2, 
                           "800A" + // TLV UICC Toolkit application specific parameters
                           "800A" + // TLV UICC Toolkit application specific parameters
                               "FF" +   // V Priority Level
                               "FF" +   // V Priority Level
@@ -373,7 +379,8 @@ public class Test_Cre_Tin_Itpo extends UiccTestModel {
                               "00" +   // V Maximum number of channels 
                               "00" +   // V Maximum number of channels 
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV TAR Value(s) 
                               "00" +   // LV TAR Value(s) 
                               "00" );  // V Maximum number of services
                               "00",    // V Maximum number of services
                           true);
        
        
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        // Send a status command to be sure to retrieve the correct status word in the RAPDU
        response = test.status("00","0C","00");
        response = test.status("00","0C","00");
+3 −2
Original line number Original line Diff line number Diff line
@@ -47,7 +47,7 @@ public class Test_Cre_Tin_Nbme extends UiccTestModel {
        /** Testcase 1-2                                                     */
        /** Testcase 1-2                                                     */
        /*********************************************************************/
        /*********************************************************************/


        // Install Applet1
        // Install Applet1; note that we don't want this method to consume any unnecessary 91XX -> true
        test.installApplet(CAP_FILE_PATH, CLASS_AID_1, APPLET_AID_1, 
        test.installApplet(CAP_FILE_PATH, CLASS_AID_1, APPLET_AID_1, 
                           "800E" + // TLV UICC Toolkit application specific parameters
                           "800E" + // TLV UICC Toolkit application specific parameters
                               "FF" +   // V Priority Level
                               "FF" +   // V Priority Level
@@ -63,7 +63,8 @@ public class Test_Cre_Tin_Nbme extends UiccTestModel {
                               "00" +   // V Maximum number of channels 
                               "00" +   // V Maximum number of channels 
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV Minimum Security Level field
                               "00" +   // LV TAR Value(s) 
                               "00" +   // LV TAR Value(s) 
                               "00" );  // V Maximum number of services
                               "00",    // V Maximum number of services
                           true);
        
        
        // Fetch & Terminal response
        // Fetch & Terminal response
        menuList[0] = "Menu1"; menuIdList[0] = "01";
        menuList[0] = "Menu1"; menuIdList[0] = "01";