cryptoservices/certificateandkeymgmt/tx509/Scripts/tx509_dev_certs.txt
changeset 0 2c201484c85f
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 <action>
       
     2 	<actionname>TX509 Extension Tests 01 - Empty certificate extensions</actionname>
       
     3 	<actiontype>Extension</actiontype>
       
     4 	<actionbody>
       
     5 		<filename>\tx509\data\extensions\certs\empty.der</filename>
       
     6 		<device_id_list></device_id_list>
       
     7 		<sid_list></sid_list>
       
     8 		<vid_list></vid_list>
       
     9 		<capabilities></capabilities>
       
    10 		<corrupt>false</corrupt>
       
    11 		<match>true</match>
       
    12 	</actionbody>
       
    13 	<actionresult>
       
    14 		<return>KErrNone</return>
       
    15 	</actionresult>
       
    16 </action>
       
    17 
       
    18 <action>
       
    19 	<actionname>TX509 Extension Tests 02 - Missing Device Id constraint</actionname>
       
    20 	<actiontype>Extension</actiontype>
       
    21 	<actionbody>
       
    22 		<filename>\tx509\data\extensions\certs\absent.der</filename>
       
    23 		<device_id_list>
       
    24 				<device_id>11111111-222222-3-44</device_id>
       
    25 		</device_id_list>
       
    26 		<sid_list></sid_list>
       
    27 		<vid_list></vid_list>
       
    28 		<capabilities></capabilities>
       
    29 		<corrupt>false</corrupt>
       
    30 		<match>false</match>
       
    31 	</actionbody>
       
    32 	<actionresult>
       
    33 		<return>KErrNone</return>
       
    34 	</actionresult>
       
    35 </action>
       
    36 
       
    37 <action>
       
    38 	<actionname>TX509 Extension Tests 03 - Missing SID constraint</actionname>
       
    39 	<actiontype>Extension</actiontype>
       
    40 	<actionbody>
       
    41 		<filename>\tx509\data\extensions\certs\absent.der</filename>
       
    42 		<device_id_list></device_id_list>
       
    43 		<sid_list>0x11000006</sid_list>
       
    44 		<vid_list></vid_list>
       
    45 		<capabilities></capabilities>
       
    46 		<corrupt>false</corrupt>
       
    47 		<match>false</match>
       
    48 	</actionbody>
       
    49 	<actionresult>
       
    50 		<return>KErrNone</return>
       
    51 	</actionresult>
       
    52 </action>
       
    53 
       
    54 <action>
       
    55 	<actionname>TX509 Extension Tests 04 - Missing VID constraint</actionname>
       
    56 	<actiontype>Extension</actiontype>
       
    57 	<actionbody>
       
    58 		<filename>\tx509\data\extensions\certs\absent.der</filename>
       
    59 		<device_id_list></device_id_list>
       
    60 		<sid_list></sid_list>
       
    61 		<vid_list>0x70000001</vid_list>
       
    62 		<capabilities></capabilities>
       
    63 		<corrupt>false</corrupt>
       
    64 		<match>false</match>
       
    65 	</actionbody>
       
    66 	<actionresult>
       
    67 		<return>KErrNone</return>
       
    68 	</actionresult>
       
    69 </action>
       
    70 
       
    71 <action>
       
    72 	<actionname>TX509 Extension Tests 05 - Missing capabilities constraint</actionname>
       
    73 	<actiontype>Extension</actiontype>
       
    74 	<actionbody>
       
    75 		<filename>\tx509\data\extensions\certs\absent.der</filename>
       
    76 		<device_id_list></device_id_list>
       
    77 		<sid_list></sid_list>
       
    78 		<vid_list></vid_list>
       
    79 		<capabilities>1</capabilities>
       
    80 		<corrupt>false</corrupt>
       
    81 		<match>false</match>
       
    82 	</actionbody>
       
    83 	<actionresult>
       
    84 		<return>KErrNone</return>
       
    85 	</actionresult>
       
    86 </action>
       
    87 
       
    88 <action>
       
    89 	<actionname>TX509 Extension Tests 06 - Match All Fields</actionname>
       
    90 	<actiontype>Extension</actiontype>
       
    91 	<actionbody>
       
    92 		<filename>\tx509\data\extensions\certs\simple.der</filename>
       
    93 		<device_id_list>
       
    94 				<device_id>11111111-222222-3-44</device_id>
       
    95 		</device_id_list>
       
    96 		<sid_list>
       
    97 				<sid>0x11000006</sid>
       
    98 		</sid_list>
       
    99 		<vid_list>
       
   100 				<vid>0x70000001</vid>
       
   101 		</vid_list>
       
   102 		<capabilities>01111111111111111111</capabilities>
       
   103 		<corrupt>false</corrupt>
       
   104 		<match>true</match>
       
   105 	</actionbody>
       
   106 	<actionresult>
       
   107 		<return>KErrNone</return>
       
   108 	</actionresult>
       
   109 </action>
       
   110 
       
   111 <action>
       
   112 	<actionname>TX509 Extension Tests 07 - Multiple Values</actionname>
       
   113 	<actiontype>Extension</actiontype>
       
   114 	<actionbody>
       
   115 		<filename>\tx509\data\extensions\certs\multi.der</filename>
       
   116 		<device_id_list>
       
   117 				<device_id>11111111-222222-3-41</device_id>
       
   118 				<device_id>11111111-222222-3-42</device_id>
       
   119 				<device_id>11111111-222222-3-43</device_id>
       
   120 				<device_id>11111111-222222-3-44</device_id>
       
   121 				<device_id>11111111-222222-3-45</device_id>
       
   122 				<device_id>11111111-222222-3-46</device_id>
       
   123 				<device_id>11111111-222222-3-47</device_id>
       
   124 				<device_id>11111111-222222-3-48</device_id>
       
   125 				<device_id>11111111-222222-3-49</device_id>
       
   126 				<device_id>11111111-222222-3-50</device_id>
       
   127 		</device_id_list>
       
   128 		<sid_list>
       
   129 				<sid>0x11000001</sid>
       
   130 				<sid>0x11000002</sid>
       
   131 				<sid>0x11000003</sid>
       
   132 				<sid>0x11000004</sid>
       
   133 				<sid>0x11000005</sid>
       
   134 				<sid>0x11000006</sid>
       
   135 				<sid>0x11000007</sid>
       
   136 				<sid>0x11000008</sid>
       
   137 				<sid>0x11000009</sid>
       
   138 				<sid>0x1100000A</sid>
       
   139 		</sid_list>
       
   140 		<vid_list>
       
   141 				<vid>0x70000001</vid>
       
   142 				<vid>0x70000002</vid>
       
   143 				<vid>0x70000003</vid>
       
   144 				<vid>0x70000004</vid>
       
   145 				<vid>0x70000005</vid>
       
   146 				<vid>0x70000006</vid>
       
   147 				<vid>0x70000007</vid>
       
   148 				<vid>0x70000008</vid>
       
   149 				<vid>0x70000009</vid>
       
   150 				<vid>0x7000000A</vid>
       
   151 		</vid_list>
       
   152 		<capabilities>000000000000000111</capabilities>
       
   153 		<corrupt>false</corrupt>
       
   154 		<match>true</match>
       
   155 	</actionbody>
       
   156 	<actionresult>
       
   157 		<return>KErrNone</return>
       
   158 	</actionresult>
       
   159 </action>
       
   160 
       
   161 <action>
       
   162 	<actionname>TX509 Extension Tests 08 - All possible capabilities except TCB.</actionname>
       
   163 	<actiontype>Extension</actiontype>
       
   164 	<actionbody>
       
   165 		<filename>\tx509\data\extensions\certs\longcaps.der</filename>
       
   166 		<capabilities>01111111111111111111</capabilities>
       
   167 		<corrupt>false</corrupt>
       
   168 		<match>true</match>
       
   169 	</actionbody>
       
   170 	<actionresult>
       
   171 		<return>KErrNone</return>
       
   172 	</actionresult>
       
   173 </action>
       
   174 
       
   175 
       
   176 <action>
       
   177 	<actionname>TX509 Extension Tests 09 - All possible capabilities except TCB.</actionname>
       
   178 	<actiontype>Extension</actiontype>
       
   179 	<actionbody>
       
   180 		<filename>\tx509\data\extensions\certs\longcaps.der</filename>
       
   181 		<capabilities>01111111111111111111</capabilities>
       
   182 		<corrupt>false</corrupt>
       
   183 		<match>true</match>
       
   184 	</actionbody>
       
   185 	<actionresult>
       
   186 		<return>KErrNone</return>
       
   187 	</actionresult>
       
   188 </action>
       
   189 
       
   190 
       
   191 <action>
       
   192 	<actionname>TX509 Extension Tests 10 - Test error handling of zero length integer fields.</actionname>
       
   193 	<actiontype>Extension</actiontype>
       
   194 	<actionbody>
       
   195 		<filename>\tx509\data\extensions\certs\empty_fields.der</filename>
       
   196 		<device_id_list>
       
   197 				<device_id></device_id>
       
   198 		</device_id_list>
       
   199 		<vid_list></vid_list>
       
   200 		<sid_list></sid_list>
       
   201 		<capabilities></capabilities>
       
   202 		<corrupt>true</corrupt>
       
   203 		<match>true</match>
       
   204 	</actionbody>
       
   205 	<actionresult>
       
   206 		<return>KErrNone</return>
       
   207 	</actionresult>
       
   208 </action>
       
   209 
       
   210 <action>
       
   211 	<actionname>TX509 Extension Tests 11 - Incorrect data type associated with an OID.</actionname>
       
   212 	<actiontype>Extension</actiontype>
       
   213 	<actionbody>
       
   214 		<filename>\tx509\data\extensions\certs\corrupt.der</filename>
       
   215 		<corrupt>true</corrupt>
       
   216 		<match>true</match>
       
   217 	</actionbody>
       
   218 	<actionresult>
       
   219 		<return>KErrNone</return>
       
   220 	</actionresult>
       
   221 </action>
       
   222 
       
   223 <action>
       
   224 	<actionname>TX509 Extension Tests 12 - Symbian Signed Refernce - 1 </actionname>
       
   225 	<actiontype>Extension</actiontype>
       
   226 	<actionbody>
       
   227 		<filename>\tx509\data\extensions\certs\SymbianSigned_T1.der</filename>
       
   228 		<device_id_list>
       
   229 				<device_id>11111111-222222-3-44</device_id>
       
   230 		</device_id_list>
       
   231 		<capabilities>11000000100</capabilities>
       
   232 		<corrupt>true</corrupt>
       
   233 		<match>false</match>
       
   234 	</actionbody>
       
   235 	<actionresult>
       
   236 		<return>KErrNone</return>
       
   237 	</actionresult>
       
   238 </action>