|
1 // |
|
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 "Symbian Foundation License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 |
|
17 START_TESTCASE SEC-CERTMAN-TCERTSTORESHA2-0001 |
|
18 |
|
19 //! @SYMTestCaseID SEC-CERTMAN-TCERTSTORESHA2-0001 |
|
20 |
|
21 //! @SYMTestCaseDesc |
|
22 |
|
23 //! @SYMTestActions 1) Initializing a CUnifiedCertStore |
|
24 |
|
25 //! 2) Add the certificate -SHA224 |
|
26 |
|
27 //! 3) Add the certificate -SHA256 |
|
28 |
|
29 //! 4) Add the certificate -SHA384 |
|
30 |
|
31 //! 5) Add the certificate -SHA512 |
|
32 |
|
33 //! 6) Set the trust for Rootca-SHA224 |
|
34 |
|
35 //! 7) Set the trust for Rootca-SHA256 |
|
36 |
|
37 //! 8) Set the trust for Rootca-SHA384 |
|
38 |
|
39 //! 9) Set the trust for Rootca-SHA512 |
|
40 |
|
41 //! 10) Creating a CertificateAppInfoManager |
|
42 |
|
43 //! 11) Adding client TLS |
|
44 |
|
45 //! 12) Set trusters to the Rootca-SHA224 certificate |
|
46 |
|
47 //! 13) Set trusters to the Rootca-SHA256 certificate |
|
48 |
|
49 //! 14) Set trusters to the Rootca-SHA384 certificate |
|
50 |
|
51 //! 15) Set trusters to the Rootca-SHA512 certificate |
|
52 |
|
53 //! 16) Deleting the CertificateAppInfoManager |
|
54 |
|
55 //! 17) Deleting the certificates |
|
56 |
|
57 //! 18) Deleting the certificates |
|
58 |
|
59 //! 19) Deleting the certificates |
|
60 |
|
61 //! 20) Deleting the certificates |
|
62 |
|
63 RUN_TEST_STEP -1 CTestHandler init t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-001 |
|
64 |
|
65 RUN_TEST_STEP -1 CTestHandler addcert t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-002 |
|
66 |
|
67 RUN_TEST_STEP -1 CTestHandler addcert t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-003 |
|
68 |
|
69 RUN_TEST_STEP -1 CTestHandler addcert t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-004 |
|
70 |
|
71 RUN_TEST_STEP -1 CTestHandler addcert t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-005 |
|
72 |
|
73 RUN_TEST_STEP -1 CTestHandler settrust t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-006 |
|
74 |
|
75 RUN_TEST_STEP -1 CTestHandler settrust t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-007 |
|
76 |
|
77 RUN_TEST_STEP -1 CTestHandler settrust t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-008 |
|
78 |
|
79 RUN_TEST_STEP -1 CTestHandler settrust t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-009 |
|
80 |
|
81 RUN_TEST_STEP -1 CTestHandler initappmanager t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-010 |
|
82 |
|
83 RUN_TEST_STEP -1 CTestHandler addclient t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-011 |
|
84 |
|
85 RUN_TEST_STEP -1 CTestHandler setapplications t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-012 |
|
86 |
|
87 RUN_TEST_STEP -1 CTestHandler setapplications t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-013 |
|
88 |
|
89 RUN_TEST_STEP -1 CTestHandler setapplications t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-014 |
|
90 |
|
91 RUN_TEST_STEP -1 CTestHandler setapplications t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-015 |
|
92 |
|
93 RUN_TEST_STEP -1 CTestHandler deleteappmanager t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-016 |
|
94 |
|
95 RUN_TEST_STEP -1 CTestHandler deletecert t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-017 |
|
96 |
|
97 RUN_TEST_STEP -1 CTestHandler deletecert t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-018 |
|
98 |
|
99 RUN_TEST_STEP -1 CTestHandler deletecert t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-019 |
|
100 |
|
101 RUN_TEST_STEP -1 CTestHandler deletecert t_certstore_sha2.ini SEC-CERTMAN-TCERTSTORESHA2-0001-020 |
|
102 |
|
103 |
|
104 END_TESTCASE SEC-CERTMAN-TCERTSTORESHA2-0001 |
|
105 |
|
106 |