cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/tkeystore_authentication2.script
changeset 15 da2ae96f639b
parent 8 35751d3474b7
child 29 ece3df019add
equal deleted inserted replaced
10:afc583cfa176 15:da2ae96f639b
    28 
    28 
    29 //!                           4) Retrieving label of a particular key store
    29 //!                           4) Retrieving label of a particular key store
    30 
    30 
    31 //!                           5) Closing key store
    31 //!                           5) Closing key store
    32 
    32 
    33 //!                           6) 1.0.0.0.1,Opening key store 1 in manager mode
    33 //!                           6) 1.0.0.0.1,Opening key store 1 in manager mode - deprecated
    34 
    34 
    35 //!                           7) 1.0.0.0.2,Opening key store 2 in manager mode
    35 //!                           7) 1.0.0.0.2,Opening key store 2 in manager mode
    36 
    36 
    37 //!                           8) 1.0.0.1.0,Add a key (TEST ID: GT0140-KEY002 and GT0140-KEY003)
    37 //!                           8) 1.0.0.1.0,Add a key (TEST ID: GT0140-KEY002 and GT0140-KEY003)
    38 
    38 
    72 
    72 
    73 //!                           26) Set a new authentication policy for a key with which the user is not registered
    73 //!                           26) Set a new authentication policy for a key with which the user is not registered
    74 
    74 
    75 //!                           27) Set a new authentication policy for a key with which the user is not registered
    75 //!                           27) Set a new authentication policy for a key with which the user is not registered
    76 
    76 
    77 //!                           28) 1.2.0.69.0 Closing key store 1
    77 //!                           28) 1.2.0.69.0 Closing key store 1 - deprecated
    78 
    78 
    79 //!                           29) 1.2.0.69.0 Closing key store 1
    79 //!                           29) 1.2.0.69.0 Closing key store 1
    80 
    80 
    81 //!                           30) 1.4.999.2, Sleep 5 seconds
    81 //!                           30) 1.4.999.2, Sleep 5 seconds
    82 
    82 
    89 RUN_TEST_STEP                 -1    CTestHandler        delete              
    89 RUN_TEST_STEP                 -1    CTestHandler        delete              
    90 
    90 
    91 RUN_TEST_STEP !Error=-2       -1    CTestHandler        init                   tkeystore_authentication2.ini   SEC-TKEYSTORE_AUTHENTICATION2-0001-004
    91 RUN_TEST_STEP !Error=-2       -1    CTestHandler        init                   tkeystore_authentication2.ini   SEC-TKEYSTORE_AUTHENTICATION2-0001-004
    92 
    92 
    93 RUN_TEST_STEP                 -1    CTestHandler        delete              
    93 RUN_TEST_STEP                 -1    CTestHandler        delete              
    94 
       
    95 RUN_TEST_STEP                 -1    CTestHandler        init                   tkeystore_authentication2.ini   SEC-TKEYSTORE_AUTHENTICATION2-0001-006
       
    96 
    94 
    97 RUN_TEST_STEP                 -1    CTestHandler        init                   tkeystore_authentication2.ini   SEC-TKEYSTORE_AUTHENTICATION2-0001-007
    95 RUN_TEST_STEP                 -1    CTestHandler        init                   tkeystore_authentication2.ini   SEC-TKEYSTORE_AUTHENTICATION2-0001-007
    98 
    96 
    99 RUN_TEST_STEP                 -1    CTestHandler        addkey                 tkeystore_authentication2.ini   SEC-TKEYSTORE_AUTHENTICATION2-0001-008
    97 RUN_TEST_STEP                 -1    CTestHandler        addkey                 tkeystore_authentication2.ini   SEC-TKEYSTORE_AUTHENTICATION2-0001-008
   100 
    98 
   136 
   134 
   137 RUN_TEST_STEP !Error=-9       -1    CTestHandler        authenticationpolicy   tkeystore_authentication2.ini   SEC-TKEYSTORE_AUTHENTICATION2-0001-027
   135 RUN_TEST_STEP !Error=-9       -1    CTestHandler        authenticationpolicy   tkeystore_authentication2.ini   SEC-TKEYSTORE_AUTHENTICATION2-0001-027
   138 
   136 
   139 RUN_TEST_STEP                 -1    CTestHandler        delete              
   137 RUN_TEST_STEP                 -1    CTestHandler        delete              
   140 
   138 
   141 RUN_TEST_STEP                 -1    CTestHandler        delete              
       
   142 
       
   143 RUN_TEST_STEP                 -1    CTestHandler        sleep                  tkeystore_authentication2.ini   SEC-TKEYSTORE_AUTHENTICATION2-0001-030
   139 RUN_TEST_STEP                 -1    CTestHandler        sleep                  tkeystore_authentication2.ini   SEC-TKEYSTORE_AUTHENTICATION2-0001-030
   144 
   140 
   145 RUN_TEST_STEP                 -1    CTestHandler        checkserverheaperror
   141 RUN_TEST_STEP                 -1    CTestHandler        checkserverheaperror
   146 
   142 
   147 END_TESTCASE                  SEC-TKEYSTORE_AUTHENTICATION2-0001
   143 END_TESTCASE                  SEC-TKEYSTORE_AUTHENTICATION2-0001