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