sl@0
|
1 |
//
|
sl@0
|
2 |
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
3 |
// All rights reserved.
|
sl@0
|
4 |
// This component and the accompanying materials are made available
|
sl@0
|
5 |
// under the terms of the License "Eclipse Public License v1.0"
|
sl@0
|
6 |
// which accompanies this distribution, and is available
|
sl@0
|
7 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
8 |
//
|
sl@0
|
9 |
// Initial Contributors:
|
sl@0
|
10 |
// Nokia Corporation - initial contribution.
|
sl@0
|
11 |
//
|
sl@0
|
12 |
// Contributors:
|
sl@0
|
13 |
//
|
sl@0
|
14 |
// Description:
|
sl@0
|
15 |
//
|
sl@0
|
16 |
|
sl@0
|
17 |
START_TESTCASE SEC-CERTMAN-BLDCERTSTORE-0001
|
sl@0
|
18 |
|
sl@0
|
19 |
//! @SYMTestCaseID SEC-CERTMAN-BLDCERTSTORE-0001
|
sl@0
|
20 |
|
sl@0
|
21 |
//! @SYMTestCaseDesc
|
sl@0
|
22 |
|
sl@0
|
23 |
//! @SYMTestActions 1) Creating a CertificateAppInfoManager
|
sl@0
|
24 |
|
sl@0
|
25 |
//! 2) Adding client SW Install
|
sl@0
|
26 |
|
sl@0
|
27 |
//! 3) Adding client SW Install
|
sl@0
|
28 |
|
sl@0
|
29 |
//! 4) Adding client SW Install
|
sl@0
|
30 |
|
sl@0
|
31 |
//! 5) Adding client TLS
|
sl@0
|
32 |
|
sl@0
|
33 |
//! 6) Retrieving the clients
|
sl@0
|
34 |
|
sl@0
|
35 |
//! 7) Deleting the CertificateAppInfoManager
|
sl@0
|
36 |
|
sl@0
|
37 |
//! 8) Creating a new file certstore
|
sl@0
|
38 |
|
sl@0
|
39 |
//! 9) Initializing a CUnifiedCertStore
|
sl@0
|
40 |
|
sl@0
|
41 |
//! 10) Add Symbian Identity ACS Root Certificate
|
sl@0
|
42 |
|
sl@0
|
43 |
//! 11) Add Symbian Testing ACS Root Certificate
|
sl@0
|
44 |
|
sl@0
|
45 |
//! 12) Add the certificate for the SSL server CA
|
sl@0
|
46 |
|
sl@0
|
47 |
//! 13) Add the certificate Thawte Root
|
sl@0
|
48 |
|
sl@0
|
49 |
//! 14) Add the certificate TOCSP-Root5-RSA
|
sl@0
|
50 |
|
sl@0
|
51 |
//! 15) Add the certificate TOCSP-Signing5-RSA
|
sl@0
|
52 |
|
sl@0
|
53 |
//! 16) Set applications to the Identity ACS Root certificate
|
sl@0
|
54 |
|
sl@0
|
55 |
//! 17) Set applications to the Testing ACS Root certificate
|
sl@0
|
56 |
|
sl@0
|
57 |
//! 18) Set TLS application for the TestCA certificate
|
sl@0
|
58 |
|
sl@0
|
59 |
//! 19) Set applications to the Thawte Root certificate
|
sl@0
|
60 |
|
sl@0
|
61 |
//! 20) Set applications to the TOCSP-Root5-RSA certificate
|
sl@0
|
62 |
|
sl@0
|
63 |
//! 21) Set applications to the TOCSP-Signing5-RSA certificate
|
sl@0
|
64 |
|
sl@0
|
65 |
//! 22) Set the trust for Identity ACS Root
|
sl@0
|
66 |
|
sl@0
|
67 |
//! 23) Set the trust for Testing ACS Root
|
sl@0
|
68 |
|
sl@0
|
69 |
//! 24) set the trust for Thawte Root
|
sl@0
|
70 |
|
sl@0
|
71 |
//! 25) set the trust for TOCSP-Root5-RSA certificate
|
sl@0
|
72 |
|
sl@0
|
73 |
//! 26) set the trust for TOCSP-Signing5-RSA certificate
|
sl@0
|
74 |
|
sl@0
|
75 |
//! 27) set trust for TestCA certificate
|
sl@0
|
76 |
|
sl@0
|
77 |
//! 28) Deleting the writable certificate store manager
|
sl@0
|
78 |
|
sl@0
|
79 |
RUN_TEST_STEP -1 CTestHandler initappmanager
|
sl@0
|
80 |
|
sl@0
|
81 |
RUN_TEST_STEP -1 CTestHandler addclient bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-002
|
sl@0
|
82 |
|
sl@0
|
83 |
RUN_TEST_STEP -1 CTestHandler addclient bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-003
|
sl@0
|
84 |
|
sl@0
|
85 |
RUN_TEST_STEP -1 CTestHandler addclient bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-004
|
sl@0
|
86 |
|
sl@0
|
87 |
RUN_TEST_STEP -1 CTestHandler addclient bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-005
|
sl@0
|
88 |
|
sl@0
|
89 |
RUN_TEST_STEP -1 CTestHandler getclients bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-006
|
sl@0
|
90 |
|
sl@0
|
91 |
RUN_TEST_STEP -1 CTestHandler deleteappmanager
|
sl@0
|
92 |
|
sl@0
|
93 |
RUN_TEST_STEP -1 CTestHandler createfilecertstore bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-008
|
sl@0
|
94 |
|
sl@0
|
95 |
RUN_TEST_STEP -1 CTestHandler init bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-009
|
sl@0
|
96 |
|
sl@0
|
97 |
RUN_TEST_STEP -1 CTestHandler addcert bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-010
|
sl@0
|
98 |
|
sl@0
|
99 |
RUN_TEST_STEP -1 CTestHandler addcert bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-011
|
sl@0
|
100 |
|
sl@0
|
101 |
RUN_TEST_STEP -1 CTestHandler addcert bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-012
|
sl@0
|
102 |
|
sl@0
|
103 |
RUN_TEST_STEP -1 CTestHandler addcert bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-013
|
sl@0
|
104 |
|
sl@0
|
105 |
RUN_TEST_STEP -1 CTestHandler addcert bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-014
|
sl@0
|
106 |
|
sl@0
|
107 |
RUN_TEST_STEP -1 CTestHandler addcert bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-015
|
sl@0
|
108 |
|
sl@0
|
109 |
RUN_TEST_STEP -1 CTestHandler setapplications bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-016
|
sl@0
|
110 |
|
sl@0
|
111 |
RUN_TEST_STEP -1 CTestHandler setapplications bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-017
|
sl@0
|
112 |
|
sl@0
|
113 |
RUN_TEST_STEP -1 CTestHandler setapplications bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-018
|
sl@0
|
114 |
|
sl@0
|
115 |
RUN_TEST_STEP -1 CTestHandler setapplications bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-019
|
sl@0
|
116 |
|
sl@0
|
117 |
RUN_TEST_STEP -1 CTestHandler setapplications bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-020
|
sl@0
|
118 |
|
sl@0
|
119 |
RUN_TEST_STEP -1 CTestHandler setapplications bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-021
|
sl@0
|
120 |
|
sl@0
|
121 |
RUN_TEST_STEP -1 CTestHandler settrust bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-022
|
sl@0
|
122 |
|
sl@0
|
123 |
RUN_TEST_STEP -1 CTestHandler settrust bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-023
|
sl@0
|
124 |
|
sl@0
|
125 |
RUN_TEST_STEP -1 CTestHandler settrust bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-024
|
sl@0
|
126 |
|
sl@0
|
127 |
RUN_TEST_STEP -1 CTestHandler settrust bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-025
|
sl@0
|
128 |
|
sl@0
|
129 |
RUN_TEST_STEP -1 CTestHandler settrust bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-026
|
sl@0
|
130 |
|
sl@0
|
131 |
RUN_TEST_STEP -1 CTestHandler settrust bldcertstore.ini SEC-CERTMAN-BLDCERTSTORE-0001-027
|
sl@0
|
132 |
|
sl@0
|
133 |
RUN_TEST_STEP -1 CTestHandler delete
|
sl@0
|
134 |
|
sl@0
|
135 |
END_TESTCASE SEC-CERTMAN-BLDCERTSTORE-0001
|
sl@0
|
136 |
|
sl@0
|
137 |
|
sl@0
|
138 |
|
sl@0
|
139 |
|
sl@0
|
140 |
|