os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/unifiedcertstore2-conf2.script
First public contribution.
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
3 // All rights reserved.
4 // This component and the accompanying materials are made available
5 // under the terms of the License "Eclipse Public License v1.0"
6 // which accompanies this distribution, and is available
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
17 START_TESTCASE SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0001
19 //! @SYMTestCaseID SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0001
21 //! @SYMTestCaseDesc unifiedcertstore2-conf2.txt
25 //! New tests are added to the existing test scripts to test certificate addition, removal, setapplication
27 //! and settrust which required in PREQ226 MIDP 2.0 support.
29 //! These tests need to have taddtionalstores enabled.
33 //! Note: The in-source test tag is only added to the new tests for PREQ226. The tests without test tag is the existing tests
35 //! in the certstore component, which are used to set up the environment needed by the PREQ226 tests.
39 //! 5.1 Test cases for single file-based writable certificate store
43 //! 5.1.1 Successfull addition, listing and retrieval of certificates (X.509)
45 //! @SYMTestActions 1) No Test,Opening a CertificateAppInfoManager
47 //! 2) No Test,Adding client A1
49 //! 3) No Test,Adding client A2
51 //! 4) No Test,Adding client A3
53 //! 5) No Test,Adding client A4
55 //! 6) No Test,Deleting the CertificateAppInfoManager
57 //! 7) 5.1.1.1,Opening a certificate store manager
59 RUN_TEST_STEP -1 CTestHandler initappmanager
61 RUN_TEST_STEP -1 CTestHandler addclient unifiedcertstore2-conf2.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0001-002
63 RUN_TEST_STEP -1 CTestHandler addclient unifiedcertstore2-conf2.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0001-003
65 RUN_TEST_STEP -1 CTestHandler addclient unifiedcertstore2-conf2.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0001-004
67 RUN_TEST_STEP -1 CTestHandler addclient unifiedcertstore2-conf2.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0001-005
69 RUN_TEST_STEP -1 CTestHandler deleteappmanager
71 RUN_TEST_STEP -1 CTestHandler init unifiedcertstore2-conf2.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0001-007
73 END_TESTCASE SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0001
79 START_TESTCASE UCTSSEC-CT-WMODEUCTADDCWN5.1.1.2
81 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTADDCWN5.1.1.2
85 //! @SYMTestCaseDesc The test is to add a X509 CA certficate CAX1 in the CertStore and get notification.
89 //! @SYMTestCasePriority High
91 //! @SYMTestExpectedResults KErrNone
93 //! @SYMTestActions 1) 5.1.1.2,Add the certificate CAX1 with notification
95 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTADDCWN5.1.1.2-001
97 END_TESTCASE UCTSSEC-CT-WMODEUCTADDCWN5.1.1.2
103 START_TESTCASE UCTSSEC-CT-WMODEUCTADDCWN5.1.1.3
105 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTADDCWN5.1.1.3
109 //! @SYMTestCaseDesc The test is to a X509 CA certficate CAX2 in the CertStore and get notification.
113 //! @SYMTestCasePriority High
115 //! @SYMTestExpectedResults KErrNone
117 //! @SYMTestActions 1) 5.1.1.3,Add the certificate CAX2 with notification
119 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTADDCWN5.1.1.3-001
121 END_TESTCASE UCTSSEC-CT-WMODEUCTADDCWN5.1.1.3
127 START_TESTCASE UCTSSEC-CT-WMODEUCTADDCWN5.1.1.4
129 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTADDCWN5.1.1.4
133 //! @SYMTestCaseDesc The test is to add a X509 CA certficate CAX3 in the CertStore and get notification.
137 //! @SYMTestCasePriority High
139 //! @SYMTestExpectedResults KErrNone
141 //! @SYMTestActions 1) 5.1.1.4,Add the certificate CAX3 with notification
143 //! 2) 5.1.1.5,Get the list of certificates
145 //! 3) 5.1.1.5.1,Retrieve CAX1 cert
147 //! 4) 5.1.1.9,Deleting the certificate store manager
149 //! 5) 5.1.1.10,Opening a certificate store manager
151 //! 6) 5.1.1.11,Get the list of certificates
153 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTADDCWN5.1.1.4-001
155 RUN_TEST_STEP -1 CTestHandler listcert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTADDCWN5.1.1.4-002
157 RUN_TEST_STEP -1 CTestHandler retrieve unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTADDCWN5.1.1.4-003
159 RUN_TEST_STEP -1 CTestHandler delete
161 RUN_TEST_STEP -1 CTestHandler init unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTADDCWN5.1.1.4-005
163 RUN_TEST_STEP -1 CTestHandler listcert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTADDCWN5.1.1.4-006
165 END_TESTCASE UCTSSEC-CT-WMODEUCTADDCWN5.1.1.4
171 // 5.1.2 Successfull addition, listing and retrieval of certificates (WTLS)
175 START_TESTCASE UCTSSEC-CT-WMODEUCTADDCWN5.1.2.1
177 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTADDCWN5.1.2.1
181 //! @SYMTestCaseDesc The test is to add a WTLS CA certficate CAW1 in the CertStore and get notification.
185 //! @SYMTestCasePriority High
187 //! @SYMTestExpectedResults KErrNone
189 //! @SYMTestActions 1) 5.1.2.1,Add the certificate CAW1 with notification
191 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTADDCWN5.1.2.1-001
193 END_TESTCASE UCTSSEC-CT-WMODEUCTADDCWN5.1.2.1
199 START_TESTCASE UCTSSEC-CT-WMODEUCTADDCWN5.1.2.2
201 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTADDCWN5.1.2.2
205 //! @SYMTestCaseDesc The test is to add a WTLS CA certficate CAW2 in the CertStore and get notification.
209 //! @SYMTestCasePriority High
211 //! @SYMTestExpectedResults KErrNone
213 //! @SYMTestActions 1) 5.1.2.2,Add the certificate CAW2 with notification
215 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTADDCWN5.1.2.2-001
217 END_TESTCASE UCTSSEC-CT-WMODEUCTADDCWN5.1.2.2
223 START_TESTCASE UCTSSEC-CT-WMODEUCTADDCWN5.1.2.3
225 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTADDCWN5.1.2.3
229 //! @SYMTestCaseDesc The test is to add a WTLS CA certficate CAW3 in the CertStore and get notification.
233 //! @SYMTestCasePriority High
235 //! @SYMTestExpectedResults KErrNone
237 //! @SYMTestActions 1) 5.1.2.3,Add the certificate CAW3 with notification
239 //! 2) 5.1.2.4,Get the list of certificates
241 //! 3) 5.1.2.4.1,Retrieve CAW1 cert
243 //! 4) 5.1.2.5,Deleting the certificate store manager
245 //! 5) 5.1.2.6,Opening a certificate store manager
247 //! 6) 5.1.2.7,Get the list of certificates
249 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTADDCWN5.1.2.3-001
251 RUN_TEST_STEP -1 CTestHandler listcert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTADDCWN5.1.2.3-002
253 RUN_TEST_STEP -1 CTestHandler retrieve unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTADDCWN5.1.2.3-003
255 RUN_TEST_STEP -1 CTestHandler delete
257 RUN_TEST_STEP -1 CTestHandler init unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTADDCWN5.1.2.3-005
259 RUN_TEST_STEP -1 CTestHandler listcert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTADDCWN5.1.2.3-006
261 END_TESTCASE UCTSSEC-CT-WMODEUCTADDCWN5.1.2.3
267 // 5.1.3 Successfull trust settings updates and retrieval
271 START_TESTCASE UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.1
273 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.1
277 //! @SYMTestCaseDesc The test is to set application to a X509 CA certficate CAX1 in the CertStore and get notification.
281 //! @SYMTestCasePriority High
283 //! @SYMTestExpectedResults KErrNone
285 //! @SYMTestActions 1) 5.1.3.1,Set applications to the CAX1 certificate with notification
287 RUN_TEST_STEP -1 CTestHandler setapplications unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.1-001
289 END_TESTCASE UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.1
295 START_TESTCASE UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.2
297 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.2
301 //! @SYMTestCaseDesc The test is to set trust to a X509 CA certficate CAX1 in the CertStore and get notification.
305 //! @SYMTestCasePriority High
307 //! @SYMTestExpectedResults KErrNone
309 //! @SYMTestActions 1) 5.1.3.2,set the trust for CAX1 with notification
311 RUN_TEST_STEP -1 CTestHandler settrust unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.2-001
313 END_TESTCASE UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.2
319 START_TESTCASE UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.3
321 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.3
325 //! @SYMTestCaseDesc The test is to set application to a X509 CA certficate CAX2 in the CertStore and get notification.
329 //! @SYMTestCasePriority High
331 //! @SYMTestExpectedResults KErrNone
333 //! @SYMTestActions 1) 5.1.3.3,Set applications to the CAX2 certificate with notification
335 RUN_TEST_STEP -1 CTestHandler setapplications unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.3-001
337 END_TESTCASE UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.3
343 START_TESTCASE UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.4
345 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.4
349 //! @SYMTestCaseDesc The test is to set trust to a X509 CA certficate CAX2 in the CertStore and get notification.
353 //! @SYMTestCasePriority High
355 //! @SYMTestExpectedResults KErrNone
357 //! @SYMTestActions 1) 5.1.3.4,set the trust for CAX2 with notification
359 RUN_TEST_STEP -1 CTestHandler settrust unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.4-001
361 END_TESTCASE UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.4
367 START_TESTCASE UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.5
369 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.5
373 //! @SYMTestCaseDesc The test is to set application to a X509 CA certficate CAX3 in the CertStore and get notification.
377 //! @SYMTestCasePriority High
379 //! @SYMTestExpectedResults KErrNone
381 //! @SYMTestActions 1) 5.1.3.5,Set applications to the CAX3 certificate with notification
383 RUN_TEST_STEP -1 CTestHandler setapplications unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.5-001
385 END_TESTCASE UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.5
391 START_TESTCASE UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.6
393 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.6
397 //! @SYMTestCaseDesc The test is to set trust to a X509 CA certficate CAX3 in the CertStore and get notification.
401 //! @SYMTestCasePriority High
403 //! @SYMTestExpectedResults KErrNone
405 //! @SYMTestActions 1) 5.1.3.6,set the trust for CAX3 with notification
407 //! 2) 5.1.3.7,Get applications for CAX1
409 //! 3) 5.1.3.8,Get the trust for CAX1
411 //! 4) 5.1.3.9,Get applications for CAX2
413 //! 5) 5.1.3.10,Get the trust for CAX2
415 //! 6) 5.1.3.11,Get applications for CAX3
417 //! 7) 5.1.3.12,Get the trust for CAX3
419 RUN_TEST_STEP -1 CTestHandler settrust unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.6-001
421 RUN_TEST_STEP -1 CTestHandler getapplications unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.6-002
423 RUN_TEST_STEP -1 CTestHandler gettrusters unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.6-003
425 RUN_TEST_STEP -1 CTestHandler getapplications unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.6-004
427 RUN_TEST_STEP -1 CTestHandler gettrusters unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.6-005
429 RUN_TEST_STEP -1 CTestHandler getapplications unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.6-006
431 RUN_TEST_STEP -1 CTestHandler gettrusters unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.6-007
433 END_TESTCASE UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.6
439 START_TESTCASE UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.13
441 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.13
445 //! @SYMTestCaseDesc The test is to set application to a WTLS CA certficate CAW2 in the CertStore and get notification.
449 //! @SYMTestCasePriority High
451 //! @SYMTestExpectedResults KErrNone
453 //! @SYMTestActions 1) 5.1.3.13,Set trusters to the CAW2 certificate with notification
455 RUN_TEST_STEP -1 CTestHandler setapplications unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.13-001
457 END_TESTCASE UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.13
463 START_TESTCASE UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.14
465 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.14
469 //! @SYMTestCaseDesc The test is to set trust to a WTLS CA certficate CAW2 in the CertStore and get notification.
473 //! @SYMTestCasePriority High
475 //! @SYMTestExpectedResults KErrNone
477 //! @SYMTestActions 1) 5.1.3.14,set the trust for CAW2 with notification
479 RUN_TEST_STEP -1 CTestHandler settrust unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.14-001
481 END_TESTCASE UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.14
487 START_TESTCASE UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.15
489 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.15
493 //! @SYMTestCaseDesc The test is to set application to a WTLS CA certficate CAW3 in the CertStore and get notification.
497 //! @SYMTestCasePriority High
499 //! @SYMTestExpectedResults KErrNone
501 //! @SYMTestActions 1) 5.1.3.15,Set trusters to the CAW3 certificate with notification
503 RUN_TEST_STEP -1 CTestHandler setapplications unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.15-001
505 END_TESTCASE UCTSSEC-CT-WMODEUCTSAPPCWN5.1.3.15
511 START_TESTCASE UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.16
513 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.16
517 //! @SYMTestCaseDesc The test is to set trust to a WTLS CA certficate CAW3 in the CertStore and get notification.
521 //! @SYMTestCasePriority High
523 //! @SYMTestExpectedResults KErrNone
525 //! @SYMTestActions 1) 5.1.3.16,set the trust for CAW3 with notification
527 //! 2) 5.1.3.17,Get applications for CAW1
529 //! 3) 5.1.3.18,Get the trust for CAW1
531 //! 4) 5.1.3.19,Get applications for CAW2
533 //! 5) 5.1.3.20,Get the trust for CAW2
535 //! 6) 5.1.3.21,Get applications for CAW3
537 //! 7) 5.1.3.22,Get the trust for CAW3
539 RUN_TEST_STEP -1 CTestHandler settrust unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.16-001
541 RUN_TEST_STEP -1 CTestHandler getapplications unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.16-002
543 RUN_TEST_STEP -1 CTestHandler gettrusters unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.16-003
545 RUN_TEST_STEP -1 CTestHandler getapplications unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.16-004
547 RUN_TEST_STEP -1 CTestHandler gettrusters unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.16-005
549 RUN_TEST_STEP -1 CTestHandler getapplications unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.16-006
551 RUN_TEST_STEP -1 CTestHandler gettrusters unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.16-007
553 END_TESTCASE UCTSSEC-CT-WMODEUCTSTRUSTCWN5.1.3.16
559 START_TESTCASE SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0018
561 //! @SYMTestCaseID SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0018
563 //! @SYMTestCaseDesc 5.1.4 Successfull addition and retrieval of user certificates
565 //! @SYMTestActions 1) 1.1.0.4 Import a RSA key
567 //! 2) 1.1.0.5 Import a RSA key
569 //! 3) 1.1.0.6 Import a RSA key
571 //! 4) 5.1.4.1, Add certificate rsacert1 ***NEW***
573 //! 5) 5.1.4.2,Add the certificate rsacert2 ***NEW***
575 //! 6) 5.1.4.3,Add the certificate rsacert3 ***NEW***
577 //! 7) 5.1.4.4.a,Get the list of certificates
579 //! 8) 5.1.4.4.b,Get the list of certificates
581 //! 9) 5.1.4.4.c,Retrieve rsacert1 cert
583 RUN_TEST_STEP -1 CTestHandler importkey unifiedcertstore2-conf2.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0018-001
585 RUN_TEST_STEP -1 CTestHandler importkey unifiedcertstore2-conf2.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0018-002
587 RUN_TEST_STEP -1 CTestHandler importkey unifiedcertstore2-conf2.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0018-003
589 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf2.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0018-004
591 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf2.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0018-005
593 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf2.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0018-006
595 RUN_TEST_STEP -1 CTestHandler listcert unifiedcertstore2-conf2.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0018-007
597 RUN_TEST_STEP -1 CTestHandler listcert unifiedcertstore2-conf2.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0018-008
599 RUN_TEST_STEP -1 CTestHandler retrieve unifiedcertstore2-conf2.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0018-009
601 END_TESTCASE SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF2-0018
607 START_TESTCASE UCTSSEC-CT-WMODEUCTDELCWN1.1
609 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTDELCWN1.1
613 //! @SYMTestCaseDesc The test is to delete a X509 CA certficate CAX1 in the CertStore and get notification.
617 //! @SYMTestCasePriority High
619 //! @SYMTestExpectedResults KErrNone
621 //! @SYMTestActions 1) No Test,Deleting the certificate CAX1 with notification
623 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTDELCWN1.1-001
625 END_TESTCASE UCTSSEC-CT-WMODEUCTDELCWN1.1
631 START_TESTCASE UCTSSEC-CT-WMODEUCTDELCWN1.2
633 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTDELCWN1.2
637 //! @SYMTestCaseDesc The test is to delete a X509 CA certficate CAX2 in the CertStore and get notification.
641 //! @SYMTestCasePriority High
643 //! @SYMTestExpectedResults KErrNone
645 //! @SYMTestActions 1) No Test,Deleting the certificate CAX2 with notification
647 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTDELCWN1.2-001
649 END_TESTCASE UCTSSEC-CT-WMODEUCTDELCWN1.2
655 START_TESTCASE UCTSSEC-CT-WMODEUCTDELCWN1.3
657 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTDELCWN1.3
661 //! @SYMTestCaseDesc The test is to delete a X509 CA certficate CAX3 in the CertStore and get notification.
665 //! @SYMTestCasePriority High
667 //! @SYMTestExpectedResults KErrNone
669 //! @SYMTestActions 1) No Test,Deleting the certificate CAX3 with notification
671 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTDELCWN1.3-001
673 END_TESTCASE UCTSSEC-CT-WMODEUCTDELCWN1.3
679 START_TESTCASE UCTSSEC-CT-WMODEUCTDELCWN1.4
681 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTDELCWN1.4
685 //! @SYMTestCaseDesc The test is to delete a WTLS CA certficate CAW1 in the CertStore and get notification.
689 //! @SYMTestCasePriority High
691 //! @SYMTestExpectedResults KErrNone
693 //! @SYMTestActions 1) No Test,Deleting the certificate CAW1 with notification
695 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTDELCWN1.4-001
697 END_TESTCASE UCTSSEC-CT-WMODEUCTDELCWN1.4
703 START_TESTCASE UCTSSEC-CT-WMODEUCTDELCWN1.5
705 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTDELCWN1.5
709 //! @SYMTestCaseDesc The test is to delete a WTLS CA certficate CAW2 in the CertStore and get notification.
713 //! @SYMTestCasePriority High
715 //! @SYMTestExpectedResults KErrNone
717 //! @SYMTestActions 1) No Test,Deleting the certificate CAW2 with notification
719 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTDELCWN1.5-001
721 END_TESTCASE UCTSSEC-CT-WMODEUCTDELCWN1.5
727 START_TESTCASE UCTSSEC-CT-WMODEUCTDELCWN1.6
729 //! @SYMTestCaseID UCTSSEC-CT-WMODEUCTDELCWN1.6
733 //! @SYMTestCaseDesc The test is to delete a WTLS CA certficate CAW3 in the CertStore and get notification.
737 //! @SYMTestCasePriority High
739 //! @SYMTestExpectedResults KErrNone
741 //! @SYMTestActions 1) No Test,Deleting the certificate CAW3 with notification
743 //! 2) No Test,Deleting the certificate rsacert1 ***NEW***
745 //! 3) No Test,Deleting the certificate rsacert2 ***NEW***
747 //! 4) No Test,Deleting the certificate rsacert3 ***NEW***
749 //! 5) No Test,Deleting the writable certificate store manager
751 //! 6) No Test,Opening a CertificateAppInfoManager
753 //! 7) No Test,Deleting the client A1
755 //! 8) No Test,Deleting the client A2
757 //! 9) No Test,Deleting the client A3
759 //! 10) No Test,Deleting the client A4
761 //! 11) No Test,Deleting the CertificateAppInfoManager
763 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTDELCWN1.6-001
765 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTDELCWN1.6-002
767 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTDELCWN1.6-003
769 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTDELCWN1.6-004
771 RUN_TEST_STEP -1 CTestHandler delete
773 RUN_TEST_STEP -1 CTestHandler initappmanager
775 RUN_TEST_STEP -1 CTestHandler removeclient unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTDELCWN1.6-007
777 RUN_TEST_STEP -1 CTestHandler removeclient unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTDELCWN1.6-008
779 RUN_TEST_STEP -1 CTestHandler removeclient unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTDELCWN1.6-009
781 RUN_TEST_STEP -1 CTestHandler removeclient unifiedcertstore2-conf2.ini UCTSSEC-CT-WMODEUCTDELCWN1.6-010
783 RUN_TEST_STEP -1 CTestHandler deleteappmanager
785 END_TESTCASE UCTSSEC-CT-WMODEUCTDELCWN1.6
791 START_TESTCASE UCTSSEC-CT-RMODEUCTWITHSS5.6
793 //! @SYMTestCaseID UCTSSEC-CT-RMODEUCTWITHSS5.6
797 //! @SYMTestCaseDesc The test is to open one UnifiedCertStore in read mode with the
799 //! sequence of UICC, WIM, unknown hardware, SIM, ManufactureSoftware and ThirdpartySoftware cerstore
801 //! implementations, and expect the correct order.The test needs
803 //! tadditionalstores.dll enabled
807 //! @SYMTestCasePriority High
809 //! @SYMTestExpectedResults KErrNone
811 //! @SYMTestActions 1) 5.6,Opening a read-only certificate store manager
813 //! 2) 0.2,Deleting the second read-only certificate store manager
815 RUN_TEST_STEP -1 CTestHandler init unifiedcertstore2-conf2.ini UCTSSEC-CT-RMODEUCTWITHSS5.6-001
817 RUN_TEST_STEP -1 CTestHandler delete
819 END_TESTCASE UCTSSEC-CT-RMODEUCTWITHSS5.6