11 // |
11 // |
12 // Contributors: |
12 // Contributors: |
13 // |
13 // |
14 // Description: |
14 // Description: |
15 // |
15 // |
|
16 // |
|
17 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
18 // All rights reserved. |
|
19 // This component and the accompanying materials are made available |
|
20 // under the terms of the License "Symbian Foundation License v1.0" |
|
21 // which accompanies this distribution, and is available |
|
22 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
23 // |
|
24 // Initial Contributors: |
|
25 // Nokia Corporation - initial contribution. |
|
26 // |
|
27 // Contributors: |
|
28 // |
|
29 // Description: |
|
30 // |
16 // tinteg_cms.script |
31 // tinteg_cms.script |
17 // Integration tests for CMS (Cryptographic message sintax) |
32 // Integration tests for CMS (Cryptographic message sintax) |
18 |
33 |
19 LOAD_SUITE tpkcs7server |
34 LOAD_SUITE tpkcs7server |
20 |
35 |
21 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0001 |
36 |
22 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
37 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0001 |
23 //! encoding, decoding and validation. |
38 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0001 |
24 //! Number of signatures:1 |
39 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
25 //! The signing key: RSA key |
40 //! encoding, decoding and validation. |
26 //! Digest Algorithm: SHA1 |
41 //! Number of signatures:1 |
27 //! Signer identifier: issuer and serial number |
42 //! The signing key: RSA key |
28 //! Signed data content: Dettached |
43 //! Digest Algorithm: SHA1 |
29 //! Hash available: yes |
44 //! Signer identifier: issuer and serial number |
30 //! Certificates provided by User: Yes |
45 //! Signed data content: Dettached |
31 //! Certificates attached: Yes |
46 //! Hash available: yes |
32 //! @SYMPREQ PREQ968 |
47 //! Certificates provided by User: Yes |
33 //! @SYMTestPriority Critical |
48 //! Certificates attached: Yes |
34 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
49 //! @SYMPREQ PREQ968 |
35 //! @SYMTestExpectedResults successfully validated |
50 //! @SYMTestPriority Critical |
36 //! @SYMTestType CIT |
51 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
52 //! @SYMTestExpectedResults successfully validated |
|
53 //! @SYMTestType CIT |
37 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0001 |
54 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0001 |
38 |
55 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0001 |
39 |
56 |
40 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0002 |
57 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0002 |
41 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
58 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0002 |
42 //! encoding, decoding and validation. |
59 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
43 //! Number of signatures:1 |
60 //! encoding, decoding and validation. |
44 //! The signing key: RSA key |
61 //! Number of signatures:1 |
45 //! Digest Algorithm: MD2 |
62 //! The signing key: RSA key |
46 //! Signer identifier: suject Key ID extension |
63 //! Digest Algorithm: MD2 |
47 //! Signed data content: Dettached |
64 //! Signer identifier: suject Key ID extension |
48 //! Hash available: yes |
65 //! Signed data content: Dettached |
49 //! Certificates provided by User: Yes |
66 //! Hash available: yes |
50 //! Certificates attached: Not |
67 //! Certificates provided by User: Yes |
51 //! @SYMPREQ PREQ968 |
68 //! Certificates attached: Not |
52 //! @SYMTestPriority Critical |
69 //! @SYMPREQ PREQ968 |
53 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
70 //! @SYMTestPriority Critical |
54 //! @SYMTestExpectedResults successfully validated |
71 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
55 //! @SYMTestType CIT |
72 //! @SYMTestExpectedResults successfully validated |
|
73 //! @SYMTestType CIT |
56 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0002 |
74 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0002 |
57 |
75 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0002 |
58 |
76 |
59 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0003 |
77 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0003 |
60 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
78 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0003 |
61 //! encoding, decoding and validation. |
79 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
62 //! Number of signatures:1 |
80 //! encoding, decoding and validation. |
63 //! The signing key: RSA key |
81 //! Number of signatures:1 |
64 //! Digest Algorithm: MD5 |
82 //! The signing key: RSA key |
65 //! Signer identifier: issuer and serial number |
83 //! Digest Algorithm: MD5 |
66 //! Signed data content: Dettached |
84 //! Signer identifier: issuer and serial number |
67 //! Hash available: yes |
85 //! Signed data content: Dettached |
68 //! Certificates provided by User: Yes |
86 //! Hash available: yes |
69 //! Certificates attached: Yes |
87 //! Certificates provided by User: Yes |
70 //! @SYMPREQ PREQ968 |
88 //! Certificates attached: Yes |
71 //! @SYMTestPriority Critical |
89 //! @SYMPREQ PREQ968 |
72 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
90 //! @SYMTestPriority Critical |
73 //! @SYMTestExpectedResults successfully validated |
91 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
74 //! @SYMTestType CIT |
92 //! @SYMTestExpectedResults successfully validated |
|
93 //! @SYMTestType CIT |
75 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0003 |
94 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0003 |
76 |
95 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0003 |
77 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0004 |
96 |
78 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
97 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0004 |
79 //! encoding, decoding and validation. |
98 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0004 |
80 //! Number of signatures:1 |
99 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
81 //! The signing key: DSA key |
100 //! encoding, decoding and validation. |
82 //! Digest Algorithm: SHA1 |
101 //! Number of signatures:1 |
83 //! Signer identifier: issuer and serial number |
102 //! The signing key: DSA key |
84 //! Signed data content: Dettached |
103 //! Digest Algorithm: SHA1 |
85 //! Hash available: yes |
104 //! Signer identifier: issuer and serial number |
86 //! Certificates provided by User: Yes |
105 //! Signed data content: Dettached |
87 //! Certificates attached: Yes |
106 //! Hash available: yes |
88 //! @SYMPREQ PREQ968 |
107 //! Certificates provided by User: Yes |
89 //! @SYMTestPriority Critical |
108 //! Certificates attached: Yes |
90 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
109 //! @SYMPREQ PREQ968 |
91 //! @SYMTestExpectedResults successfully validated |
110 //! @SYMTestPriority Critical |
92 //! @SYMTestType CIT |
111 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
112 //! @SYMTestExpectedResults successfully validated |
|
113 //! @SYMTestType CIT |
93 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0004 |
114 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0004 |
94 |
115 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0004 |
95 |
116 |
96 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0005 |
117 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0005 |
97 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
118 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0005 |
98 //! encoding, decoding and validation. |
119 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
99 //! Number of signatures:1 |
120 //! encoding, decoding and validation. |
100 //! The signing key: DSA key |
121 //! Number of signatures:1 |
101 //! Digest Algorithm: SHA1 |
122 //! The signing key: DSA key |
102 //! Signer identifier: suject Key ID extension |
123 //! Digest Algorithm: SHA1 |
103 //! Signed data content: Dettached |
124 //! Signer identifier: suject Key ID extension |
104 //! Hash available: yes |
125 //! Signed data content: Dettached |
105 //! Certificates provided by User: Yes |
126 //! Hash available: yes |
106 //! Certificates attached: Not |
127 //! Certificates provided by User: Yes |
107 //! @SYMPREQ PREQ968 |
128 //! Certificates attached: Not |
108 //! @SYMTestPriority Critical |
129 //! @SYMPREQ PREQ968 |
109 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
130 //! @SYMTestPriority Critical |
110 //! @SYMTestExpectedResults successfully validated |
131 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
111 //! @SYMTestType CIT |
132 //! @SYMTestExpectedResults successfully validated |
|
133 //! @SYMTestType CIT |
112 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0005 |
134 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0005 |
113 |
135 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0005 |
114 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0006 |
136 |
115 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
137 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0006 |
116 //! encoding, decoding and validation. |
138 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0006 |
117 //! Number of signatures:1 (attribute certificate) |
139 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
118 //! The signing key: DSA key |
140 //! encoding, decoding and validation. |
119 //! Digest Algorithm: SHA1 |
141 //! Number of signatures:1 (attribute certificate) |
120 //! Signer identifier: issuer and serial number |
142 //! The signing key: DSA key |
121 //! Signed data content: Dettached |
143 //! Digest Algorithm: SHA1 |
122 //! Hash available: yes |
144 //! Signer identifier: issuer and serial number |
123 //! Certificates provided by User: Yes |
145 //! Signed data content: Dettached |
124 //! Certificates attached: yet |
146 //! Hash available: yes |
125 //! @SYMPREQ PREQ968 |
147 //! Certificates provided by User: Yes |
126 //! @SYMTestPriority Critical |
148 //! Certificates attached: yet |
127 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
149 //! @SYMPREQ PREQ968 |
128 //! @SYMTestExpectedResults successfully validated |
150 //! @SYMTestPriority Critical |
129 //! @SYMTestType CIT |
151 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
152 //! @SYMTestExpectedResults successfully validated |
|
153 //! @SYMTestType CIT |
130 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0006 |
154 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0006 |
131 |
155 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0006 |
132 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0006 |
156 |
133 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
157 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0007 |
134 //! encoding, decoding and validation. |
158 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0007 |
135 //! Number of signatures:1 (attribute certificate) |
159 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
136 //! The signing key: DSA key |
160 //! encoding, decoding and validation. |
137 //! Digest Algorithm: SHA1 |
161 //! Number of signatures:1 (attribute certificate) |
138 //! Signer identifier: issuer and serial number |
162 //! The signing key: DSA key |
139 //! Signed data content: Dettached |
163 //! Digest Algorithm: SHA1 |
140 //! Hash available: yes |
164 //! Signer identifier: issuer and serial number |
141 //! Certificates provided by User: Yes |
165 //! Signed data content: Dettached |
142 //! Certificates attached: yet |
166 //! Hash available: yes |
143 //! @SYMPREQ PREQ968 |
167 //! Certificates provided by User: Yes |
144 //! @SYMTestPriority Critical |
168 //! Certificates attached: yet |
145 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
169 //! @SYMPREQ PREQ968 |
146 //! @SYMTestExpectedResults successfully validated |
170 //! @SYMTestPriority Critical |
147 //! @SYMTestType CIT |
171 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
172 //! @SYMTestExpectedResults successfully validated |
|
173 //! @SYMTestType CIT |
148 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0006 |
174 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0006 |
149 |
175 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0007 |
150 |
176 |
151 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0007 |
177 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0008 |
152 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
178 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0008 |
153 //! encoding, decoding and validation. |
179 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
154 //! Number of signatures:1 (attribute certificate) |
180 //! encoding, decoding and validation. |
155 //! The signing key: RSA key |
181 //! Number of signatures:1 (attribute certificate) |
156 //! Digest Algorithm: SHA1 |
182 //! The signing key: RSA key |
157 //! Signer identifier: issuer and serial number |
183 //! Digest Algorithm: SHA1 |
158 //! Signed data content: Dettached |
184 //! Signer identifier: issuer and serial number |
159 //! Hash available: yes |
185 //! Signed data content: Dettached |
160 //! Certificates provided by User: Yes |
186 //! Hash available: yes |
161 //! Certificates attached: not |
187 //! Certificates provided by User: Yes |
162 //! @SYMPREQ PREQ968 |
188 //! Certificates attached: not |
163 //! @SYMTestPriority Critical |
189 //! @SYMPREQ PREQ968 |
164 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
190 //! @SYMTestPriority Critical |
165 //! @SYMTestExpectedResults successfully validated |
191 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
166 //! @SYMTestType CIT |
192 //! @SYMTestExpectedResults successfully validated |
|
193 //! @SYMTestType CIT |
167 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0007 |
194 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0007 |
168 |
195 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0008 |
169 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0008 |
196 |
170 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
197 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0009 |
171 //! encoding, decoding and validation. |
198 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0009 |
172 //! Number of signatures:3 |
199 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
173 //! The signing key: All 3; DSA key |
200 //! encoding, decoding and validation. |
174 //! Digest Algorithm: SHA1 |
201 //! Number of signatures:3 |
175 //! Signer identifier: suject Key ID extension |
202 //! The signing key: All 3; DSA key |
176 //! Signed data content: Dettached |
203 //! Digest Algorithm: SHA1 |
177 //! Hash available: yes |
204 //! Signer identifier: suject Key ID extension |
178 //! Certificates provided by User: Yes |
205 //! Signed data content: Dettached |
179 //! Certificates attached: yes |
206 //! Hash available: yes |
180 //! @SYMPREQ PREQ968 |
207 //! Certificates provided by User: Yes |
181 //! @SYMTestPriority Critical |
208 //! Certificates attached: yes |
182 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
209 //! @SYMPREQ PREQ968 |
183 //! @SYMTestExpectedResults successfully validated |
210 //! @SYMTestPriority Critical |
184 //! @SYMTestType CIT |
211 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
212 //! @SYMTestExpectedResults successfully validated |
|
213 //! @SYMTestType CIT |
185 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0008 |
214 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0008 |
186 |
215 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0009 |
187 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0009 |
216 |
188 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
217 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0010 |
189 //! encoding, decoding and validation. |
218 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0010 |
190 //! Number of signatures:3 |
219 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
191 //! The signing key: All 3; RSA key |
220 //! encoding, decoding and validation. |
192 //! Digest Algorithm: MD2 |
221 //! Number of signatures:3 |
193 //! Signer identifier: n1,n2 suject Key ID extension, n3 issuer and serial number |
222 //! The signing key: All 3; RSA key |
194 //! Signed data content: Dettached |
223 //! Digest Algorithm: MD2 |
195 //! Hash available: yes |
224 //! Signer identifier: n1,n2 suject Key ID extension, n3 issuer and serial number |
196 //! Certificates provided by User: Yes |
225 //! Signed data content: Dettached |
197 //! Certificates attached: yes |
226 //! Hash available: yes |
198 //! @SYMPREQ PREQ968 |
227 //! Certificates provided by User: Yes |
199 //! @SYMTestPriority Critical |
228 //! Certificates attached: yes |
200 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
229 //! @SYMPREQ PREQ968 |
201 //! @SYMTestExpectedResults successfully validated |
230 //! @SYMTestPriority Critical |
202 //! @SYMTestType CIT |
231 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
232 //! @SYMTestExpectedResults successfully validated |
|
233 //! @SYMTestType CIT |
203 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0009 |
234 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0009 |
204 |
235 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0010 |
205 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0010 |
236 |
206 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
237 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0011 |
207 //! encoding, decoding and validation. |
238 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0011 |
208 //! Number of signatures:3 |
239 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
209 //! The signing key: n1 RSA, n2, n3 DSA |
240 //! encoding, decoding and validation. |
210 //! Digest Algorithm: n1,n2 RSA, n3 MD5 |
241 //! Number of signatures:3 |
211 //! Signer identifier: n1 suject Key ID extension, n2,n3 issuer and serial number |
242 //! The signing key: n1 RSA, n2, n3 DSA |
212 //! Signed data content: Dettached |
243 //! Digest Algorithm: n1,n2 RSA, n3 MD5 |
213 //! Hash available: yes |
244 //! Signer identifier: n1 suject Key ID extension, n2,n3 issuer and serial number |
214 //! Certificates provided by User: Yes |
245 //! Signed data content: Dettached |
215 //! Certificates attached: yes |
246 //! Hash available: yes |
216 //! @SYMPREQ PREQ968 |
247 //! Certificates provided by User: Yes |
217 //! @SYMTestPriority Critical |
248 //! Certificates attached: yes |
218 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
249 //! @SYMPREQ PREQ968 |
219 //! @SYMTestExpectedResults successfully validated |
250 //! @SYMTestPriority Critical |
220 //! @SYMTestType CIT |
251 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
252 //! @SYMTestExpectedResults successfully validated |
|
253 //! @SYMTestType CIT |
221 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0010 |
254 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0010 |
222 |
255 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0011 |
223 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0011 |
256 |
224 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
257 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0012 |
225 //! encoding, decoding and validation. |
258 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0012 |
226 //! Number of signatures:3 |
259 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
227 //! The signing key: n1 RSA, n2, n3 DSA |
260 //! encoding, decoding and validation. |
228 //! Digest Algorithm: n1,n2 RSA, n3 MD5 |
261 //! Number of signatures:3 |
229 //! Signer identifier: n1 suject Key ID extension, n2,n3 issuer and serial number |
262 //! The signing key: n1 RSA, n2, n3 DSA |
230 //! Signed data content: Dettached |
263 //! Digest Algorithm: n1,n2 RSA, n3 MD5 |
231 //! Hash available: yes |
264 //! Signer identifier: n1 suject Key ID extension, n2,n3 issuer and serial number |
232 //! Certificates provided by User: Yes |
265 //! Signed data content: Dettached |
233 //! Certificates attached: not |
266 //! Hash available: yes |
234 //! @SYMPREQ PREQ968 |
267 //! Certificates provided by User: Yes |
235 //! @SYMTestPriority Critical |
268 //! Certificates attached: not |
236 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
269 //! @SYMPREQ PREQ968 |
237 //! @SYMTestExpectedResults successfully validated |
270 //! @SYMTestPriority Critical |
238 //! @SYMTestType CIT |
271 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
272 //! @SYMTestExpectedResults successfully validated |
|
273 //! @SYMTestType CIT |
239 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0011 |
274 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0011 |
240 |
275 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0012 |
241 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0012 |
276 |
242 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
277 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0013 |
243 //! encoding, decoding and validation. |
278 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0013 |
244 //! Number of signatures:3 |
279 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
245 //! The signing key: n1,n2 RSA, n3 DSA |
280 //! encoding, decoding and validation. |
246 //! Digest Algorithm: All SHA1 |
281 //! Number of signatures:3 |
247 //! Signer identifier: All suject Key ID extension |
282 //! The signing key: n1,n2 RSA, n3 DSA |
248 //! Signed data content: Dettached |
283 //! Digest Algorithm: All SHA1 |
249 //! Hash available: yes |
284 //! Signer identifier: All suject Key ID extension |
250 //! Certificates provided by User: Yes |
285 //! Signed data content: Dettached |
251 //! Certificates attached: not |
286 //! Hash available: yes |
252 //! @SYMPREQ PREQ968 |
287 //! Certificates provided by User: Yes |
253 //! @SYMTestPriority Critical |
288 //! Certificates attached: not |
254 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
289 //! @SYMPREQ PREQ968 |
255 //! @SYMTestExpectedResults successfully validated |
290 //! @SYMTestPriority Critical |
256 //! @SYMTestType CIT |
291 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
292 //! @SYMTestExpectedResults successfully validated |
|
293 //! @SYMTestType CIT |
257 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0012 |
294 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0012 |
258 |
295 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0013 |
259 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0013 |
296 |
260 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
297 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0014 |
261 //! encoding, decoding and validation. |
298 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0014 |
262 //! Number of signatures:3 |
299 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
263 //! The signing key: all RSA |
300 //! encoding, decoding and validation. |
264 //! Digest Algorithm: All SHA1 |
301 //! Number of signatures:3 |
265 //! Signer identifier: All issuer and serial number |
302 //! The signing key: all RSA |
266 //! Signed data content: Dettached |
303 //! Digest Algorithm: All SHA1 |
267 //! Hash available: yes |
304 //! Signer identifier: All issuer and serial number |
268 //! Certificates provided by User: Yes |
305 //! Signed data content: Dettached |
269 //! Certificates attached: yes |
306 //! Hash available: yes |
270 //! @SYMPREQ PREQ968 |
307 //! Certificates provided by User: Yes |
271 //! @SYMTestPriority Critical |
308 //! Certificates attached: yes |
272 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
309 //! @SYMPREQ PREQ968 |
273 //! @SYMTestExpectedResults successfully validated |
310 //! @SYMTestPriority Critical |
274 //! @SYMTestType CIT |
311 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
312 //! @SYMTestExpectedResults successfully validated |
|
313 //! @SYMTestType CIT |
275 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0013 |
314 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0013 |
276 |
315 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0014 |
277 |
316 |
278 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-SINGLESTEP-0014 |
317 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0015 |
279 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
318 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0015 |
280 //! encoding, decoding and validation. |
319 //! @SYMTestCaseDesc Test CMS Signed Data creation in single step with detached data, |
281 //! Number of signatures:3 (+1 attribute certificate) |
320 //! encoding, decoding and validation. |
282 //! The signing key: all DSA |
321 //! Number of signatures:3 (+1 attribute certificate) |
283 //! Digest Algorithm: All SHA1 |
322 //! The signing key: all DSA |
284 //! Signer identifier: All issuer and serial number |
323 //! Digest Algorithm: All SHA1 |
285 //! Signed data content: Dettached |
324 //! Signer identifier: All issuer and serial number |
286 //! Hash available: yes |
325 //! Signed data content: Dettached |
287 //! Certificates provided by User: Yes |
326 //! Hash available: yes |
288 //! Certificates attached: yes |
327 //! Certificates provided by User: Yes |
289 //! @SYMPREQ PREQ968 |
328 //! Certificates attached: yes |
290 //! @SYMTestPriority Critical |
329 //! @SYMPREQ PREQ968 |
291 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
330 //! @SYMTestPriority Critical |
292 //! @SYMTestExpectedResults successfully validated |
331 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
293 //! @SYMTestType CIT |
332 //! @SYMTestExpectedResults successfully validated |
|
333 //! @SYMTestType CIT |
294 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0014 |
334 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-SINGLESTEP-0014 |
295 |
335 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0015 |
296 |
336 |
297 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-0001 |
337 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0016 |
298 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
338 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0016 |
299 //! encoding, decoding and validation. |
339 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
300 //! Number of signatures:1 |
340 //! encoding, decoding and validation. |
301 //! The signing key: RSA key |
341 //! Number of signatures:1 |
302 //! Digest Algorithm: SHA1 |
342 //! The signing key: RSA key |
303 //! Signer identifier: issuer and serial number |
343 //! Digest Algorithm: SHA1 |
304 //! Signed data content: Dettached |
344 //! Signer identifier: issuer and serial number |
305 //! Hash available: yes |
345 //! Signed data content: Dettached |
306 //! Certificates provided by User: Yes |
346 //! Hash available: yes |
307 //! Certificates attached: yes |
347 //! Certificates provided by User: Yes |
308 //! @SYMPREQ PREQ968 |
348 //! Certificates attached: yes |
309 //! @SYMTestPriority Critical |
349 //! @SYMPREQ PREQ968 |
310 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
350 //! @SYMTestPriority Critical |
311 //! @SYMTestExpectedResults successfully validated |
351 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
312 //! @SYMTestType CIT |
352 //! @SYMTestExpectedResults successfully validated |
|
353 //! @SYMTestType CIT |
313 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0001 |
354 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0001 |
314 |
355 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0016 |
315 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-0002 |
356 |
316 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
357 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0017 |
317 //! encoding, decoding and validation. |
358 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0017 |
318 //! Number of signatures:1 |
359 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
319 //! The signing key: RSA key |
360 //! encoding, decoding and validation. |
320 //! Digest Algorithm: MD2 |
361 //! Number of signatures:1 |
321 //! Signer identifier: suject Key ID extension |
362 //! The signing key: RSA key |
322 //! Signed data content: Dettached |
363 //! Digest Algorithm: MD2 |
323 //! Hash available: yes |
364 //! Signer identifier: suject Key ID extension |
324 //! Certificates provided by User: Yes |
365 //! Signed data content: Dettached |
325 //! Certificates attached: not |
366 //! Hash available: yes |
326 //! @SYMPREQ PREQ968 |
367 //! Certificates provided by User: Yes |
327 //! @SYMTestPriority Critical |
368 //! Certificates attached: not |
328 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
369 //! @SYMPREQ PREQ968 |
329 //! @SYMTestExpectedResults successfully validated |
370 //! @SYMTestPriority Critical |
330 //! @SYMTestType CIT |
371 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
372 //! @SYMTestExpectedResults successfully validated |
|
373 //! @SYMTestType CIT |
331 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0002 |
374 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0002 |
332 |
375 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0017 |
333 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-0003 |
376 |
334 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
377 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0018 |
335 //! encoding, decoding and validation. |
378 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0018 |
336 //! Number of signatures:1 |
379 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
337 //! The signing key: RSA key |
380 //! encoding, decoding and validation. |
338 //! Digest Algorithm: MD5 |
381 //! Number of signatures:1 |
339 //! Signer identifier: issuer and serial number |
382 //! The signing key: RSA key |
340 //! Signed data content: Dettached |
383 //! Digest Algorithm: MD5 |
341 //! Hash available: yes |
384 //! Signer identifier: issuer and serial number |
342 //! Certificates provided by User: Yes |
385 //! Signed data content: Dettached |
343 //! Certificates attached: yes |
386 //! Hash available: yes |
344 //! @SYMPREQ PREQ968 |
387 //! Certificates provided by User: Yes |
345 //! @SYMTestPriority Critical |
388 //! Certificates attached: yes |
346 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
389 //! @SYMPREQ PREQ968 |
347 //! @SYMTestExpectedResults successfully validated |
390 //! @SYMTestPriority Critical |
348 //! @SYMTestType CIT |
391 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
392 //! @SYMTestExpectedResults successfully validated |
|
393 //! @SYMTestType CIT |
349 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0003 |
394 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0003 |
350 |
395 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0018 |
351 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-0004 |
396 |
352 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
397 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0019 |
353 //! encoding, decoding and validation. |
398 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0019 |
354 //! Number of signatures:1 |
399 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
355 //! The signing key: DSA key |
400 //! encoding, decoding and validation. |
356 //! Digest Algorithm: SHA1 |
401 //! Number of signatures:1 |
357 //! Signer identifier: issuer and serial number |
402 //! The signing key: DSA key |
358 //! Signed data content: Dettached |
403 //! Digest Algorithm: SHA1 |
359 //! Hash available: yes |
404 //! Signer identifier: issuer and serial number |
360 //! Certificates provided by User: Yes |
405 //! Signed data content: Dettached |
361 //! Certificates attached: yes |
406 //! Hash available: yes |
362 //! @SYMPREQ PREQ968 |
407 //! Certificates provided by User: Yes |
363 //! @SYMTestPriority Critical |
408 //! Certificates attached: yes |
364 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
409 //! @SYMPREQ PREQ968 |
365 //! @SYMTestExpectedResults successfully validated |
410 //! @SYMTestPriority Critical |
366 //! @SYMTestType CIT |
411 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
412 //! @SYMTestExpectedResults successfully validated |
|
413 //! @SYMTestType CIT |
367 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0004 |
414 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0004 |
368 |
415 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0019 |
369 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-0005 |
416 |
370 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
417 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0020 |
371 //! encoding, decoding and validation. |
418 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0020 |
372 //! Number of signatures:1 |
419 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
373 //! The signing key: DSA key |
420 //! encoding, decoding and validation. |
374 //! Digest Algorithm: SHA1 |
421 //! Number of signatures:1 |
375 //! Signer identifier: suject Key ID extension |
422 //! The signing key: DSA key |
376 //! Signed data content: Dettached |
423 //! Digest Algorithm: SHA1 |
377 //! Hash available: yes |
424 //! Signer identifier: suject Key ID extension |
378 //! Certificates provided by User: Yes |
425 //! Signed data content: Dettached |
379 //! Certificates attached: not |
426 //! Hash available: yes |
380 //! @SYMPREQ PREQ968 |
427 //! Certificates provided by User: Yes |
381 //! @SYMTestPriority Critical |
428 //! Certificates attached: not |
382 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
429 //! @SYMPREQ PREQ968 |
383 //! @SYMTestExpectedResults successfully validated |
430 //! @SYMTestPriority Critical |
384 //! @SYMTestType CIT |
431 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
432 //! @SYMTestExpectedResults successfully validated |
|
433 //! @SYMTestType CIT |
385 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0005 |
434 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0005 |
386 |
435 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0020 |
387 |
436 |
388 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-0006 |
437 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0021 |
389 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
438 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0021 |
390 //! encoding, decoding and validation. |
439 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
391 //! Number of signatures:1 (+ 1 signature attribute) |
440 //! encoding, decoding and validation. |
392 //! The signing key: DSA key |
441 //! Number of signatures:1 (+ 1 signature attribute) |
393 //! Digest Algorithm: SHA1 |
442 //! The signing key: DSA key |
394 //! Signer identifier: issuer and serial number |
443 //! Digest Algorithm: SHA1 |
395 //! Signed data content: Dettached |
444 //! Signer identifier: issuer and serial number |
396 //! Hash available: yes |
445 //! Signed data content: Dettached |
397 //! Certificates provided by User: Yes |
446 //! Hash available: yes |
398 //! Certificates attached: not |
447 //! Certificates provided by User: Yes |
399 //! @SYMPREQ PREQ968 |
448 //! Certificates attached: not |
400 //! @SYMTestPriority Critical |
449 //! @SYMPREQ PREQ968 |
401 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
450 //! @SYMTestPriority Critical |
402 //! @SYMTestExpectedResults successfully validated |
451 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
403 //! @SYMTestType CIT |
452 //! @SYMTestExpectedResults successfully validated |
|
453 //! @SYMTestType CIT |
404 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0006 |
454 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0006 |
405 |
455 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0021 |
406 |
456 |
407 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-0007 |
457 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0022 |
408 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
458 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0022 |
409 //! encoding, decoding and validation. |
459 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
410 //! Number of signatures: 3 |
460 //! encoding, decoding and validation. |
411 //! The signing key: ALL RSA key |
461 //! Number of signatures: 3 |
412 //! Digest Algorithm: All SHA1 |
462 //! The signing key: ALL RSA key |
413 //! Signer identifier: issuer and serial number |
463 //! Digest Algorithm: All SHA1 |
414 //! Signed data content: Dettached |
464 //! Signer identifier: issuer and serial number |
415 //! Hash available: yes |
465 //! Signed data content: Dettached |
416 //! Certificates provided by User: Yes |
466 //! Hash available: yes |
417 //! Certificates attached: not |
467 //! Certificates provided by User: Yes |
418 //! @SYMPREQ PREQ968 |
468 //! Certificates attached: not |
419 //! @SYMTestPriority Critical |
469 //! @SYMPREQ PREQ968 |
420 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
470 //! @SYMTestPriority Critical |
421 //! @SYMTestExpectedResults successfully validated |
471 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
422 //! @SYMTestType CIT |
472 //! @SYMTestExpectedResults successfully validated |
|
473 //! @SYMTestType CIT |
423 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0007 |
474 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0007 |
424 |
475 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0022 |
425 |
476 |
426 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-0008 |
477 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0023 |
427 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
478 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0023 |
428 //! encoding, decoding and validation. |
479 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
429 //! Number of signatures: 3 |
480 //! encoding, decoding and validation. |
430 //! The signing key: All RSA |
481 //! Number of signatures: 3 |
431 //! Digest Algorithm: n1 & n2 SHA1, n3 MD5 |
482 //! The signing key: All RSA |
432 //! Signer identifier: n1 suject Key ID extension, n2 & n3 issuer and serial number |
483 //! Digest Algorithm: n1 & n2 SHA1, n3 MD5 |
433 //! Signed data content: Dettached |
484 //! Signer identifier: n1 suject Key ID extension, n2 & n3 issuer and serial number |
434 //! Hash available: yes |
485 //! Signed data content: Dettached |
435 //! Certificates provided by User: Yes |
486 //! Hash available: yes |
436 //! Certificates attached: yes |
487 //! Certificates provided by User: Yes |
437 //! @SYMPREQ PREQ968 |
488 //! Certificates attached: yes |
438 //! @SYMTestPriority Critical |
489 //! @SYMPREQ PREQ968 |
439 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
490 //! @SYMTestPriority Critical |
440 //! @SYMTestExpectedResults successfully validated |
491 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
441 //! @SYMTestType CIT |
492 //! @SYMTestExpectedResults successfully validated |
|
493 //! @SYMTestType CIT |
442 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0008 |
494 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0008 |
443 |
495 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0023 |
444 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-0009 |
496 |
445 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
497 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0024 |
446 //! encoding, decoding and validation. |
498 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0024 |
447 //! Number of signatures: 3 |
499 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
448 //! The signing key: n1 RSA, n2 & n3 DSA |
500 //! encoding, decoding and validation. |
449 //! Digest Algorithm: All SHA1 |
501 //! Number of signatures: 3 |
450 //! Signer identifier: n1 issuer and serial number, n2 & n3 suject Key ID extension |
502 //! The signing key: n1 RSA, n2 & n3 DSA |
451 //! Signed data content: Dettached |
503 //! Digest Algorithm: All SHA1 |
452 //! Hash available: yes |
504 //! Signer identifier: n1 issuer and serial number, n2 & n3 suject Key ID extension |
453 //! Certificates provided by User: Yes |
505 //! Signed data content: Dettached |
454 //! Certificates attached: yes |
506 //! Hash available: yes |
455 //! @SYMPREQ PREQ968 |
507 //! Certificates provided by User: Yes |
456 //! @SYMTestPriority Critical |
508 //! Certificates attached: yes |
457 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
509 //! @SYMPREQ PREQ968 |
458 //! @SYMTestExpectedResults successfully validated |
510 //! @SYMTestPriority Critical |
459 //! @SYMTestType CIT |
511 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
512 //! @SYMTestExpectedResults successfully validated |
|
513 //! @SYMTestType CIT |
460 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0009 |
514 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0009 |
461 |
515 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0024 |
462 |
516 |
463 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-0010 |
517 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0025 |
464 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
518 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0025 |
465 //! encoding, decoding and validation. |
519 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data, |
466 //! Number of signatures: 3 |
520 //! encoding, decoding and validation. |
467 //! The signing key: 3 DSA (+1 Attribute certificate) |
521 //! Number of signatures: 3 |
468 //! Digest Algorithm: All SHA1 |
522 //! The signing key: 3 DSA (+1 Attribute certificate) |
469 //! Signer identifier: All issuer and serial number |
523 //! Digest Algorithm: All SHA1 |
470 //! Signed data content: Dettached |
524 //! Signer identifier: All issuer and serial number |
471 //! Hash available: yes |
525 //! Signed data content: Dettached |
472 //! Certificates provided by User: Yes |
526 //! Hash available: yes |
473 //! Certificates attached: not |
527 //! Certificates provided by User: Yes |
474 //! @SYMPREQ PREQ968 |
528 //! Certificates attached: not |
475 //! @SYMTestPriority Critical |
529 //! @SYMPREQ PREQ968 |
476 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
530 //! @SYMTestPriority Critical |
477 //! @SYMTestExpectedResults successfully validated |
531 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
478 //! @SYMTestType CIT |
532 //! @SYMTestExpectedResults successfully validated |
|
533 //! @SYMTestType CIT |
479 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0010 |
534 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-0010 |
480 |
535 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0025 |
481 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-NH-0001 |
536 |
482 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data without providing hash, |
537 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0026 |
483 //! encoding, decoding and validation. |
538 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0026 |
484 //! Number of signatures:1 |
539 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data without providing hash, |
485 //! The signing key: RSA key |
540 //! encoding, decoding and validation. |
486 //! Digest Algorithm: SHA1 |
541 //! Number of signatures:1 |
487 //! Signer identifier: issuer and serial number |
542 //! The signing key: RSA key |
488 //! Signed data content: Dettached |
543 //! Digest Algorithm: SHA1 |
489 //! Hash available: not |
544 //! Signer identifier: issuer and serial number |
490 //! Certificates provided by User: Yes |
545 //! Signed data content: Dettached |
491 //! Certificates attached: Yes |
546 //! Hash available: not |
492 //! @SYMPREQ PREQ968 |
547 //! Certificates provided by User: Yes |
493 //! @SYMTestPriority Critical |
548 //! Certificates attached: Yes |
494 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
549 //! @SYMPREQ PREQ968 |
495 //! @SYMTestExpectedResults successfully validated |
550 //! @SYMTestPriority Critical |
496 //! @SYMTestType CIT |
551 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
552 //! @SYMTestExpectedResults successfully validated |
|
553 //! @SYMTestType CIT |
497 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-NH-0001 |
554 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-NH-0001 |
498 |
555 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0026 |
499 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-NH-0002 |
556 |
500 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data without providing hash, |
557 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0027 |
501 //! encoding, decoding and validation. |
558 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0027 |
502 //! Number of signatures:1 |
559 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data without providing hash, |
503 //! The signing key: DSA key |
560 //! encoding, decoding and validation. |
504 //! Digest Algorithm: SHA1 |
561 //! Number of signatures:1 |
505 //! Signer identifier: issuer and serial number |
562 //! The signing key: DSA key |
506 //! Signed data content: Dettached |
563 //! Digest Algorithm: SHA1 |
507 //! Hash available: not |
564 //! Signer identifier: issuer and serial number |
508 //! Certificates provided by User: Yes |
565 //! Signed data content: Dettached |
509 //! Certificates attached: Yes |
566 //! Hash available: not |
510 //! @SYMPREQ PREQ968 |
567 //! Certificates provided by User: Yes |
511 //! @SYMTestPriority Critical |
568 //! Certificates attached: Yes |
512 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
569 //! @SYMPREQ PREQ968 |
513 //! @SYMTestExpectedResults successfully validated |
570 //! @SYMTestPriority Critical |
514 //! @SYMTestType CIT |
571 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
572 //! @SYMTestExpectedResults successfully validated |
|
573 //! @SYMTestType CIT |
515 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-NH-0002 |
574 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-NH-0002 |
516 |
575 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0027 |
517 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-NH-0003 |
576 |
518 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data without providing hash, |
577 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0028 |
519 //! encoding, decoding and validation. |
578 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0028 |
520 //! Number of signatures:1 (+1 attribute certificate) |
579 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data without providing hash, |
521 //! The signing key: DSA key |
580 //! encoding, decoding and validation. |
522 //! Digest Algorithm: sha1 |
581 //! Number of signatures:1 (+1 attribute certificate) |
523 //! Signer identifier: suject Key ID extension |
582 //! The signing key: DSA key |
524 //! Signed data content: Dettached |
583 //! Digest Algorithm: sha1 |
525 //! Hash available: not |
584 //! Signer identifier: suject Key ID extension |
526 //! Certificates provided by User: Yes |
585 //! Signed data content: Dettached |
527 //! Certificates attached: not |
586 //! Hash available: not |
528 //! @SYMPREQ PREQ968 |
587 //! Certificates provided by User: Yes |
529 //! @SYMTestPriority Critical |
588 //! Certificates attached: not |
530 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
589 //! @SYMPREQ PREQ968 |
531 //! @SYMTestExpectedResults successfully validated |
590 //! @SYMTestPriority Critical |
532 //! @SYMTestType CIT |
591 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
592 //! @SYMTestExpectedResults successfully validated |
|
593 //! @SYMTestType CIT |
533 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-NH-0003 |
594 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-NH-0003 |
534 |
595 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0028 |
535 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-NH-0004 |
596 |
536 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data without providing hash, |
597 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0029 |
537 //! encoding, decoding and validation. |
598 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0029 |
538 //! Number of signatures:3 |
599 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data without providing hash, |
539 //! The signing key: All RSA |
600 //! encoding, decoding and validation. |
540 //! Digest Algorithm: All MD5 |
601 //! Number of signatures:3 |
541 //! Signer identifier: n1 & n3 suject Key ID extension, n2 issuer and serial number |
602 //! The signing key: All RSA |
542 //! Signed data content: Dettached |
603 //! Digest Algorithm: All MD5 |
543 //! Hash available: not |
604 //! Signer identifier: n1 & n3 suject Key ID extension, n2 issuer and serial number |
544 //! Certificates provided by User: Yes |
605 //! Signed data content: Dettached |
545 //! Certificates attached: yes |
606 //! Hash available: not |
546 //! @SYMPREQ PREQ968 |
607 //! Certificates provided by User: Yes |
547 //! @SYMTestPriority Critical |
608 //! Certificates attached: yes |
548 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
609 //! @SYMPREQ PREQ968 |
549 //! @SYMTestExpectedResults successfully validated |
610 //! @SYMTestPriority Critical |
550 //! @SYMTestType CIT |
611 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
612 //! @SYMTestExpectedResults successfully validated |
|
613 //! @SYMTestType CIT |
551 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-NH-0004 |
614 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-NH-0004 |
552 |
615 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0029 |
553 |
616 |
554 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-NH-0005 |
617 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0030 |
555 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data without providing hash, |
618 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0030 |
556 //! encoding, decoding and validation. |
619 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data without providing hash, |
557 //! Number of signatures:3 |
620 //! encoding, decoding and validation. |
558 //! The signing key: n1 & n2 RSA, n3 DSA |
621 //! Number of signatures:3 |
559 //! Digest Algorithm: n1 MD2, n2 MD5, n3 SHA1 |
622 //! The signing key: n1 & n2 RSA, n3 DSA |
560 //! Signer identifier: n1 suject Key ID extension, n2 & n3 issuer and serial number |
623 //! Digest Algorithm: n1 MD2, n2 MD5, n3 SHA1 |
561 //! Signed data content: Dettached |
624 //! Signer identifier: n1 suject Key ID extension, n2 & n3 issuer and serial number |
562 //! Hash available: not |
625 //! Signed data content: Dettached |
563 //! Certificates provided by User: Yes |
626 //! Hash available: not |
564 //! Certificates attached: not |
627 //! Certificates provided by User: Yes |
565 //! @SYMPREQ PREQ968 |
628 //! Certificates attached: not |
566 //! @SYMTestPriority Critical |
629 //! @SYMPREQ PREQ968 |
567 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
630 //! @SYMTestPriority Critical |
568 //! @SYMTestExpectedResults successfully validated |
631 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
569 //! @SYMTestType CIT |
632 //! @SYMTestExpectedResults successfully validated |
|
633 //! @SYMTestType CIT |
570 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-NH-0005 |
634 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-NH-0005 |
571 |
635 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0030 |
572 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-NH-0006 |
636 |
573 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data without providing hash, |
637 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0031 |
574 //! encoding, decoding and validation. |
638 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0031 |
575 //! Number of signatures:3 (+ 1 attribute certificate) |
639 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data without providing hash, |
576 //! The signing key: all DSA |
640 //! encoding, decoding and validation. |
577 //! Digest Algorithm: All SHA1 |
641 //! Number of signatures:3 (+ 1 attribute certificate) |
578 //! Signer identifier: All issuer and serial number |
642 //! The signing key: all DSA |
579 //! Signed data content: Dettached |
643 //! Digest Algorithm: All SHA1 |
580 //! Hash available: not |
644 //! Signer identifier: All issuer and serial number |
581 //! Certificates provided by User: Yes |
645 //! Signed data content: Dettached |
582 //! Certificates attached: yes |
646 //! Hash available: not |
583 //! @SYMPREQ PREQ968 |
647 //! Certificates provided by User: Yes |
584 //! @SYMTestPriority Critical |
648 //! Certificates attached: yes |
585 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
649 //! @SYMPREQ PREQ968 |
586 //! @SYMTestExpectedResults successfully validated |
650 //! @SYMTestPriority Critical |
587 //! @SYMTestType CIT |
651 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
652 //! @SYMTestExpectedResults successfully validated |
|
653 //! @SYMTestType CIT |
588 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-NH-0006 |
654 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-NH-0006 |
589 |
655 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0031 |
590 |
656 |
591 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-DETACHED-TWOSTEP-NH-0006 |
657 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0032 |
592 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data without providing hash, |
658 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0032 |
593 //! encoding, decoding and validation. |
659 //! @SYMTestCaseDesc Test CMS Signed Data creation in two step with detached data without providing hash, |
594 //! Number of signatures:3 (+ 1 attribute certificate) |
660 //! encoding, decoding and validation. |
595 //! The signing key: all DSA |
661 //! Number of signatures:3 (+ 1 attribute certificate) |
596 //! Digest Algorithm: All SHA1 |
662 //! The signing key: all DSA |
597 //! Signer identifier: All issuer and serial number |
663 //! Digest Algorithm: All SHA1 |
598 //! Signed data content: Dettached |
664 //! Signer identifier: All issuer and serial number |
599 //! Hash available: not |
665 //! Signed data content: Dettached |
600 //! Certificates provided by User: Yes |
666 //! Hash available: not |
601 //! Certificates attached: yes |
667 //! Certificates provided by User: Yes |
602 //! @SYMPREQ PREQ968 |
668 //! Certificates attached: yes |
603 //! @SYMTestPriority Critical |
669 //! @SYMPREQ PREQ968 |
604 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
670 //! @SYMTestPriority Critical |
605 //! @SYMTestExpectedResults successfully validated |
671 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
606 //! @SYMTestType CIT |
672 //! @SYMTestExpectedResults successfully validated |
|
673 //! @SYMTestType CIT |
607 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-NH-0006 |
674 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-DETACHED-TWOSTEP-NH-0006 |
608 |
675 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0032 |
609 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-NH-0001 |
676 |
610 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
677 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0033 |
611 //! encoding, decoding and validation. |
678 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0033 |
612 //! Number of signatures: 1 |
679 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
613 //! The signing key: RSA |
680 //! encoding, decoding and validation. |
614 //! Digest Algorithm: SHA1 |
681 //! Number of signatures: 1 |
615 //! Signer identifier: issuer and serial number |
682 //! The signing key: RSA |
616 //! Signed data content: Attached |
683 //! Digest Algorithm: SHA1 |
617 //! Hash available: not |
684 //! Signer identifier: issuer and serial number |
618 //! Certificates provided by User: Yes |
685 //! Signed data content: Attached |
619 //! Certificates attached: yes |
686 //! Hash available: not |
620 //! @SYMPREQ PREQ968 |
687 //! Certificates provided by User: Yes |
621 //! @SYMTestPriority Critical |
688 //! Certificates attached: yes |
622 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
689 //! @SYMPREQ PREQ968 |
623 //! @SYMTestExpectedResults successfully validated |
690 //! @SYMTestPriority Critical |
624 //! @SYMTestType CIT |
691 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
692 //! @SYMTestExpectedResults successfully validated |
|
693 //! @SYMTestType CIT |
625 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0001 |
694 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0001 |
626 |
695 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0033 |
627 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-NH-0002 |
696 |
628 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
697 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0034 |
629 //! encoding, decoding and validation. |
698 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0034 |
630 //! Number of signatures: 1 |
699 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
631 //! The signing key: RSA |
700 //! encoding, decoding and validation. |
632 //! Digest Algorithm: MD2 |
701 //! Number of signatures: 1 |
633 //! Signer identifier: suject Key ID extension |
702 //! The signing key: RSA |
634 //! Signed data content: Attached |
703 //! Digest Algorithm: MD2 |
635 //! Hash available: not |
704 //! Signer identifier: suject Key ID extension |
636 //! Certificates provided by User: Yes |
705 //! Signed data content: Attached |
637 //! Certificates attached: not |
706 //! Hash available: not |
638 //! @SYMPREQ PREQ968 |
707 //! Certificates provided by User: Yes |
639 //! @SYMTestPriority Critical |
708 //! Certificates attached: not |
640 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
709 //! @SYMPREQ PREQ968 |
641 //! @SYMTestExpectedResults successfully validated |
710 //! @SYMTestPriority Critical |
642 //! @SYMTestType CIT |
711 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
712 //! @SYMTestExpectedResults successfully validated |
|
713 //! @SYMTestType CIT |
643 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0002 |
714 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0002 |
644 |
715 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0034 |
645 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-NH-0003 |
716 |
646 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
717 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0035 |
647 //! encoding, decoding and validation. |
718 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0035 |
648 //! Number of signatures: 1 |
719 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
649 //! The signing key: RSA |
720 //! encoding, decoding and validation. |
650 //! Digest Algorithm: MD5 |
721 //! Number of signatures: 1 |
651 //! Signer identifier: issuer and serial number |
722 //! The signing key: RSA |
652 //! Signed data content: Attached |
723 //! Digest Algorithm: MD5 |
653 //! Hash available: not |
724 //! Signer identifier: issuer and serial number |
654 //! Certificates provided by User: Yes |
725 //! Signed data content: Attached |
655 //! Certificates attached: yes |
726 //! Hash available: not |
656 //! @SYMPREQ PREQ968 |
727 //! Certificates provided by User: Yes |
657 //! @SYMTestPriority Critical |
728 //! Certificates attached: yes |
658 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
729 //! @SYMPREQ PREQ968 |
659 //! @SYMTestExpectedResults successfully validated |
730 //! @SYMTestPriority Critical |
660 //! @SYMTestType CIT |
731 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
732 //! @SYMTestExpectedResults successfully validated |
|
733 //! @SYMTestType CIT |
661 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0003 |
734 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0003 |
662 |
735 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0035 |
663 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-NH-0004 |
736 |
664 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
737 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0036 |
665 //! encoding, decoding and validation. |
738 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0036 |
666 //! Number of signatures: 1 |
739 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
667 //! The signing key: DSA |
740 //! encoding, decoding and validation. |
668 //! Digest Algorithm: SHA1 |
741 //! Number of signatures: 1 |
669 //! Signer identifier: issuer and serial number |
742 //! The signing key: DSA |
670 //! Signed data content: Attached |
743 //! Digest Algorithm: SHA1 |
671 //! Hash available: not |
744 //! Signer identifier: issuer and serial number |
672 //! Certificates provided by User: Yes |
745 //! Signed data content: Attached |
673 //! Certificates attached: not |
746 //! Hash available: not |
674 //! @SYMPREQ PREQ968 |
747 //! Certificates provided by User: Yes |
675 //! @SYMTestPriority Critical |
748 //! Certificates attached: not |
676 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
749 //! @SYMPREQ PREQ968 |
677 //! @SYMTestExpectedResults successfully validated |
750 //! @SYMTestPriority Critical |
678 //! @SYMTestType CIT |
751 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
752 //! @SYMTestExpectedResults successfully validated |
|
753 //! @SYMTestType CIT |
679 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0004 |
754 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0004 |
680 |
755 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0036 |
681 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-NH-0005 |
756 |
682 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
757 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0037 |
683 //! encoding, decoding and validation. |
758 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0037 |
684 //! Number of signatures: 1 (+a attribute certificate) |
759 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
685 //! The signing key: DSA |
760 //! encoding, decoding and validation. |
686 //! Digest Algorithm: SHA1 |
761 //! Number of signatures: 1 (+a attribute certificate) |
687 //! Signer identifier: issuer and serial number |
762 //! The signing key: DSA |
688 //! Signed data content: Attached |
763 //! Digest Algorithm: SHA1 |
689 //! Hash available: not |
764 //! Signer identifier: issuer and serial number |
690 //! Certificates provided by User: Yes |
765 //! Signed data content: Attached |
691 //! Certificates attached: not |
766 //! Hash available: not |
692 //! @SYMPREQ PREQ968 |
767 //! Certificates provided by User: Yes |
693 //! @SYMTestPriority Critical |
768 //! Certificates attached: not |
694 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
769 //! @SYMPREQ PREQ968 |
695 //! @SYMTestExpectedResults successfully validated |
770 //! @SYMTestPriority Critical |
696 //! @SYMTestType CIT |
771 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
772 //! @SYMTestExpectedResults successfully validated |
|
773 //! @SYMTestType CIT |
697 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0005 |
774 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0005 |
698 |
775 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0037 |
699 |
776 |
700 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-NH-0006 |
777 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0038 |
701 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
778 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0038 |
702 //! encoding, decoding and validation. |
779 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
703 //! Number of signatures: 3 |
780 //! encoding, decoding and validation. |
704 //! The signing key: RSA |
781 //! Number of signatures: 3 |
705 //! Digest Algorithm: All MD2 |
782 //! The signing key: RSA |
706 //! Signer identifier: All suject Key ID extension. |
783 //! Digest Algorithm: All MD2 |
707 //! Signed data content: Attached |
784 //! Signer identifier: All suject Key ID extension. |
708 //! Hash available: not |
785 //! Signed data content: Attached |
709 //! Certificates provided by User: Yes |
786 //! Hash available: not |
710 //! Certificates attached: yes |
787 //! Certificates provided by User: Yes |
711 //! @SYMPREQ PREQ968 |
788 //! Certificates attached: yes |
712 //! @SYMTestPriority Critical |
789 //! @SYMPREQ PREQ968 |
713 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
790 //! @SYMTestPriority Critical |
714 //! @SYMTestExpectedResults successfully validated |
791 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
715 //! @SYMTestType CIT |
792 //! @SYMTestExpectedResults successfully validated |
|
793 //! @SYMTestType CIT |
716 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0006 |
794 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0006 |
717 |
795 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0038 |
718 |
796 |
719 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-NH-0007 |
797 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0039 |
720 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
798 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0039 |
721 //! encoding, decoding and validation. |
799 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
722 //! Number of signatures: 3 |
800 //! encoding, decoding and validation. |
723 //! The signing key: RSA |
801 //! Number of signatures: 3 |
724 //! Digest Algorithm: All MD5 |
802 //! The signing key: RSA |
725 //! Signer identifier: n1 & n3 suject Key ID extension, n2 issuer and serial number |
803 //! Digest Algorithm: All MD5 |
726 //! Signed data content: Attached |
804 //! Signer identifier: n1 & n3 suject Key ID extension, n2 issuer and serial number |
727 //! Hash available: not |
805 //! Signed data content: Attached |
728 //! Certificates provided by User: Yes |
806 //! Hash available: not |
729 //! Certificates attached: yes |
807 //! Certificates provided by User: Yes |
730 //! @SYMPREQ PREQ968 |
808 //! Certificates attached: yes |
731 //! @SYMTestPriority Critical |
809 //! @SYMPREQ PREQ968 |
732 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
810 //! @SYMTestPriority Critical |
733 //! @SYMTestExpectedResults successfully validated |
811 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
734 //! @SYMTestType CIT |
812 //! @SYMTestExpectedResults successfully validated |
|
813 //! @SYMTestType CIT |
735 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0007 |
814 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0007 |
736 |
815 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0039 |
737 |
816 |
738 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-NH-0008 |
817 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0040 |
739 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
818 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0040 |
740 //! encoding, decoding and validation. |
819 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
741 //! Number of signatures: 3 |
820 //! encoding, decoding and validation. |
742 //! The signing key: n1 RSA, n2 & n3 DSA |
821 //! Number of signatures: 3 |
743 //! Digest Algorithm: n1 MD2, n2 MD5, n3 SHA1 |
822 //! The signing key: n1 RSA, n2 & n3 DSA |
744 //! Signer identifier: n1 suject Key ID extension, n2 & n3 issuer and serial number |
823 //! Digest Algorithm: n1 MD2, n2 MD5, n3 SHA1 |
745 //! Signed data content: Attached |
824 //! Signer identifier: n1 suject Key ID extension, n2 & n3 issuer and serial number |
746 //! Hash available: not |
825 //! Signed data content: Attached |
747 //! Certificates provided by User: Yes |
826 //! Hash available: not |
748 //! Certificates attached: not |
827 //! Certificates provided by User: Yes |
749 //! @SYMPREQ PREQ968 |
828 //! Certificates attached: not |
750 //! @SYMTestPriority Critical |
829 //! @SYMPREQ PREQ968 |
751 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
830 //! @SYMTestPriority Critical |
752 //! @SYMTestExpectedResults successfully validated |
831 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
753 //! @SYMTestType CIT |
832 //! @SYMTestExpectedResults successfully validated |
|
833 //! @SYMTestType CIT |
754 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0008 |
834 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0008 |
755 |
835 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0040 |
756 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-NH-0009 |
836 |
757 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
837 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0041 |
758 //! encoding, decoding and validation. |
838 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0041 |
759 //! Number of signatures: 3 (+1 X509 certificate) |
839 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data without providing hash, |
760 //! The signing key: All DSA |
840 //! encoding, decoding and validation. |
761 //! Digest Algorithm: All SHA1 |
841 //! Number of signatures: 3 (+1 X509 certificate) |
762 //! Signer identifier: All issuer and serial number |
842 //! The signing key: All DSA |
763 //! Signed data content: Attached |
843 //! Digest Algorithm: All SHA1 |
764 //! Hash available: not |
844 //! Signer identifier: All issuer and serial number |
765 //! Certificates provided by User: Yes |
845 //! Signed data content: Attached |
766 //! Certificates attached: not |
846 //! Hash available: not |
767 //! @SYMPREQ PREQ968 |
847 //! Certificates provided by User: Yes |
768 //! @SYMTestPriority Critical |
848 //! Certificates attached: not |
769 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
849 //! @SYMPREQ PREQ968 |
770 //! @SYMTestExpectedResults successfully validated |
850 //! @SYMTestPriority Critical |
771 //! @SYMTestType CIT |
851 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
852 //! @SYMTestExpectedResults successfully validated |
|
853 //! @SYMTestType CIT |
772 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0009 |
854 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-NH-0009 |
773 |
855 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0041 |
774 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-0001 |
856 |
775 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data (providing hash), |
857 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0042 |
776 //! encoding, decoding and validation. |
858 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0042 |
777 //! Number of signatures: 1 |
859 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data (providing hash), |
778 //! The signing key: RSA |
860 //! encoding, decoding and validation. |
779 //! Digest Algorithm: SHA1 |
861 //! Number of signatures: 1 |
780 //! Signer identifier: issuer and serial number |
862 //! The signing key: RSA |
781 //! Signed data content: Attached |
863 //! Digest Algorithm: SHA1 |
782 //! Hash available: yes |
864 //! Signer identifier: issuer and serial number |
783 //! Certificates provided by User: Yes |
865 //! Signed data content: Attached |
784 //! Certificates attached: yes |
866 //! Hash available: yes |
785 //! @SYMPREQ PREQ968 |
867 //! Certificates provided by User: Yes |
786 //! @SYMTestPriority Critical |
868 //! Certificates attached: yes |
787 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
869 //! @SYMPREQ PREQ968 |
788 //! @SYMTestExpectedResults successfully validated |
870 //! @SYMTestPriority Critical |
789 //! @SYMTestType CIT |
871 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
872 //! @SYMTestExpectedResults successfully validated |
|
873 //! @SYMTestType CIT |
790 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-0001 |
874 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-0001 |
791 |
875 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0042 |
792 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-0002 |
876 |
793 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data (providing hash), |
877 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0043 |
794 //! encoding, decoding and validation. |
878 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0043 |
795 //! Number of signatures: 1 |
879 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data (providing hash), |
796 //! The signing key: RSA |
880 //! encoding, decoding and validation. |
797 //! Digest Algorithm: MD5 |
881 //! Number of signatures: 1 |
798 //! Signer identifier: issuer and serial number |
882 //! The signing key: RSA |
799 //! Signed data content: Attached |
883 //! Digest Algorithm: MD5 |
800 //! Hash available: yes |
884 //! Signer identifier: issuer and serial number |
801 //! Certificates provided by User: Yes |
885 //! Signed data content: Attached |
802 //! Certificates attached: yes |
886 //! Hash available: yes |
803 //! @SYMPREQ PREQ968 |
887 //! Certificates provided by User: Yes |
804 //! @SYMTestPriority Critical |
888 //! Certificates attached: yes |
805 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
889 //! @SYMPREQ PREQ968 |
806 //! @SYMTestExpectedResults successfully validated |
890 //! @SYMTestPriority Critical |
807 //! @SYMTestType CIT |
891 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
|
892 //! @SYMTestExpectedResults successfully validated |
|
893 //! @SYMTestType CIT |
808 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-0002 |
894 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-0002 |
809 |
895 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0043 |
810 |
896 |
811 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-0003 |
897 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0044 |
812 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data (providing hash), |
898 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0044 |
813 //! encoding, decoding and validation. |
899 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data (providing hash), |
814 //! Number of signatures: 1 |
900 //! encoding, decoding and validation. |
815 //! The signing key: DSA |
901 //! Number of signatures: 1 |
816 //! Digest Algorithm: SHA1 |
902 //! The signing key: DSA |
817 //! Signer identifier: suject Key ID extension |
903 //! Digest Algorithm: SHA1 |
818 //! Signed data content: Attached |
904 //! Signer identifier: suject Key ID extension |
819 //! Hash available: yes |
905 //! Signed data content: Attached |
820 //! Certificates provided by User: not |
906 //! Hash available: yes |
821 //! Certificates attached: not |
907 //! Certificates provided by User: not |
822 //! @SYMPREQ PREQ968 |
908 //! Certificates attached: not |
823 //! @SYMTestPriority Critical |
909 //! @SYMPREQ PREQ968 |
824 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
910 //! @SYMTestPriority Critical |
825 //! @SYMTestExpectedResults successfully validated |
911 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
826 //! @SYMTestType CIT |
912 //! @SYMTestExpectedResults successfully validated |
|
913 //! @SYMTestType CIT |
827 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-0003 |
914 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-0003 |
828 |
915 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0044 |
829 |
916 |
830 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-0004 |
917 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0045 |
831 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data (providing hash), |
918 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0045 |
832 //! encoding, decoding and validation. |
919 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data (providing hash), |
833 //! Number of signatures: 3 |
920 //! encoding, decoding and validation. |
834 //! The signing key: All 3 RSA |
921 //! Number of signatures: 3 |
835 //! Digest Algorithm: All 3 SHA1 |
922 //! The signing key: All 3 RSA |
836 //! Signer identifier: All issuer and serial number |
923 //! Digest Algorithm: All 3 SHA1 |
837 //! Signed data content: Attached |
924 //! Signer identifier: All issuer and serial number |
838 //! Hash available: yes |
925 //! Signed data content: Attached |
839 //! Certificates provided by User: not |
926 //! Hash available: yes |
840 //! Certificates attached: not |
927 //! Certificates provided by User: not |
841 //! @SYMPREQ PREQ968 |
928 //! Certificates attached: not |
842 //! @SYMTestPriority Critical |
929 //! @SYMPREQ PREQ968 |
843 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
930 //! @SYMTestPriority Critical |
844 //! @SYMTestExpectedResults successfully validated |
931 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
845 //! @SYMTestType CIT |
932 //! @SYMTestExpectedResults successfully validated |
|
933 //! @SYMTestType CIT |
846 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-0004 |
934 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-0004 |
847 |
935 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0045 |
848 |
936 |
849 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-0005 |
937 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0046 |
850 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data (providing hash), |
938 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0046 |
851 //! encoding, decoding and validation. |
939 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data (providing hash), |
852 //! Number of signatures: 3 (+1 attribute certificate) |
940 //! encoding, decoding and validation. |
853 //! The signing key: All 3 RSA |
941 //! Number of signatures: 3 (+1 attribute certificate) |
854 //! Digest Algorithm: n1 SHA1, n2 MD2, n3 MD5 |
942 //! The signing key: All 3 RSA |
855 //! Signer identifier: All issuer and serial number |
943 //! Digest Algorithm: n1 SHA1, n2 MD2, n3 MD5 |
856 //! Signed data content: Attached |
944 //! Signer identifier: All issuer and serial number |
857 //! Hash available: yes |
945 //! Signed data content: Attached |
858 //! Certificates provided by User: not |
946 //! Hash available: yes |
859 //! Certificates attached: not |
947 //! Certificates provided by User: not |
860 //! @SYMPREQ PREQ968 |
948 //! Certificates attached: not |
861 //! @SYMTestPriority Critical |
949 //! @SYMPREQ PREQ968 |
862 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
950 //! @SYMTestPriority Critical |
863 //! @SYMTestExpectedResults successfully validated |
951 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
864 //! @SYMTestType CIT |
952 //! @SYMTestExpectedResults successfully validated |
|
953 //! @SYMTestType CIT |
865 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-0005 |
954 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-0005 |
866 |
955 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0046 |
867 |
956 |
868 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-ATTACHED-TWOSTEP-0006 |
957 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0047 |
869 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data (providing hash), |
958 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0047 |
870 //! encoding, decoding and validation. |
959 //! @SYMTestCaseDesc Test CMS Test CMS Signed Data creation in two step with attached data (providing hash), |
871 //! Number of signatures: 3 |
960 //! encoding, decoding and validation. |
872 //! The signing key: All 3 RSA |
961 //! Number of signatures: 3 |
873 //! Digest Algorithm: n1 MD2, n2 MD5, n3 SHA1 |
962 //! The signing key: All 3 RSA |
874 //! Signer identifier: All issuer and serial number |
963 //! Digest Algorithm: n1 MD2, n2 MD5, n3 SHA1 |
875 //! Signed data content: Attached |
964 //! Signer identifier: All issuer and serial number |
876 //! Hash available: yes |
965 //! Signed data content: Attached |
877 //! Certificates provided by User: yes |
966 //! Hash available: yes |
878 //! Certificates attached: yes |
967 //! Certificates provided by User: yes |
879 //! @SYMPREQ PREQ968 |
968 //! Certificates attached: yes |
880 //! @SYMTestPriority Critical |
969 //! @SYMPREQ PREQ968 |
881 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
970 //! @SYMTestPriority Critical |
882 //! @SYMTestExpectedResults successfully validated |
971 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. |
883 //! @SYMTestType CIT |
972 //! @SYMTestExpectedResults successfully validated |
|
973 //! @SYMTestType CIT |
884 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-0006 |
974 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SIGNED-ATTACHED-TWOSTEP-0006 |
885 |
975 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0047 |
886 |
976 |
887 |
977 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_UNSIGNED-0001 |
888 //! @SYMTestCaseID SEC-CMS-IT-UNSIGNED-0001 |
978 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_UNSIGNED-0001 |
889 //! @SYMTestCaseDesc Test to ensure that CCmsContentInfo can deal with small amount of unsigned data. |
979 //! @SYMTestCaseDesc Test to ensure that CCmsContentInfo can deal with small amount of unsigned data. |
890 //! @SYMPREQ PREQ968 |
980 //! @SYMPREQ PREQ968 |
891 //! @SYMTestPriority Critical |
981 //! @SYMTestPriority Critical |
892 //! @SYMTestActions Call CCmsContentInfo providing only 4 bytes of data for the aContentData content value. |
982 //! @SYMTestActions Call CCmsContentInfo providing only 4 bytes of data for the aContentData content value. |
893 //! @SYMTestExpectedResults Object is constructed without error, and is equal to expected result |
983 //! @SYMTestExpectedResults Object is constructed without error, and is equal to expected result |
894 //! @SYMTestType CIT |
984 //! @SYMTestType CIT |
895 RUN_TEST_STEP 100 tpkcs7server CMSData C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-UNSIGNED-0001 |
985 RUN_TEST_STEP 100 tpkcs7server CMSData C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-UNSIGNED-0001 |
896 |
986 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_UNSIGNED-0001 |
897 |
987 |
898 |
988 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_UNSIGNED-0002 |
899 //! @SYMTestCaseID SEC-CMS-IT-UNSIGNED-0002 |
989 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_UNSIGNED-0002 |
900 //! @SYMTestCaseDesc Test to ensure that CCmsContentInfo can deal with small amount of unsigned data. |
990 //! @SYMTestCaseDesc Test to ensure that CCmsContentInfo can deal with small amount of unsigned data. |
901 //! @SYMPREQ PREQ968 |
991 //! @SYMPREQ PREQ968 |
902 //! @SYMTestPriority Critical |
992 //! @SYMTestPriority Critical |
903 //! @SYMTestActions Call CCmsContentInfo providing only 500 Kbytes of data for the aContentData content value. |
993 //! @SYMTestActions Call CCmsContentInfo providing only 500 Kbytes of data for the aContentData content value. |
904 //! @SYMTestExpectedResults Object is constructed without error, and is equal to expected result |
994 //! @SYMTestExpectedResults Object is constructed without error, and is equal to expected result |
905 //! @SYMTestType CIT |
995 //! @SYMTestType CIT |
906 RUN_TEST_STEP 100 tpkcs7server CMSData C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-UNSIGNED-0002 |
996 RUN_TEST_STEP 100 tpkcs7server CMSData C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-UNSIGNED-0002 |
907 |
997 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_UNSIGNED-0002 |
908 |
998 |
909 |
999 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_OOM-0001 |
910 //! @SYMTestCaseID SEC-CMS-IT-OOM-0001 |
1000 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_OOM-0001 |
911 //! @SYMTestCaseDesc Test to To ensure that Symbian a CCmsSignedObject can handle out of memory |
1001 //! @SYMTestCaseDesc Test to To ensure that Symbian a CCmsSignedObject can handle out of memory |
912 //! conditions gracefully |
1002 //! conditions gracefully |
913 //! Number of signatures: 1 |
1003 //! Number of signatures: 1 |
914 //! The signing key: RSA |
1004 //! The signing key: RSA |
915 //! Digest Algorithm: MD2 |
1005 //! Digest Algorithm: MD2 |
916 //! Signer identifier: suject Key ID extension |
1006 //! Signer identifier: suject Key ID extension |
917 //! Signed data content: Detached |
1007 //! Signed data content: Detached |
918 //! Certificates provided by User: not |
1008 //! Certificates provided by User: not |
919 //! Certificates attached: not |
1009 //! Certificates attached: not |
920 //! Construction method: Single Step |
1010 //! Construction method: Single Step |
921 //! @SYMPREQ PREQ968 |
1011 //! @SYMPREQ PREQ968 |
922 //! @SYMTestPriority Critical |
1012 //! @SYMTestPriority Critical |
923 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation in OOM conditions. |
1013 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation in OOM conditions. |
924 //! @SYMTestExpectedResults Constructor Should return KErrNoMemory, No memory leak is created |
1014 //! @SYMTestExpectedResults Constructor Should return KErrNoMemory, No memory leak is created |
925 //! @SYMTestType CIT |
1015 //! @SYMTestType CIT |
926 RUN_TEST_STEP 800 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-OOM-0001 |
1016 RUN_TEST_STEP 800 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-OOM-0001 |
927 |
1017 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_OOM-0001 |
928 |
1018 |
929 //! @SYMTestCaseID SEC-CMS-IT-OOM-0002 |
1019 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_OOM-0002 |
930 //! @SYMTestCaseDesc Test to To ensure that Symbian a CCmsSignedObject can handle out of memory |
1020 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_OOM-0002 |
931 //! conditions gracefully |
1021 //! @SYMTestCaseDesc Test to To ensure that Symbian a CCmsSignedObject can handle out of memory |
932 //! Number of signatures: 3 |
1022 //! conditions gracefully |
933 //! The signing key: RSA |
1023 //! Number of signatures: 3 |
934 //! Digest Algorithm: n1 & n2 SHA1, n3 MD5 |
1024 //! The signing key: RSA |
935 //! Signer identifier: n1 suject Key ID extension, n2 & n3 issuer and serial number |
1025 //! Digest Algorithm: n1 & n2 SHA1, n3 MD5 |
936 //! Signed data content: Detached |
1026 //! Signer identifier: n1 suject Key ID extension, n2 & n3 issuer and serial number |
937 //! Certificates provided by User: not |
1027 //! Signed data content: Detached |
938 //! Certificates attached: not |
1028 //! Certificates provided by User: not |
939 //! Construction method: two Steps |
1029 //! Certificates attached: not |
940 //! @SYMPREQ PREQ968 |
1030 //! Construction method: two Steps |
941 //! @SYMTestPriority Critical |
1031 //! @SYMPREQ PREQ968 |
942 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation in OOM conditions. |
1032 //! @SYMTestPriority Critical |
943 //! @SYMTestExpectedResults Constructor Should return KErrNoMemory, No memory leak is created |
1033 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation in OOM conditions. |
944 //! @SYMTestType CIT |
1034 //! @SYMTestExpectedResults Constructor Should return KErrNoMemory, No memory leak is created |
|
1035 //! @SYMTestType CIT |
945 RUN_TEST_STEP 800 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-OOM-0002 |
1036 RUN_TEST_STEP 800 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-OOM-0002 |
946 |
1037 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_OOM-0002 |
947 |
1038 |
948 //! @SYMTestCaseID SEC-CMS-IT-OOM-0003 |
1039 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_OOM-0003 |
949 //! @SYMTestCaseDesc Test to To ensure that Symbian a CCmsSignedObject can handle out of memory |
1040 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_OOM-0003 |
950 //! conditions gracefully |
1041 //! @SYMTestCaseDesc Test to To ensure that Symbian a CCmsSignedObject can handle out of memory |
951 //! Number of signatures: 3 |
1042 //! conditions gracefully |
952 //! The signing key: n1 & n2 RSA, n3 DSA |
1043 //! Number of signatures: 3 |
953 //! Digest Algorithm: n1 MD2, n2 MD5, n3 SHA1 |
1044 //! The signing key: n1 & n2 RSA, n3 DSA |
954 //! Signer identifier: n1 suject Key ID extension, n2 & n3 issuer and serial number |
1045 //! Digest Algorithm: n1 MD2, n2 MD5, n3 SHA1 |
955 //! Signed data content: Detached |
1046 //! Signer identifier: n1 suject Key ID extension, n2 & n3 issuer and serial number |
956 //! Certificates provided by User: not |
1047 //! Signed data content: Detached |
957 //! Certificates attached: not |
1048 //! Certificates provided by User: not |
958 //! Construction method: two Steps & no hash provided |
1049 //! Certificates attached: not |
959 //! @SYMPREQ PREQ968 |
1050 //! Construction method: two Steps & no hash provided |
960 //! @SYMTestPriority Critical |
1051 //! @SYMPREQ PREQ968 |
961 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation in OOM conditions. |
1052 //! @SYMTestPriority Critical |
962 //! @SYMTestExpectedResults Constructor Should return KErrNoMemory, No memory leak is created |
1053 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation in OOM conditions. |
963 //! @SYMTestType CIT |
1054 //! @SYMTestExpectedResults Constructor Should return KErrNoMemory, No memory leak is created |
|
1055 //! @SYMTestType CIT |
964 RUN_TEST_STEP 800 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-OOM-0003 |
1056 RUN_TEST_STEP 800 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-OOM-0003 |
965 |
1057 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_OOM-0003 |
966 //! @SYMTestCaseID SEC-CMS-IT-OOM-0004 |
1058 |
967 //! @SYMTestCaseDesc Test to To ensure that Symbian a CCmsSignedObject can handle out of memory |
1059 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_OOM-0004 |
968 //! conditions gracefully |
1060 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_OOM-0004 |
969 //! Number of signatures: 3 |
1061 //! @SYMTestCaseDesc Test to To ensure that Symbian a CCmsSignedObject can handle out of memory |
970 //! The signing key: All RSA |
1062 //! conditions gracefully |
971 //! Digest Algorithm: All MD2 |
1063 //! Number of signatures: 3 |
972 //! Signer identifier: All suject Key ID extension |
1064 //! The signing key: All RSA |
973 //! Signed data content: Attached |
1065 //! Digest Algorithm: All MD2 |
974 //! Certificates provided by User: yes |
1066 //! Signer identifier: All suject Key ID extension |
975 //! Certificates attached: yes |
1067 //! Signed data content: Attached |
976 //! Construction method: two Steps & no hash provided |
1068 //! Certificates provided by User: yes |
977 //! @SYMPREQ PREQ968 |
1069 //! Certificates attached: yes |
978 //! @SYMTestPriority Critical |
1070 //! Construction method: two Steps & no hash provided |
979 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation in OOM conditions. |
1071 //! @SYMPREQ PREQ968 |
980 //! @SYMTestExpectedResults Constructor Should return KErrNoMemory, No memory leak is created |
1072 //! @SYMTestPriority Critical |
981 //! @SYMTestType CIT |
1073 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation in OOM conditions. |
|
1074 //! @SYMTestExpectedResults Constructor Should return KErrNoMemory, No memory leak is created |
|
1075 //! @SYMTestType CIT |
982 RUN_TEST_STEP 800 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-OOM-0004 |
1076 RUN_TEST_STEP 800 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-OOM-0004 |
983 |
1077 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_OOM-0004 |
984 //! @SYMTestCaseID SEC-CMS-IT-OOM-0005 |
1078 |
985 //! @SYMTestCaseDesc Test to To ensure that Symbian a CCmsSignedObject can handle out of memory |
1079 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_OOM-0005 |
986 //! conditions gracefully |
1080 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_OOM-0005 |
987 //! Number of signatures: 3 |
1081 //! @SYMTestCaseDesc Test to To ensure that Symbian a CCmsSignedObject can handle out of memory |
988 //! The signing key: All RSA |
1082 //! conditions gracefully |
989 //! Digest Algorithm: n1 MD2, n2 MD5, n3 SHA1 |
1083 //! Number of signatures: 3 |
990 //! Signer identifier: All issuer and serial number |
1084 //! The signing key: All RSA |
991 //! Signed data content: Attached |
1085 //! Digest Algorithm: n1 MD2, n2 MD5, n3 SHA1 |
992 //! Certificates provided by User: yes |
1086 //! Signer identifier: All issuer and serial number |
993 //! Certificates attached: yes |
1087 //! Signed data content: Attached |
994 //! Construction method: two Steps |
1088 //! Certificates provided by User: yes |
995 //! @SYMPREQ PREQ968 |
1089 //! Certificates attached: yes |
996 //! @SYMTestPriority Critical |
1090 //! Construction method: two Steps |
997 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation in OOM conditions. |
1091 //! @SYMPREQ PREQ968 |
998 //! @SYMTestExpectedResults Constructor Should return KErrNoMemory, No memory leak is created |
1092 //! @SYMTestPriority Critical |
999 //! @SYMTestType CIT |
1093 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation in OOM conditions. |
|
1094 //! @SYMTestExpectedResults Constructor Should return KErrNoMemory, No memory leak is created |
|
1095 //! @SYMTestType CIT |
1000 RUN_TEST_STEP 800 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-OOM-0005 |
1096 RUN_TEST_STEP 800 tpkcs7server CMSSignedData C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-OOM-0005 |
1001 |
1097 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_OOM-0005 |
1002 |
1098 |
1003 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-NEGATIVE-0001 |
1099 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0048 |
1004 //! @SYMTestCaseDesc To ensure that CCmsSignedObject returns the appropriate leave error code when the |
1100 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0048 |
|
1101 //! @SYMTestCaseDesc To ensure that CCmsSignedObject returns the appropriate leave error code when the |
1005 //! two stage constructor is used incorrectly; data and hash are null. |
1102 //! two stage constructor is used incorrectly; data and hash are null. |
1006 //! |
1103 //! |
1007 //! @SYMPREQ PREQ968 |
1104 //! @SYMPREQ PREQ968 |
1008 //! @SYMTestPriority Critical |
1105 //! @SYMTestPriority Critical |
1009 //! @SYMTestActions 1. A.- Call the constructor: |
1106 //! @SYMTestActions 1. A.- Call the constructor: |
1010 //! CCmsSignedObject* NewL(TCmsContentInfoType aType, TBool aIsDetached, |
1107 //! CCmsSignedObject* NewL(TCmsContentInfoType aType, TBool aIsDetached, |
1011 //! const TDesC8& aContentData) providing a NULL for the aContentData value. |
1108 //! const TDesC8& aContentData) providing a NULL for the aContentData value. |
1012 //! 2. Call SignL method with a NULL hash value. |
1109 //! 2. Call SignL method with a NULL hash value. |
1013 //! |
1110 //! @SYMTestExpectedResults KErrArgument returned |
1014 //! @SYMTestExpectedResults KErrArgument returned |
1111 //! @SYMTestType CIT |
1015 //! @SYMTestType CIT |
|
1016 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tinteg_cms.ini SIGNED-NEGATIVE-0001 |
1112 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tinteg_cms.ini SIGNED-NEGATIVE-0001 |
1017 |
1113 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0048 |
1018 |
1114 |
1019 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-NEGATIVE-0002 |
1115 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0049 |
1020 //! @SYMTestCaseDesc To ensure that CCmsSignedObject returns the appropriate leave error code when the |
1116 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0049 |
1021 //! single stage constructor for detached data is used incorrectly; hash is null. . |
1117 //! @SYMTestCaseDesc To ensure that CCmsSignedObject returns the appropriate leave error code when the |
1022 //! @SYMPREQ PREQ968 |
1118 //! single stage constructor for detached data is used incorrectly; hash is null. . |
1023 //! @SYMTestPriority Critical |
1119 //! @SYMPREQ PREQ968 |
1024 //! @SYMTestActions CCmsSignedObject* NewLC(TCmsContentInfoType aType, const TDesC8& aHashValue, |
1120 //! @SYMTestPriority Critical |
1025 //! TAlgorithmId aDigestAlgorithm, const CRSAPrivateKey& aKey, const CX509Certificate& |
1121 //! @SYMTestActions CCmsSignedObject* NewLC(TCmsContentInfoType aType, const TDesC8& aHashValue, |
1026 //! aCert, TBool aAddCertificate) providing a NULL for the aHashValue value. |
1122 //! TAlgorithmId aDigestAlgorithm, const CRSAPrivateKey& aKey, const CX509Certificate& |
1027 //! @SYMTestExpectedResults KErrArgument returned |
1123 //! aCert, TBool aAddCertificate) providing a NULL for the aHashValue value. |
1028 //! @SYMTestType CIT |
1124 //! @SYMTestExpectedResults KErrArgument returned |
|
1125 //! @SYMTestType CIT |
1029 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tinteg_cms.ini SIGNED-NEGATIVE-0002 |
1126 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tinteg_cms.ini SIGNED-NEGATIVE-0002 |
1030 |
1127 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0049 |
1031 |
1128 |
1032 //! @SYMTestCaseID SEC-CMS-IT-SIGNED-NEGATIVE-0003 |
1129 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0050 |
1033 //! @SYMTestCaseDesc To ensure that CCmsSignedObject will reject any raw non supported content type with |
1130 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0050 |
1034 //! the appropriate leave error, the type to test for this case |
1131 //! @SYMTestCaseDesc To ensure that CCmsSignedObject will reject any raw non supported content type with |
1035 //! is unsupported attribute certificate tag value. |
1132 //! the appropriate leave error, the type to test for this case |
1036 //! @SYMPREQ PREQ968 |
1133 //! is unsupported attribute certificate tag value. |
1037 //! @SYMTestPriority Critical |
1134 //! @SYMPREQ PREQ968 |
1038 //! @SYMTestActions TCall the constructor CCmsSignedObject(aContentInfo) where the attribute certificate |
1135 //! @SYMTestPriority Critical |
1039 //! tag has a value of 2. No |
1136 //! @SYMTestActions TCall the constructor CCmsSignedObject(aContentInfo) where the attribute certificate |
1040 //! @SYMTestExpectedResults KErrArgument returned |
1137 //! tag has a value of 2. No |
1041 //! @SYMTestType CIT |
1138 //! @SYMTestExpectedResults KErrArgument returned |
|
1139 //! @SYMTestType CIT |
1042 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tinteg_cms.ini SIGNED-NEGATIVE-0003 |
1140 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tinteg_cms.ini SIGNED-NEGATIVE-0003 |
1043 |
1141 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_SIGNED-0050 |
1044 //! @SYMTestCaseID SEC-CMS-IT-CONTENTINFO-0001 |
1142 |
1045 //! @SYMTestCaseDesc To ensure that CCmsContentInfowill can recognise content of type: Data. |
1143 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0001 |
1046 //! @SYMPREQ PREQ968 |
1144 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0001 |
1047 //! @SYMTestPriority Critical |
1145 //! @SYMTestCaseDesc To ensure that CCmsContentInfowill can recognise content of type: Data. |
1048 //! @SYMTestActions TCall the constructor CCmsSignedObject(aContentInfo) where the where the intput data |
1146 //! @SYMPREQ PREQ968 |
1049 //! is raw is of type data (plain) |
1147 //! @SYMTestPriority Critical |
|
1148 //! @SYMTestActions TCall the constructor CCmsSignedObject(aContentInfo) where the where the intput data |
|
1149 //! is raw is of type data (plain) |
1050 //! |
1150 //! |
1051 //! |
1151 //! |
1052 //! @SYMTestExpectedResults type data returned |
1152 //! @SYMTestExpectedResults type data returned |
1053 //! @SYMTestType CIT |
1153 //! @SYMTestType CIT |
1054 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-CONTENTINFO-0001 |
1154 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-CONTENTINFO-0001 |
1055 |
1155 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0001 |
1056 //! @SYMTestCaseID SEC-CMS-IT-CONTENTINFO-0002 |
1156 |
1057 //! @SYMTestCaseDesc To ensure that CCmsContentInfowill can recognise content of type: Enveloped. |
1157 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0002 |
1058 //! @SYMPREQ PREQ968 |
1158 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0002 |
1059 //! @SYMTestPriority Critical |
1159 //! @SYMTestCaseDesc To ensure that CCmsContentInfowill can recognise content of type: Enveloped. |
1060 //! @SYMTestActions TCall the constructor CCmsSignedObject(aContentInfo) where the where the intput data |
1160 //! @SYMPREQ PREQ968 |
1061 //! is raw is of type Enveloped data |
1161 //! @SYMTestPriority Critical |
|
1162 //! @SYMTestActions TCall the constructor CCmsSignedObject(aContentInfo) where the where the intput data |
|
1163 //! is raw is of type Enveloped data |
1062 //! |
1164 //! |
1063 //! |
1165 //! |
1064 //! @SYMTestExpectedResults type Enveloped data |
1166 //! @SYMTestExpectedResults type Enveloped data |
1065 //! @SYMTestType CIT |
1167 //! @SYMTestType CIT |
1066 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-CONTENTINFO-0002 |
1168 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-CONTENTINFO-0002 |
1067 |
1169 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0002 |
1068 //! @SYMTestCaseID SEC-CMS-IT-CONTENTINFO-0003 |
1170 |
1069 //! @SYMTestCaseDesc To ensure that CCmsContentInfowill can recognise content of type: digested. |
1171 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0003 |
1070 //! @SYMPREQ PREQ968 |
1172 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0003 |
1071 //! @SYMTestPriority Critical |
1173 //! @SYMTestCaseDesc To ensure that CCmsContentInfowill can recognise content of type: digested. |
1072 //! @SYMTestActions TCall the constructor CCmsSignedObject(aContentInfo) where the where the intput data |
1174 //! @SYMPREQ PREQ968 |
1073 //! is raw is of type digested data |
1175 //! @SYMTestPriority Critical |
|
1176 //! @SYMTestActions TCall the constructor CCmsSignedObject(aContentInfo) where the where the intput data |
|
1177 //! is raw is of type digested data |
1074 //! |
1178 //! |
1075 //! |
1179 //! |
1076 //! @SYMTestExpectedResults digested data |
1180 //! @SYMTestExpectedResults digested data |
1077 //! @SYMTestType CIT |
1181 //! @SYMTestType CIT |
1078 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-CONTENTINFO-0003 |
1182 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-CONTENTINFO-0003 |
1079 |
1183 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0003 |
1080 //! @SYMTestCaseID SEC-CMS-IT-CONTENTINFO-0004 |
1184 |
1081 //! @SYMTestCaseDesc To ensure that CCmsContentInfowill can recognise content of type: Encrypted. |
1185 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0004 |
1082 //! @SYMPREQ PREQ968 |
1186 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0004 |
1083 //! @SYMTestPriority Critical |
1187 //! @SYMTestCaseDesc To ensure that CCmsContentInfowill can recognise content of type: Encrypted. |
1084 //! @SYMTestActions TCall the constructor CCmsSignedObject(aContentInfo) where the where the intput data |
1188 //! @SYMPREQ PREQ968 |
1085 //! is raw is of type encrypted |
1189 //! @SYMTestPriority Critical |
|
1190 //! @SYMTestActions TCall the constructor CCmsSignedObject(aContentInfo) where the where the intput data |
|
1191 //! is raw is of type encrypted |
1086 //! |
1192 //! |
1087 //! |
1193 //! |
1088 //! @SYMTestExpectedResults type encrypted returned |
1194 //! @SYMTestExpectedResults type encrypted returned |
1089 //! @SYMTestType CIT |
1195 //! @SYMTestType CIT |
1090 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-CONTENTINFO-0004 |
1196 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-CONTENTINFO-0004 |
1091 |
1197 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0004 |
1092 |
1198 |
1093 //! @SYMTestCaseID SEC-CMS-IT-CONTENTINFO-0005 |
1199 START_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0005 |
1094 //! @SYMTestCaseDesc To ensure that CCmsContentInfowill can recognise content of type: signed and enveloped. |
1200 //! @SYMTestCaseID SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0005 |
1095 //! @SYMPREQ PREQ968 |
1201 //! @SYMTestCaseDesc To ensure that CCmsContentInfowill can recognise content of type: signed and enveloped. |
1096 //! @SYMTestPriority Critical |
1202 //! @SYMPREQ PREQ968 |
1097 //! @SYMTestActions TCall the constructor CCmsSignedObject(aContentInfo) where the where the intput data |
1203 //! @SYMTestPriority Critical |
1098 //! is raw is of type signed and enveloped |
1204 //! @SYMTestActions TCall the constructor CCmsSignedObject(aContentInfo) where the where the intput data |
|
1205 //! is raw is of type signed and enveloped |
1099 //! |
1206 //! |
1100 //! |
1207 //! |
1101 //! @SYMTestExpectedResults type signed and enveloped returned |
1208 //! @SYMTestExpectedResults type signed and enveloped returned |
1102 //! @SYMTestType CIT |
1209 //! @SYMTestType CIT |
1103 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-CONTENTINFO-0005 |
1210 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tinteg_cms.ini SEC-CMS-IT-CONTENTINFO-0005 |
1104 |
1211 END_TESTCASE SEC-CERTMAN-PKCS7-CMS_IT_CONTENTINFO-0005 |
|
1212 |
|
1213 |