sl@0
|
1 |
//! Cancel2.txt
|
sl@0
|
2 |
//! Cancellation tests for the certificate addition, deletion, trust&application setting with notification
|
sl@0
|
3 |
//! to the client process.
|
sl@0
|
4 |
|
sl@0
|
5 |
// Note: The in-source test tag is only added to the new tests for PREQ226. The tests without test tag is the existing tests
|
sl@0
|
6 |
// in the certstore component, which are used to set up the environment needed by the PREQ226 tests.
|
sl@0
|
7 |
|
sl@0
|
8 |
// Setup ///////////////////////////////////////////////////////////////////////
|
sl@0
|
9 |
|
sl@0
|
10 |
<action>
|
sl@0
|
11 |
<actionname>No Test,Opening a CertificateAppInfoManager</actionname>
|
sl@0
|
12 |
<actiontype>initappmanager</actiontype>
|
sl@0
|
13 |
<actionbody></actionbody>
|
sl@0
|
14 |
<actionresult>
|
sl@0
|
15 |
<return>KErrNone</return>
|
sl@0
|
16 |
</actionresult>
|
sl@0
|
17 |
</action>
|
sl@0
|
18 |
|
sl@0
|
19 |
<action>
|
sl@0
|
20 |
<actionname>No Test,Adding client A1</actionname>
|
sl@0
|
21 |
<actiontype>addclient</actiontype>
|
sl@0
|
22 |
<actionbody>
|
sl@0
|
23 |
<name>A1</name>
|
sl@0
|
24 |
<uid>1</uid>
|
sl@0
|
25 |
</actionbody>
|
sl@0
|
26 |
<actionresult>
|
sl@0
|
27 |
<return>KErrNone</return>
|
sl@0
|
28 |
</actionresult>
|
sl@0
|
29 |
</action>
|
sl@0
|
30 |
|
sl@0
|
31 |
<action>
|
sl@0
|
32 |
<actionname>No Test,Adding client A2</actionname>
|
sl@0
|
33 |
<actiontype>addclient</actiontype>
|
sl@0
|
34 |
<actionbody>
|
sl@0
|
35 |
<name>A2</name>
|
sl@0
|
36 |
<uid>2</uid>
|
sl@0
|
37 |
</actionbody>
|
sl@0
|
38 |
<actionresult>
|
sl@0
|
39 |
<return>KErrNone</return>
|
sl@0
|
40 |
</actionresult>
|
sl@0
|
41 |
</action>
|
sl@0
|
42 |
|
sl@0
|
43 |
<action>
|
sl@0
|
44 |
<actionname>No Test,Adding client A3</actionname>
|
sl@0
|
45 |
<actiontype>addclient</actiontype>
|
sl@0
|
46 |
<actionbody>
|
sl@0
|
47 |
<name>A3</name>
|
sl@0
|
48 |
<uid>3</uid>
|
sl@0
|
49 |
</actionbody>
|
sl@0
|
50 |
<actionresult>
|
sl@0
|
51 |
<return>KErrNone</return>
|
sl@0
|
52 |
</actionresult>
|
sl@0
|
53 |
</action>
|
sl@0
|
54 |
|
sl@0
|
55 |
<action>
|
sl@0
|
56 |
<actionname>No Test,Adding client A4</actionname>
|
sl@0
|
57 |
<actiontype>addclient</actiontype>
|
sl@0
|
58 |
<actionbody>
|
sl@0
|
59 |
<name>A4</name>
|
sl@0
|
60 |
<uid>4</uid>
|
sl@0
|
61 |
</actionbody>
|
sl@0
|
62 |
<actionresult>
|
sl@0
|
63 |
<return>KErrNone</return>
|
sl@0
|
64 |
</actionresult>
|
sl@0
|
65 |
</action>
|
sl@0
|
66 |
|
sl@0
|
67 |
<action>
|
sl@0
|
68 |
<actionname>No Test,Deleting the CertificateAppInfoManager</actionname>
|
sl@0
|
69 |
<actiontype>deleteappmanager</actiontype>
|
sl@0
|
70 |
<actionbody></actionbody>
|
sl@0
|
71 |
<actionresult>
|
sl@0
|
72 |
<return>KErrNone</return>
|
sl@0
|
73 |
</actionresult>
|
sl@0
|
74 |
</action>
|
sl@0
|
75 |
|
sl@0
|
76 |
<action>
|
sl@0
|
77 |
<actionname>Import a RSA key rsacertkey1</actionname>
|
sl@0
|
78 |
<actiontype>importkey</actiontype>
|
sl@0
|
79 |
<actionbody>
|
sl@0
|
80 |
<ImportData>rsacertkey1.txt</ImportData>
|
sl@0
|
81 |
<keyusage>AllUsagesButNR</keyusage>
|
sl@0
|
82 |
<keylabel>*IMPORTED* RSA key 1</keylabel>
|
sl@0
|
83 |
<keyaccesstype>Extractable</keyaccesstype>
|
sl@0
|
84 |
</actionbody>
|
sl@0
|
85 |
<actionresult>
|
sl@0
|
86 |
<return>KErrNone</return>
|
sl@0
|
87 |
</actionresult>
|
sl@0
|
88 |
</action>
|
sl@0
|
89 |
|
sl@0
|
90 |
<action>
|
sl@0
|
91 |
<actionname>Opening a writable certificate store manager</actionname>
|
sl@0
|
92 |
<actiontype>init</actiontype>
|
sl@0
|
93 |
<actionbody>
|
sl@0
|
94 |
<mode>write</mode>
|
sl@0
|
95 |
</actionbody>
|
sl@0
|
96 |
<actionresult>
|
sl@0
|
97 |
<return>KErrNone</return>
|
sl@0
|
98 |
</actionresult>
|
sl@0
|
99 |
</action>
|
sl@0
|
100 |
|
sl@0
|
101 |
<action>
|
sl@0
|
102 |
<actionname>Deleting all certs</actionname>
|
sl@0
|
103 |
<actiontype>deletecert</actiontype>
|
sl@0
|
104 |
<actionbody>
|
sl@0
|
105 |
<label>*.*</label>
|
sl@0
|
106 |
<deleteallcerts>1</deleteallcerts>
|
sl@0
|
107 |
</actionbody>
|
sl@0
|
108 |
<actionresult>
|
sl@0
|
109 |
<return>KErrNone</return>
|
sl@0
|
110 |
</actionresult>
|
sl@0
|
111 |
</action>
|
sl@0
|
112 |
|
sl@0
|
113 |
<action>
|
sl@0
|
114 |
<actionname>Deleting the writable certificate store manager</actionname>
|
sl@0
|
115 |
<actiontype>delete</actiontype>
|
sl@0
|
116 |
<actionbody></actionbody>
|
sl@0
|
117 |
<actionresult>
|
sl@0
|
118 |
<return>KErrNone</return>
|
sl@0
|
119 |
</actionresult>
|
sl@0
|
120 |
</action>
|
sl@0
|
121 |
|
sl@0
|
122 |
<action>
|
sl@0
|
123 |
<actionname>Enabling cancellation testing</actionname>
|
sl@0
|
124 |
<actiontype>startcancellation</actiontype>
|
sl@0
|
125 |
<actionresult>
|
sl@0
|
126 |
<return>KErrNone</return>
|
sl@0
|
127 |
</actionresult>
|
sl@0
|
128 |
</action>
|
sl@0
|
129 |
|
sl@0
|
130 |
// Initialisation //////////////////////////////////////////////////////////////
|
sl@0
|
131 |
|
sl@0
|
132 |
<action>
|
sl@0
|
133 |
<actionname>Opening a writable certificate store manager</actionname>
|
sl@0
|
134 |
<actiontype>init</actiontype>
|
sl@0
|
135 |
<actionbody>
|
sl@0
|
136 |
<mode>write</mode>
|
sl@0
|
137 |
</actionbody>
|
sl@0
|
138 |
<actionresult>
|
sl@0
|
139 |
<return>KErrNone</return>
|
sl@0
|
140 |
</actionresult>
|
sl@0
|
141 |
</action>
|
sl@0
|
142 |
|
sl@0
|
143 |
// Add certs ///////////////////////////////////////////////////////////////////
|
sl@0
|
144 |
|
sl@0
|
145 |
//! @file
|
sl@0
|
146 |
//! @SYMTestCaseID UCTSSEC-CT-WModeUCTAddCCancelWN1.1
|
sl@0
|
147 |
//! @SYMTestCaseDesc The test is to test cancellation of X509 CA certificate addition with notification.
|
sl@0
|
148 |
//! @SYMPREQ 226
|
sl@0
|
149 |
//! @SYMTestCasePriority High
|
sl@0
|
150 |
//! @SYMTestExpectedResults KErrNone
|
sl@0
|
151 |
|
sl@0
|
152 |
<action>
|
sl@0
|
153 |
<actionname>1.1, Cancel X509 CA certificate CAX1 addition with notification</actionname>
|
sl@0
|
154 |
<actiontype>addcert</actiontype>
|
sl@0
|
155 |
<actionbody>
|
sl@0
|
156 |
<format>X509</format>
|
sl@0
|
157 |
<label>CAX1</label>
|
sl@0
|
158 |
<issuerkey></issuerkey>
|
sl@0
|
159 |
<subjectkey></subjectkey>
|
sl@0
|
160 |
<certstore>0</certstore>
|
sl@0
|
161 |
<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
|
sl@0
|
162 |
<certowner>CA</certowner>
|
sl@0
|
163 |
<ChangeNotification>1</ChangeNotification>
|
sl@0
|
164 |
</actionbody>
|
sl@0
|
165 |
<actionresult>
|
sl@0
|
166 |
<return>KErrNone</return>
|
sl@0
|
167 |
</actionresult>
|
sl@0
|
168 |
</action>
|
sl@0
|
169 |
|
sl@0
|
170 |
//! @file
|
sl@0
|
171 |
//! @SYMTestCaseID UCTSSEC-CT-WModeUCTAddCCancelWN1.2
|
sl@0
|
172 |
//! @SYMTestCaseDesc The test is to test cancellation of WTLS CA certificate addition with notification.
|
sl@0
|
173 |
//! @SYMPREQ 226
|
sl@0
|
174 |
//! @SYMTestCasePriority High
|
sl@0
|
175 |
//! @SYMTestExpectedResults KErrNone
|
sl@0
|
176 |
<action>
|
sl@0
|
177 |
<actionname>1.2, Cancel WTLS CA certificate CAW1 addition with notification</actionname>
|
sl@0
|
178 |
<actiontype>addcert</actiontype>
|
sl@0
|
179 |
<actionbody>
|
sl@0
|
180 |
<format>WTLS</format>
|
sl@0
|
181 |
<label>CAW1</label>
|
sl@0
|
182 |
<issuerkey></issuerkey>
|
sl@0
|
183 |
<subjectkey></subjectkey>
|
sl@0
|
184 |
<certstore>0</certstore>
|
sl@0
|
185 |
<certfile>c:\unifiedcertstore2\CAW1.cer</certfile>
|
sl@0
|
186 |
<certowner>CA</certowner>
|
sl@0
|
187 |
<ChangeNotification>1</ChangeNotification>
|
sl@0
|
188 |
</actionbody>
|
sl@0
|
189 |
<actionresult>
|
sl@0
|
190 |
<return>KErrNone</return>
|
sl@0
|
191 |
</actionresult>
|
sl@0
|
192 |
</action>
|
sl@0
|
193 |
|
sl@0
|
194 |
//! @file
|
sl@0
|
195 |
//! @SYMTestCaseID UCTSSEC-CT-WModeUCTAddCCancelWN1.3
|
sl@0
|
196 |
//! @SYMTestCaseDesc The test is to test cancellation of X509 user certificate addition with notification.
|
sl@0
|
197 |
//! @SYMPREQ 226
|
sl@0
|
198 |
//! @SYMTestCasePriority High
|
sl@0
|
199 |
//! @SYMTestExpectedResults KErrNone
|
sl@0
|
200 |
<action>
|
sl@0
|
201 |
<actionname>1.3, Cancel X509 user certificate rsacert1 addition with notification</actionname>
|
sl@0
|
202 |
<actiontype>addcert</actiontype>
|
sl@0
|
203 |
<actionbody>
|
sl@0
|
204 |
<format>X509</format>
|
sl@0
|
205 |
<label>rsacert1</label>
|
sl@0
|
206 |
<issuerkey></issuerkey>
|
sl@0
|
207 |
<subjectkey>4808f03892fe836e78d048bcefcca4a37913d886</subjectkey>
|
sl@0
|
208 |
<certstore>0</certstore>
|
sl@0
|
209 |
<certfile>c:\unifiedcertstore2\rsacert1.cer</certfile>
|
sl@0
|
210 |
<certowner>User</certowner>
|
sl@0
|
211 |
<ChangeNotification>1</ChangeNotification>
|
sl@0
|
212 |
</actionbody>
|
sl@0
|
213 |
<actionresult>
|
sl@0
|
214 |
<return>KErrNone</return>
|
sl@0
|
215 |
</actionresult>
|
sl@0
|
216 |
</action>
|
sl@0
|
217 |
|
sl@0
|
218 |
// List certs //////////////////////////////////////////////////////////////////
|
sl@0
|
219 |
|
sl@0
|
220 |
<action>
|
sl@0
|
221 |
<actionname>List CA certificates</actionname>
|
sl@0
|
222 |
<actiontype>listcert</actiontype>
|
sl@0
|
223 |
<actionbody>
|
sl@0
|
224 |
<filter>
|
sl@0
|
225 |
<ownertype>ca</ownertype>
|
sl@0
|
226 |
</filter>
|
sl@0
|
227 |
</actionbody>
|
sl@0
|
228 |
<actionresult>
|
sl@0
|
229 |
<return>KErrNone</return>
|
sl@0
|
230 |
<CCTCertInfo><label>CAX1</label></CCTCertInfo>
|
sl@0
|
231 |
<CCTCertInfo><label>CAW1</label></CCTCertInfo>
|
sl@0
|
232 |
</actionresult>
|
sl@0
|
233 |
</action>
|
sl@0
|
234 |
|
sl@0
|
235 |
<action>
|
sl@0
|
236 |
<actionname>List user certificates</actionname>
|
sl@0
|
237 |
<actiontype>listcert</actiontype>
|
sl@0
|
238 |
<actionbody>
|
sl@0
|
239 |
<filter>
|
sl@0
|
240 |
<ownertype>user</ownertype>
|
sl@0
|
241 |
<keyusagedescription>
|
sl@0
|
242 |
<keyusagescheme>pkcs15</keyusagescheme>
|
sl@0
|
243 |
<keytype>private</keytype>
|
sl@0
|
244 |
<keyusage>AllUsagesButNR</keyusage>
|
sl@0
|
245 |
</keyusagedescription>
|
sl@0
|
246 |
</filter>
|
sl@0
|
247 |
</actionbody>
|
sl@0
|
248 |
<actionresult>
|
sl@0
|
249 |
<return>KErrNone</return>
|
sl@0
|
250 |
<CCTCertInfo><label>rsacert1</label></CCTCertInfo>
|
sl@0
|
251 |
</actionresult>
|
sl@0
|
252 |
</action>
|
sl@0
|
253 |
|
sl@0
|
254 |
<action>
|
sl@0
|
255 |
<actionname>List user certificates filtered by key usage</actionname>
|
sl@0
|
256 |
<actiontype>listcert</actiontype>
|
sl@0
|
257 |
<actionbody>
|
sl@0
|
258 |
<filter>
|
sl@0
|
259 |
<ownertype>user</ownertype>
|
sl@0
|
260 |
<keyusagedescription>
|
sl@0
|
261 |
<keyusagescheme>pkcs15</keyusagescheme>
|
sl@0
|
262 |
<keytype>private</keytype>
|
sl@0
|
263 |
<keyusage>Decrypt</keyusage>
|
sl@0
|
264 |
</keyusagedescription>
|
sl@0
|
265 |
</filter>
|
sl@0
|
266 |
</actionbody>
|
sl@0
|
267 |
<actionresult>
|
sl@0
|
268 |
<return>KErrNone</return>
|
sl@0
|
269 |
<CCTCertInfo><label>rsacert1</label></CCTCertInfo>
|
sl@0
|
270 |
</actionresult>
|
sl@0
|
271 |
</action>
|
sl@0
|
272 |
|
sl@0
|
273 |
<action>
|
sl@0
|
274 |
<actionname>List user certificates filtered by key usage</actionname>
|
sl@0
|
275 |
<actiontype>listcert</actiontype>
|
sl@0
|
276 |
<actionbody>
|
sl@0
|
277 |
<filter>
|
sl@0
|
278 |
<ownertype>user</ownertype>
|
sl@0
|
279 |
<keyusagedescription>
|
sl@0
|
280 |
<keyusagescheme>pkcs15</keyusagescheme>
|
sl@0
|
281 |
<keyusage>NonRepudiation</keyusage>
|
sl@0
|
282 |
<keyusagedescription>
|
sl@0
|
283 |
</filter>
|
sl@0
|
284 |
</actionbody>
|
sl@0
|
285 |
<actionresult>
|
sl@0
|
286 |
<return>KErrNone</return>
|
sl@0
|
287 |
</actionresult>
|
sl@0
|
288 |
</action>
|
sl@0
|
289 |
|
sl@0
|
290 |
<action>
|
sl@0
|
291 |
<actionname>List certificates filtered by Issuer DN</actionname>
|
sl@0
|
292 |
<actiontype>listcert</actiontype>
|
sl@0
|
293 |
<actionbody>
|
sl@0
|
294 |
<filter>
|
sl@0
|
295 |
<ownertype>ca</ownertype>
|
sl@0
|
296 |
</filter>
|
sl@0
|
297 |
<issuerdn>c:\unifiedcertstore2\CAX1.cer</issuerdn>
|
sl@0
|
298 |
</actionbody>
|
sl@0
|
299 |
<actionresult>
|
sl@0
|
300 |
<return>KErrNone</return>
|
sl@0
|
301 |
<CCTCertInfo><label>CAX1</label></CCTCertInfo>
|
sl@0
|
302 |
</actionresult>
|
sl@0
|
303 |
</action>
|
sl@0
|
304 |
|
sl@0
|
305 |
<action>
|
sl@0
|
306 |
<actionname>List certificates filtered by Issuer DN</actionname>
|
sl@0
|
307 |
<actiontype>listcert</actiontype>
|
sl@0
|
308 |
<actionbody>
|
sl@0
|
309 |
<filter>
|
sl@0
|
310 |
<ownertype>ca</ownertype>
|
sl@0
|
311 |
</filter>
|
sl@0
|
312 |
<issuerdn>c:\unifiedcertstore2\CAX1.cer</issuerdn>
|
sl@0
|
313 |
<issuerdn>c:\unifiedcertstore2\CAX2.cer</issuerdn>
|
sl@0
|
314 |
</actionbody>
|
sl@0
|
315 |
<actionresult>
|
sl@0
|
316 |
<return>KErrNone</return>
|
sl@0
|
317 |
<CCTCertInfo><label>CAX1</label></CCTCertInfo>
|
sl@0
|
318 |
</actionresult>
|
sl@0
|
319 |
</action>
|
sl@0
|
320 |
|
sl@0
|
321 |
<action>
|
sl@0
|
322 |
<actionname>List certificates filtered by Issuer DN</actionname>
|
sl@0
|
323 |
<actiontype>listcacert</actiontype>
|
sl@0
|
324 |
<actionbody>
|
sl@0
|
325 |
<uid></uid>
|
sl@0
|
326 |
<formatflags></formatflags>
|
sl@0
|
327 |
<issuerdn>c:\unifiedcertstore2\CAX2.cer</issuerdn>
|
sl@0
|
328 |
</actionbody>
|
sl@0
|
329 |
<actionresult>
|
sl@0
|
330 |
<return>KErrNone</return>
|
sl@0
|
331 |
</actionresult>
|
sl@0
|
332 |
</action>
|
sl@0
|
333 |
|
sl@0
|
334 |
// Retrieve certs
|
sl@0
|
335 |
|
sl@0
|
336 |
<action>
|
sl@0
|
337 |
<actionname>Retrieve CAX1 cert</actionname>
|
sl@0
|
338 |
<actiontype>retrieve</actiontype>
|
sl@0
|
339 |
<actionbody>
|
sl@0
|
340 |
<label>CAX1</label>
|
sl@0
|
341 |
</actionbody>
|
sl@0
|
342 |
<actionresult>
|
sl@0
|
343 |
<return>KErrNone</return>
|
sl@0
|
344 |
</actionresult>
|
sl@0
|
345 |
</action>
|
sl@0
|
346 |
|
sl@0
|
347 |
<action>
|
sl@0
|
348 |
<actionname>Retrieve CAW1 cert</actionname>
|
sl@0
|
349 |
<actiontype>retrieve</actiontype>
|
sl@0
|
350 |
<actionbody>
|
sl@0
|
351 |
<label>CAW1</label>
|
sl@0
|
352 |
</actionbody>
|
sl@0
|
353 |
<actionresult>
|
sl@0
|
354 |
<return>KErrNone</return>
|
sl@0
|
355 |
</actionresult>
|
sl@0
|
356 |
</action>
|
sl@0
|
357 |
|
sl@0
|
358 |
// Applications and trust //////////////////////////////////////////////////////
|
sl@0
|
359 |
|
sl@0
|
360 |
//! @file
|
sl@0
|
361 |
//! @SYMTestCaseID UCTSSEC-CT-WModeUCTSAppCCancelWN4.1
|
sl@0
|
362 |
//! @SYMTestCaseDesc The test is to test cancellation of setting X509 CA certificate application with notification.
|
sl@0
|
363 |
//! @SYMPREQ 226
|
sl@0
|
364 |
//! @SYMTestCasePriority High
|
sl@0
|
365 |
//! @SYMTestExpectedResults KErrNone
|
sl@0
|
366 |
<action>
|
sl@0
|
367 |
<actionname>4.1 Cancel applications setting to the CAX1 certificate with notification</actionname>
|
sl@0
|
368 |
<actiontype>setapplications</actiontype>
|
sl@0
|
369 |
<actionbody>
|
sl@0
|
370 |
<label>CAX1</label>
|
sl@0
|
371 |
<uid>1 2 3</uid>
|
sl@0
|
372 |
<ChangeNotification>1</ChangeNotification>
|
sl@0
|
373 |
</actionbody>
|
sl@0
|
374 |
<actionresult>
|
sl@0
|
375 |
<return>KErrNone</return>
|
sl@0
|
376 |
</actionresult>
|
sl@0
|
377 |
</action>
|
sl@0
|
378 |
|
sl@0
|
379 |
<action>
|
sl@0
|
380 |
<actionname>Get applications for CAX1</actionname>
|
sl@0
|
381 |
<actiontype>getapplications</actiontype>
|
sl@0
|
382 |
<actionbody>
|
sl@0
|
383 |
<label>CAX1</label>
|
sl@0
|
384 |
</actionbody>
|
sl@0
|
385 |
<actionresult>
|
sl@0
|
386 |
<return>KErrNone</return>
|
sl@0
|
387 |
<uid>1 2 3</uid>
|
sl@0
|
388 |
</actionresult>
|
sl@0
|
389 |
</action>
|
sl@0
|
390 |
|
sl@0
|
391 |
//! @file
|
sl@0
|
392 |
//! @SYMTestCaseID UCTSSEC-CT-WModeUCTSTrustCCancelWN3.1
|
sl@0
|
393 |
//! @SYMTestCaseDesc The test is to test cancellation of setting X509 CA certificates trust with notification.
|
sl@0
|
394 |
//! @SYMPREQ 226
|
sl@0
|
395 |
//! @SYMTestCasePriority High
|
sl@0
|
396 |
//! @SYMTestExpectedResults KErrNone
|
sl@0
|
397 |
<action>
|
sl@0
|
398 |
<actionname>3.1, Cancel the trust setting for CAX1 with notification</actionname>
|
sl@0
|
399 |
<actiontype>settrust</actiontype>
|
sl@0
|
400 |
<actionbody>
|
sl@0
|
401 |
<label>CAX1</label>
|
sl@0
|
402 |
<trust>1</trust>
|
sl@0
|
403 |
<ChangeNotification>1</ChangeNotification>
|
sl@0
|
404 |
</actionbody>
|
sl@0
|
405 |
<actionresult>
|
sl@0
|
406 |
<return>KErrNone</return>
|
sl@0
|
407 |
</actionresult>
|
sl@0
|
408 |
</action>
|
sl@0
|
409 |
|
sl@0
|
410 |
<action>
|
sl@0
|
411 |
<actionname>Get the trust for CAX1</actionname>
|
sl@0
|
412 |
<actiontype>gettrusters</actiontype>
|
sl@0
|
413 |
<actionbody>
|
sl@0
|
414 |
<label>CAX1</label>
|
sl@0
|
415 |
</actionbody>
|
sl@0
|
416 |
<actionresult>
|
sl@0
|
417 |
<return>KErrNone</return>
|
sl@0
|
418 |
<trust>1</trust>
|
sl@0
|
419 |
</actionresult>
|
sl@0
|
420 |
</action>
|
sl@0
|
421 |
|
sl@0
|
422 |
// Delete certs ////////////////////////////////////////////////////////////////
|
sl@0
|
423 |
//! @file
|
sl@0
|
424 |
//! @SYMTestCaseID UCTSSEC-CT-WModeUCTDelCCancelWN2.1
|
sl@0
|
425 |
//! @SYMTestCaseDesc The test is to test cancellation of X509 CA certificates deletion with notification.
|
sl@0
|
426 |
//! @SYMPREQ 226
|
sl@0
|
427 |
//! @SYMTestCasePriority High
|
sl@0
|
428 |
//! @SYMTestExpectedResults KErrNone
|
sl@0
|
429 |
<action>
|
sl@0
|
430 |
<actionname>2.1, Cancel CAX1 certs deletion with notification</actionname>
|
sl@0
|
431 |
<actiontype>deletecert</actiontype>
|
sl@0
|
432 |
<actionbody>
|
sl@0
|
433 |
<certtype>ca</certtype>
|
sl@0
|
434 |
<label>CAX1</label>
|
sl@0
|
435 |
<ChangeNotification>1</ChangeNotification>
|
sl@0
|
436 |
</actionbody>
|
sl@0
|
437 |
<actionresult>
|
sl@0
|
438 |
<return>KErrNone</return>
|
sl@0
|
439 |
</actionresult>
|
sl@0
|
440 |
</action>
|
sl@0
|
441 |
|
sl@0
|
442 |
// Cleanup /////////////////////////////////////////////////////////////////////
|
sl@0
|
443 |
|
sl@0
|
444 |
<action>
|
sl@0
|
445 |
<actionname>Disabling cancellation testing</actionname>
|
sl@0
|
446 |
<actiontype>stopcancellation</actiontype>
|
sl@0
|
447 |
<actionresult>
|
sl@0
|
448 |
<return>KErrNone</return>
|
sl@0
|
449 |
</actionresult>
|
sl@0
|
450 |
</action>
|
sl@0
|
451 |
|
sl@0
|
452 |
<action>
|
sl@0
|
453 |
<actionname>Deleting all certs</actionname>
|
sl@0
|
454 |
<actiontype>deletecert</actiontype>
|
sl@0
|
455 |
<actionbody>
|
sl@0
|
456 |
<label>*.*</label>
|
sl@0
|
457 |
<deleteallcerts>1</deleteallcerts>
|
sl@0
|
458 |
</actionbody>
|
sl@0
|
459 |
<actionresult>
|
sl@0
|
460 |
<return>KErrNone</return>
|
sl@0
|
461 |
</actionresult>
|
sl@0
|
462 |
</action>
|
sl@0
|
463 |
|
sl@0
|
464 |
<action>
|
sl@0
|
465 |
<actionname>Deleting the writable certificate store manager</actionname>
|
sl@0
|
466 |
<actiontype>delete</actiontype>
|
sl@0
|
467 |
<actionbody></actionbody>
|
sl@0
|
468 |
<actionresult>
|
sl@0
|
469 |
<return>KErrNone</return>
|
sl@0
|
470 |
</actionresult>
|
sl@0
|
471 |
</action>
|
sl@0
|
472 |
|
sl@0
|
473 |
<action>
|
sl@0
|
474 |
<actionname>No Test,Opening a CertificateAppInfoManager</actionname>
|
sl@0
|
475 |
<actiontype>initappmanager</actiontype>
|
sl@0
|
476 |
<actionbody></actionbody>
|
sl@0
|
477 |
<actionresult>
|
sl@0
|
478 |
<return>KErrNone</return>
|
sl@0
|
479 |
</actionresult>
|
sl@0
|
480 |
</action>
|
sl@0
|
481 |
|
sl@0
|
482 |
<action>
|
sl@0
|
483 |
<actionname>No Test,Deleting the client A1</actionname>
|
sl@0
|
484 |
<actiontype>removeclient</actiontype>
|
sl@0
|
485 |
<actionbody>
|
sl@0
|
486 |
<uid>1</uid>
|
sl@0
|
487 |
</actionbody>
|
sl@0
|
488 |
<actionresult>
|
sl@0
|
489 |
<return>KErrNone</return>
|
sl@0
|
490 |
</actionresult>
|
sl@0
|
491 |
</action>
|
sl@0
|
492 |
|
sl@0
|
493 |
<action>
|
sl@0
|
494 |
<actionname>No Test,Deleting the client A2</actionname>
|
sl@0
|
495 |
<actiontype>removeclient</actiontype>
|
sl@0
|
496 |
<actionbody>
|
sl@0
|
497 |
<uid>2</uid>
|
sl@0
|
498 |
</actionbody>
|
sl@0
|
499 |
<actionresult>
|
sl@0
|
500 |
<return>KErrNone</return>
|
sl@0
|
501 |
</actionresult>
|
sl@0
|
502 |
</action>
|
sl@0
|
503 |
|
sl@0
|
504 |
<action>
|
sl@0
|
505 |
<actionname>No Test,Deleting the client A3</actionname>
|
sl@0
|
506 |
<actiontype>removeclient</actiontype>
|
sl@0
|
507 |
<actionbody>
|
sl@0
|
508 |
<uid>3</uid>
|
sl@0
|
509 |
</actionbody>
|
sl@0
|
510 |
<actionresult>
|
sl@0
|
511 |
<return>KErrNone</return>
|
sl@0
|
512 |
</actionresult>
|
sl@0
|
513 |
</action>
|
sl@0
|
514 |
|
sl@0
|
515 |
<action>
|
sl@0
|
516 |
<actionname>No Test,Deleting the client A4</actionname>
|
sl@0
|
517 |
<actiontype>removeclient</actiontype>
|
sl@0
|
518 |
<actionbody>
|
sl@0
|
519 |
<uid>4</uid>
|
sl@0
|
520 |
</actionbody>
|
sl@0
|
521 |
<actionresult>
|
sl@0
|
522 |
<return>KErrNone</return>
|
sl@0
|
523 |
</actionresult>
|
sl@0
|
524 |
</action>
|
sl@0
|
525 |
|
sl@0
|
526 |
<action>
|
sl@0
|
527 |
<actionname>No Test,Deleting the CertificateAppInfoManager</actionname>
|
sl@0
|
528 |
<actiontype>deleteappmanager</actiontype>
|
sl@0
|
529 |
<actionbody></actionbody>
|
sl@0
|
530 |
<actionresult>
|
sl@0
|
531 |
<return>KErrNone</return>
|
sl@0
|
532 |
</actionresult>
|
sl@0
|
533 |
</action>
|