cryptoservices/certificateandkeymgmt/tpkcs7/scripts/tcms.script
changeset 8 35751d3474b7
parent 0 2c201484c85f
child 29 ece3df019add
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
    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 // tcms.script
    31 // tcms.script
    17 
    32 
    18 LOAD_SUITE tpkcs7server
    33 LOAD_SUITE tpkcs7server
    19 
    34 
    20 //! @SYMTestCaseID SEC-CMS-SignedData-0000
    35 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0038
    21 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
    36 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0038
    22 //!		The signing key: RSA key
    37 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
    23 //!		Signer identifier: issuer and serial number 
    38 //!				The signing key: RSA key
    24 //!		Signed data content: attached, 
    39 //!				Signer identifier: issuer and serial number 
    25 //!		Digest Algorithm: SHA1
    40 //!				Signed data content: attached, 
    26 //!		Hash available: No
    41 //!				Digest Algorithm: SHA1
    27 //!		Muti-signature: No
    42 //!				Hash available: No
    28 //!		Certificates provided by User: Yes
    43 //!				Muti-signature: No
    29 //!		Certificates Set: Yes
    44 //!				Certificates provided by User: Yes
    30 //! @SYMPREQ PREQ968
    45 //!				Certificates Set: Yes
    31 //! @SYMTestPriority Critical
    46 //! @SYMPREQ 			PREQ968
    32 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
    47 //! @SYMTestPriority 		Critical
    33 //! @SYMTestExpectedResults successfully validated
    48 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
    34 //! @SYMTestType UT
    49 //! @SYMTestExpectedResults 	successfully validated
       
    50 //! @SYMTestType 		UT
    35 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST0
    51 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST0
    36 
    52 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0038
    37 
    53 
    38 
    54 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0001
    39 //! @SYMTestCaseID SEC-CMS-SignedData-0001
    55 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0001
    40 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
    56 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
    41 //!		The signing key: RSA key
    57 //!				The signing key: RSA key
    42 //!		Signer identifier: issuer and serial number 
    58 //!				Signer identifier: issuer and serial number 
    43 //!		Signed data content: attached, 
    59 //!				Signed data content: attached, 
    44 //!		Digest Algorithm: SHA1
    60 //!				Digest Algorithm: SHA1
    45 //!		Hash available: No
    61 //!				Hash available: No
    46 //!		Muti-signature: No
    62 //!				Muti-signature: No
    47 //!		Certificates provided by User: No
    63 //!				Certificates provided by User: No
    48 //!		Certificates Set: Yes
    64 //!				Certificates Set: Yes
    49 //! @SYMPREQ PREQ968
    65 //! @SYMPREQ 			PREQ968
    50 //! @SYMTestPriority Critical
    66 //! @SYMTestPriority 		Critical
    51 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
    67 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
    52 //! @SYMTestExpectedResults successfully validated
    68 //! @SYMTestExpectedResults 	successfully validated
    53 //! @SYMTestType UT
    69 //! @SYMTestType 		UT
    54 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST1
    70 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST1
    55 
    71 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0001
    56 
    72 
    57 //! @SYMTestCaseID SEC-CMS-SignedData-0001_1
    73 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0039
    58 //! @SYMTestCaseDesc Test creation of a attached CMS object without given the data content 
    74 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0039
    59 //!		The signing key: RSA key
    75 //! @SYMTestCaseDesc 		Test creation of a attached CMS object without given the data content 
    60 //!		Signer identifier: issuer and serial number 
    76 //!				The signing key: RSA key
    61 //!		Signed data content: attached, 
    77 //!				Signer identifier: issuer and serial number 
    62 //!		Digest Algorithm: SHA1
    78 //!				Signed data content: attached, 
    63 //!		Hash available: No
    79 //!				Digest Algorithm: SHA1
    64 //!		Muti-signature: No
    80 //!				Hash available: No
    65 //!		Certificates provided by User: No
    81 //!				Muti-signature: No
    66 //!		Certificates Set: Yes
    82 //!				Certificates provided by User: No
    67 //! @SYMPREQ PREQ968
    83 //!				Certificates Set: Yes
    68 //! @SYMTestPriority Critical
    84 //! @SYMPREQ 			PREQ968
    69 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
    85 //! @SYMTestPriority 		Critical
       
    86 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
    87 //! @SYMTestExpectedResults 	KErrArgument
       
    88 //! @SYMTestType 		UT
       
    89 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST1_1
       
    90 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0039
       
    91 
       
    92 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0002
       
    93 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0002
       
    94 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
       
    95 //!				The signing key: RSA key
       
    96 //!				Signer identifier: issuer and serial number 
       
    97 //!				Signed data content: detached, 
       
    98 //!				Digest Algorithm: SHA1
       
    99 //!				Hash available: Yes
       
   100 //!				DataDetached: Yes
       
   101 //!				Muti-signature: No
       
   102 //!				Certificates provided by User: No
       
   103 //!				Certificates Set: Yes
       
   104 //! @SYMPREQ 			PREQ968
       
   105 //! @SYMTestPriority 		Critical
       
   106 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   107 //! @SYMTestExpectedResults 	successfully validated
       
   108 //! @SYMTestType 		UT
       
   109 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST2
       
   110 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0002
       
   111 
       
   112 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0047
       
   113 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0047
       
   114 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation.
       
   115 //!				Test two step construction of signed data when hash is provided by user     
       
   116 //!				The signing key: RSA key
       
   117 //!				Signer identifier: issuer and serial number 
       
   118 //!				Signed data content: detached, 
       
   119 //!				Digest Algorithm: SHA1
       
   120 //!				Hash available: Yes
       
   121 //!				DataDetached: No
       
   122 //!				Muti-signature: No
       
   123 //!				Certificates provided by User: No
       
   124 //!				Certificates Set: Yes
       
   125 //!				TwoStepCreation: Yes
       
   126 //! @SYMPREQ 			PREQ968
       
   127 //! @SYMTestPriority 		Critical
       
   128 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   129 //! @SYMTestExpectedResults 	successfully validated
       
   130 //! @SYMTestType 		UT
       
   131 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST2_1
       
   132 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0047
       
   133 
       
   134 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0048
       
   135 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0048
       
   136 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation.
       
   137 //!				Test two step construction of signed data when hash is provided by user     
       
   138 //!				The signing key: RSA key
       
   139 //!				Signer identifier: issuer and serial number 
       
   140 //!				Signed data content: detached, 
       
   141 //!				Digest Algorithm: SHA1
       
   142 //!				Hash available: Yes
       
   143 //!				DataDetached: Yes
       
   144 //!				Muti-signature: No
       
   145 //!				Certificates provided by User: No
       
   146 //!				Certificates Set: Yes
       
   147 //!				TwoStepCreation: Yes
       
   148 //! @SYMPREQ 			PREQ968
       
   149 //! @SYMTestPriority 		Critical
       
   150 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   151 //! @SYMTestExpectedResults 	successfully validated
       
   152 //! @SYMTestType 		UT
       
   153 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST2_2
       
   154 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0048
       
   155 
       
   156 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0003
       
   157 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0003
       
   158 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
       
   159 //!				The signing key: RSA key
       
   160 //!				Signer identifier: issuer and serial number 
       
   161 //!				Signed data content: detached, 
       
   162 //!				Digest Algorithm: SHA1
       
   163 //!				Hash available: No
       
   164 //!				Muti-signature: No
       
   165 //!				Certificates provided by User: No
       
   166 //!				Certificates Set: Yes
       
   167 //! @SYMPREQ 			PREQ968
       
   168 //! @SYMTestPriority 		Critical
       
   169 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   170 //! @SYMTestExpectedResults 	successfully validated
       
   171 //! @SYMTestType 		UT
       
   172 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3
       
   173 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0003
       
   174 
       
   175 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0049
       
   176 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0049
       
   177 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation when
       
   178 //!				no provided hash nor provided data content.
       
   179 //!				The signing key: RSA key
       
   180 //!				Signer identifier: issuer and serial number 
       
   181 //!				Signed data content: detached, 
       
   182 //!				Digest Algorithm: SHA1
       
   183 //!				Hash available: No
       
   184 //!				Muti-signature: No
       
   185 //!				Certificates provided by User: No
       
   186 //!				Certificates Set: Yes
       
   187 //! @SYMPREQ 			PREQ968
       
   188 //! @SYMTestPriority 		Critical
       
   189 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   190 //! @SYMTestExpectedResults 	KErrArgument
       
   191 //! @SYMTestType 		UT
       
   192 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_1
       
   193 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0049
       
   194 
       
   195 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0068
       
   196 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0068
       
   197 //! @SYMTestCaseDesc 		Test Validateion a detached CMS sign data without given data content or hash
       
   198 //!				The signing key: RSA key
       
   199 //!				Signer identifier: issuer and serial number 
       
   200 //!				Signed data content: detached, 
       
   201 //!				Digest Algorithm: SHA1
       
   202 //!				Hash available: No
       
   203 //!				Muti-signature: No
       
   204 //!				Certificates provided by User: No
       
   205 //!				Certificates Set: Yes
       
   206 //!				ValidationDetachedWithoutInput: Yes
       
   207 //! @SYMPREQ 			PREQ968
       
   208 //! @SYMTestPriority 		Critical
       
   209 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
    70 //! @SYMTestExpectedResults KErrArgument
   210 //! @SYMTestExpectedResults KErrArgument
    71 //! @SYMTestType UT
   211 //! @SYMTestType 		UT
    72 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST1_1
       
    73 
       
    74 //! @SYMTestCaseID SEC-CMS-SignedData-0002
       
    75 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
       
    76 //!		The signing key: RSA key
       
    77 //!		Signer identifier: issuer and serial number 
       
    78 //!		Signed data content: detached, 
       
    79 //!		Digest Algorithm: SHA1
       
    80 //!		Hash available: Yes
       
    81 //!		DataDetached: Yes
       
    82 //!		Muti-signature: No
       
    83 //!		Certificates provided by User: No
       
    84 //!		Certificates Set: Yes
       
    85 //! @SYMPREQ PREQ968
       
    86 //! @SYMTestPriority Critical
       
    87 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
       
    88 //! @SYMTestExpectedResults successfully validated
       
    89 //! @SYMTestType UT
       
    90 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST2
       
    91 
       
    92 
       
    93 //! @SYMTestCaseID SEC-CMS-SignedData-0002_1
       
    94 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation.
       
    95 //!		Test two step construction of signed data when hash is provided by user     
       
    96 //!		The signing key: RSA key
       
    97 //!		Signer identifier: issuer and serial number 
       
    98 //!		Signed data content: detached, 
       
    99 //!		Digest Algorithm: SHA1
       
   100 //!		Hash available: Yes
       
   101 //!		DataDetached: No
       
   102 //!		Muti-signature: No
       
   103 //!		Certificates provided by User: No
       
   104 //!		Certificates Set: Yes
       
   105 //!		TwoStepCreation: Yes
       
   106 //! @SYMPREQ PREQ968
       
   107 //! @SYMTestPriority Critical
       
   108 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
       
   109 //! @SYMTestExpectedResults successfully validated
       
   110 //! @SYMTestType UT
       
   111 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST2_1
       
   112 
       
   113 
       
   114 //! @SYMTestCaseID SEC-CMS-SignedData-0002_2
       
   115 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation.
       
   116 //!		Test two step construction of signed data when hash is provided by user     
       
   117 //!		The signing key: RSA key
       
   118 //!		Signer identifier: issuer and serial number 
       
   119 //!		Signed data content: detached, 
       
   120 //!		Digest Algorithm: SHA1
       
   121 //!		Hash available: Yes
       
   122 //!		DataDetached: Yes
       
   123 //!		Muti-signature: No
       
   124 //!		Certificates provided by User: No
       
   125 //!		Certificates Set: Yes
       
   126 //!		TwoStepCreation: Yes
       
   127 //! @SYMPREQ PREQ968
       
   128 //! @SYMTestPriority Critical
       
   129 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
       
   130 //! @SYMTestExpectedResults successfully validated
       
   131 //! @SYMTestType UT
       
   132 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST2_2
       
   133 
       
   134 //! @SYMTestCaseID SEC-CMS-SignedData-0003
       
   135 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
       
   136 //!		The signing key: RSA key
       
   137 //!		Signer identifier: issuer and serial number 
       
   138 //!		Signed data content: detached, 
       
   139 //!		Digest Algorithm: SHA1
       
   140 //!		Hash available: No
       
   141 //!		Muti-signature: No
       
   142 //!		Certificates provided by User: No
       
   143 //!		Certificates Set: Yes
       
   144 //! @SYMPREQ PREQ968
       
   145 //! @SYMTestPriority Critical
       
   146 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
       
   147 //! @SYMTestExpectedResults successfully validated
       
   148 //! @SYMTestType UT
       
   149 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3
       
   150 
       
   151 //! @SYMTestCaseID SEC-CMS-SignedData-0003_1
       
   152 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation when
       
   153 //!		no provided hash nor provided data content.
       
   154 //!		The signing key: RSA key
       
   155 //!		Signer identifier: issuer and serial number 
       
   156 //!		Signed data content: detached, 
       
   157 //!		Digest Algorithm: SHA1
       
   158 //!		Hash available: No
       
   159 //!		Muti-signature: No
       
   160 //!		Certificates provided by User: No
       
   161 //!		Certificates Set: Yes
       
   162 //! @SYMPREQ PREQ968
       
   163 //! @SYMTestPriority Critical
       
   164 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
       
   165 //! @SYMTestExpectedResults KErrArgument
       
   166 //! @SYMTestType UT
       
   167 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_1
       
   168 
       
   169 //! @SYMTestCaseID SEC-CMS-SignedData-0003_2
       
   170 //! @SYMTestCaseDesc Test Validateion a detached CMS sign data without given data content or hash
       
   171 //!		The signing key: RSA key
       
   172 //!		Signer identifier: issuer and serial number 
       
   173 //!		Signed data content: detached, 
       
   174 //!		Digest Algorithm: SHA1
       
   175 //!		Hash available: No
       
   176 //!		Muti-signature: No
       
   177 //!		Certificates provided by User: No
       
   178 //!		Certificates Set: Yes
       
   179 //!		ValidationDetachedWithoutInput: Yes
       
   180 //! @SYMPREQ PREQ968
       
   181 //! @SYMTestPriority Critical
       
   182 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
       
   183 //! @SYMTestExpectedResults KErrArgument
       
   184 //! @SYMTestType UT
       
   185 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_2
   212 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_2
   186 
   213 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0068
   187 //! @SYMTestCaseID SEC-CMS-SignedData-0003_3
   214 
   188 //! @SYMTestCaseDesc Test Validateion a detached CMS sign data without given data content or hash
   215 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0069
   189 //!		The signing key: RSA key
   216 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0069
   190 //!		Signer identifier: issuer and serial number 
   217 //! @SYMTestCaseDesc 		Test Validateion a detached CMS sign data without given data content or hash
   191 //!		Signed data content: detached, 
   218 //!				The signing key: RSA key
   192 //!		Digest Algorithm: SHA1
   219 //!				Signer identifier: issuer and serial number 
   193 //!		Hash available: No
   220 //!				Signed data content: detached, 
   194 //!		Muti-signature: No
   221 //!				Digest Algorithm: SHA1
   195 //!		Certificates provided by User: Yes
   222 //!				Hash available: No
   196 //!		Certificates Set: Yes
   223 //!				Muti-signature: No
   197 //!		ValidationDetachedWithoutInput: Yes
   224 //!				Certificates provided by User: Yes
   198 //! @SYMPREQ PREQ968
   225 //!				Certificates Set: Yes
   199 //! @SYMTestPriority Critical
   226 //!				ValidationDetachedWithoutInput: Yes
   200 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   227 //! @SYMPREQ 			PREQ968
   201 //! @SYMTestExpectedResults KErrArgument
   228 //! @SYMTestPriority 		Critical
   202 //! @SYMTestType UT
   229 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   230 //! @SYMTestExpectedResults 	KErrArgument
       
   231 //! @SYMTestType 		UT
   203 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_3
   232 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_3
   204 
   233 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0069
   205 //! @SYMTestCaseID SEC-CMS-SignedData-0003_4
   234 
   206 //! @SYMTestCaseDesc Test Validateion a detached CMS sign data without given data content or hash
   235 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0070
   207 //!		The signing key: RSA key
   236 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0070
   208 //!		Signer identifier: issuer and serial number 
   237 //! @SYMTestCaseDesc 		Test Validateion a detached CMS sign data without given data content or hash
   209 //!		Signed data content: detached, 
   238 //!				The signing key: RSA key
   210 //!		Digest Algorithm: SHA1
   239 //!				Signer identifier: issuer and serial number 
   211 //!		Hash available: No
   240 //!				Signed data content: detached, 
   212 //!		Muti-signature: No
   241 //!				Digest Algorithm: SHA1
   213 //!		Certificates provided by User: Yes
   242 //!				Hash available: No
   214 //!		Certificates Set: Yes
   243 //!				Muti-signature: No
   215 //! @SYMPREQ PREQ968
   244 //!				Certificates provided by User: Yes
   216 //! @SYMTestPriority Critical
   245 //!				Certificates Set: Yes
   217 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   246 //! @SYMPREQ 			PREQ968
   218 //! @SYMTestExpectedResults KErrArgument
   247 //! @SYMTestPriority 		Critical
   219 //! @SYMTestType UT
   248 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   249 //! @SYMTestExpectedResults 	KErrArgument
       
   250 //! @SYMTestType 		UT
   220 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_4
   251 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_4
   221 
   252 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0070
   222 
   253 
   223 //! @SYMTestCaseID SEC-CMS-SignedData-0003_5
   254 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0071
   224 //! @SYMTestCaseDesc Test Validateion a detached CMS sign data without given data content or hash
   255 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0071
   225 //!		The signing key: RSA key
   256 //! @SYMTestCaseDesc 		Test Validateion a detached CMS sign data without given data content or hash
   226 //!		Signer identifier: issuer and serial number 
   257 //!				The signing key: RSA key
   227 //!		Signed data content: detached, 
   258 //!				Signer identifier: issuer and serial number 
   228 //!		Digest Algorithm: SHA1
   259 //!				Signed data content: detached, 
   229 //!		Hash available: Yes
   260 //!				Digest Algorithm: SHA1
   230 //!		Muti-signature: No
   261 //!				Hash available: Yes
   231 //!		Certificates provided by User: Yes
   262 //!				Muti-signature: No
   232 //!		Certificates Set: Yes
   263 //!				Certificates provided by User: Yes
   233 //! @SYMPREQ PREQ968
   264 //!				Certificates Set: Yes
   234 //! @SYMTestPriority Critical
   265 //! @SYMPREQ 			PREQ968
   235 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   266 //! @SYMTestPriority 		Critical
   236 //! @SYMTestExpectedResults KErrArgument
   267 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   237 //! @SYMTestType UT
   268 //! @SYMTestExpectedResults 	KErrArgument
       
   269 //! @SYMTestType 		UT
   238 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_5
   270 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_5
   239 
   271 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0071
   240 //! @SYMTestCaseID SEC-CMS-SignedData-0004
   272 
   241 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   273 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0004
   242 //!		The signing key: RSA key
   274 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0004
   243 //!		Signer identifier: issuer and serial number 
   275 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   244 //!		Signed data content: attached, 
   276 //!				The signing key: RSA key
   245 //!		Digest Algorithm: MD5
   277 //!				Signer identifier: issuer and serial number 
   246 //!		Hash available: No
   278 //!				Signed data content: attached, 
   247 //!		Muti-signature: No
   279 //!				Digest Algorithm: MD5
   248 //!		Certificates provided by User: No
   280 //!				Hash available: No
   249 //!		Certificates Set: Yes
   281 //!				Muti-signature: No
   250 //! @SYMPREQ PREQ968
   282 //!				Certificates provided by User: No
   251 //! @SYMTestPriority Critical
   283 //!				Certificates Set: Yes
   252 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   284 //! @SYMPREQ 			PREQ968
   253 //! @SYMTestExpectedResults successfully validated
   285 //! @SYMTestPriority 		Critical
   254 //! @SYMTestType UT
   286 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   287 //! @SYMTestExpectedResults 	successfully validated
       
   288 //! @SYMTestType 		UT
   255 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST4
   289 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST4
   256 
   290 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0004
   257 
   291 
   258 //! @SYMTestCaseID SEC-CMS-SignedData-0005
   292 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0005
   259 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   293 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0005
   260 //!		The signing key: RSA key
   294 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   261 //!		Signer identifier: issuer and serial number 
   295 //!				The signing key: RSA key
   262 //!		Signed data content: detached, 
   296 //!				Signer identifier: issuer and serial number 
   263 //!		Digest Algorithm: MD5
   297 //!				Signed data content: detached, 
   264 //!		Hash available: Yes
   298 //!				Digest Algorithm: MD5
   265 //!		Muti-signature: No
   299 //!				Hash available: Yes
   266 //!		Certificates provided by User: No
   300 //!				Muti-signature: No
   267 //!		Certificates Set: Yes
   301 //!				Certificates provided by User: No
   268 //! @SYMPREQ PREQ968
   302 //!				Certificates Set: Yes
   269 //! @SYMTestPriority Critical
   303 //! @SYMPREQ 			PREQ968
   270 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   304 //! @SYMTestPriority 		Critical
   271 //! @SYMTestExpectedResults successfully validated
   305 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   272 //! @SYMTestType UT
   306 //! @SYMTestExpectedResults 	successfully validated
       
   307 //! @SYMTestType 		UT
   273 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST5
   308 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST5
   274 
   309 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0005
   275 
   310 
   276 //! @SYMTestCaseID SEC-CMS-SignedData-0006
   311 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0006
   277 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   312 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0006
   278 //!		The signing key: RSA key
   313 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   279 //!		Signer identifier: issuer and serial number 
   314 //!				The signing key: RSA key
   280 //!		Signed data content: detached, 
   315 //!				Signer identifier: issuer and serial number 
   281 //!		Digest Algorithm: MD5
   316 //!				Signed data content: detached, 
   282 //!		Hash available: No
   317 //!				Digest Algorithm: MD5
   283 //!		Muti-signature: No
   318 //!				Hash available: No
   284 //!		Certificates provided by User: No
   319 //!				Muti-signature: No
   285 //!		Certificates Set: Yes
   320 //!				Certificates provided by User: No
   286 //! @SYMPREQ PREQ968
   321 //!				Certificates Set: Yes
   287 //! @SYMTestPriority Critical
   322 //! @SYMPREQ 			PREQ968
   288 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   323 //! @SYMTestPriority 		Critical
   289 //! @SYMTestExpectedResults successfully validated
   324 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   290 //! @SYMTestType UT
   325 //! @SYMTestExpectedResults 	successfully validated
       
   326 //! @SYMTestType 		UT
   291 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST6
   327 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST6
   292 
   328 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0006
   293 
   329 
   294 
   330 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0007
   295 //! @SYMTestCaseID SEC-CMS-SignedData-0007
   331 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0007
   296 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   332 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   297 //!		The signing key: RSA key
   333 //!				The signing key: RSA key
   298 //!		Signer identifier: issuer and serial number 
   334 //!				Signer identifier: issuer and serial number 
   299 //!		Signed data content: attached, 
   335 //!				Signed data content: attached, 
   300 //!		Digest Algorithm: MD2
   336 //!				Digest Algorithm: MD2
   301 //!		Hash available: No
   337 //!				Hash available: No
   302 //!		Muti-signature: No
   338 //!				Muti-signature: No
   303 //!		Certificates provided by User: No
   339 //!				Certificates provided by User: No
   304 //!		Certificates Set: Yes
   340 //!				Certificates Set: Yes
   305 //! @SYMPREQ PREQ968
   341 //! @SYMPREQ 			PREQ968
   306 //! @SYMTestPriority Critical
   342 //! @SYMTestPriority 		Critical
   307 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   343 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   308 //! @SYMTestExpectedResults successfully validated
   344 //! @SYMTestExpectedResults 	successfully validated
   309 //! @SYMTestType UT
   345 //! @SYMTestType 		UT
   310 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST7
   346 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST7
   311 
   347 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0007
   312 
   348 
   313 //! @SYMTestCaseID SEC-CMS-SignedData-0008
   349 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0008
   314 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   350 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0008
   315 //!		The signing key: RSA key
   351 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   316 //!		Signer identifier: issuer and serial number 
   352 //!				The signing key: RSA key
   317 //!		Signed data content: detached, 
   353 //!				Signer identifier: issuer and serial number 
   318 //!		Digest Algorithm: MD2
   354 //!				Signed data content: detached, 
   319 //!		Hash available: Yes
   355 //!				Digest Algorithm: MD2
   320 //!		Muti-signature: No
   356 //!				Hash available: Yes
   321 //!		Certificates provided by User: No
   357 //!				Muti-signature: No
   322 //!		Certificates Set: Yes
   358 //!				Certificates provided by User: No
   323 //! @SYMPREQ PREQ968
   359 //!				Certificates Set: Yes
   324 //! @SYMTestPriority Critical
   360 //! @SYMPREQ 			PREQ968
   325 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   361 //! @SYMTestPriority 		Critical
   326 //! @SYMTestExpectedResults successfully validated
   362 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   327 //! @SYMTestType UT
   363 //! @SYMTestExpectedResults 	successfully validated
       
   364 //! @SYMTestType 		UT
   328 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST8
   365 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST8
   329 
   366 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0008
   330 
   367 
   331 //! @SYMTestCaseID SEC-CMS-SignedData-0009
   368 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0009
   332 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   369 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0009
   333 //!		The signing key: RSA key
   370 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   334 //!		Signer identifier: issuer and serial number 
   371 //!				The signing key: RSA key
   335 //!		Signed data content: detached, 
   372 //!				Signer identifier: issuer and serial number 
   336 //!		Digest Algorithm: MD2
   373 //!				Signed data content: detached, 
   337 //!		Hash available: No
   374 //!				Digest Algorithm: MD2
   338 //!		Muti-signature: No
   375 //!				Hash available: No
   339 //!		Certificates provided by User: No
   376 //!				Muti-signature: No
   340 //!		Certificates Set: Yes
   377 //!				Certificates provided by User: No
   341 //! @SYMPREQ PREQ968
   378 //!				Certificates Set: Yes
   342 //! @SYMTestPriority Critical
   379 //! @SYMPREQ 			PREQ968
   343 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   380 //! @SYMTestPriority 		Critical
   344 //! @SYMTestExpectedResults successfully validated
   381 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   345 //! @SYMTestType UT
   382 //! @SYMTestExpectedResults 	successfully validated
       
   383 //! @SYMTestType 		UT
   346 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST9
   384 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST9
   347 
   385 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0009
   348 
   386 
   349 
   387 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0010
   350 
   388 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0010
   351 
   389 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   352 
   390 //!				The signing key: RSA key
   353 
   391 //!				Signer identifier: subject key Id Extension 
   354 
   392 //!				Signed data content: attached, 
   355 
   393 //!				Digest Algorithm: SHA1
   356 
   394 //!				Hash available: No
   357 
   395 //!				Muti-signature: No
   358 
   396 //!				Certificates provided by User: No
   359 
   397 //!				Certificates Set: Yes
   360 
   398 //! @SYMPREQ 			PREQ968
   361 
   399 //! @SYMTestPriority 		Critical
   362 //! @SYMTestCaseID SEC-CMS-SignedData-0010
   400 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   363 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   401 //! @SYMTestExpectedResults 	successfully validated
   364 //!		The signing key: RSA key
   402 //! @SYMTestType 		UT
   365 //!		Signer identifier: subject key Id Extension 
       
   366 //!		Signed data content: attached, 
       
   367 //!		Digest Algorithm: SHA1
       
   368 //!		Hash available: No
       
   369 //!		Muti-signature: No
       
   370 //!		Certificates provided by User: No
       
   371 //!		Certificates Set: Yes
       
   372 //! @SYMPREQ PREQ968
       
   373 //! @SYMTestPriority Critical
       
   374 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
       
   375 //! @SYMTestExpectedResults successfully validated
       
   376 //! @SYMTestType UT
       
   377 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST10
   403 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST10
   378 
   404 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0010
   379 
   405 
   380 
   406 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0011
   381 //! @SYMTestCaseID SEC-CMS-SignedData-0011
   407 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0011
   382 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   408 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   383 //!		The signing key: RSA key
   409 //!				The signing key: RSA key
   384 //!		Signer identifier: subject key Id Extension 
   410 //!				Signer identifier: subject key Id Extension 
   385 //!		Signed data content: detached, 
   411 //!				Signed data content: detached, 
   386 //!		Digest Algorithm: SHA1
   412 //!				Digest Algorithm: SHA1
   387 //!		Hash available: Yes
   413 //!				Hash available: Yes
   388 //!		Muti-signature: No
   414 //!				Muti-signature: No
   389 //!		Certificates provided by User: No
   415 //!				Certificates provided by User: No
   390 //!		Certificates Set: Yes
   416 //!				Certificates Set: Yes
   391 //! @SYMPREQ PREQ968
   417 //! @SYMPREQ 			PREQ968
   392 //! @SYMTestPriority Critical
   418 //! @SYMTestPriority 		Critical
   393 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   419 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   394 //! @SYMTestExpectedResults successfully validated
   420 //! @SYMTestExpectedResults 	successfully validated
   395 //! @SYMTestType UT
   421 //! @SYMTestType 		UT
   396 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST11
   422 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST11
   397 
   423 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0011
   398 
   424 
   399 //! @SYMTestCaseID SEC-CMS-SignedData-0012
   425 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0012
   400 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   426 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0012
   401 //!		The signing key: RSA key
   427 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   402 //!		Signer identifier: subject key Id Extension 
   428 //!				The signing key: RSA key
   403 //!		Signed data content: detached, 
   429 //!				Signer identifier: subject key Id Extension 
   404 //!		Digest Algorithm: SHA1
   430 //!				Signed data content: detached, 
   405 //!		Hash available: No
   431 //!				Digest Algorithm: SHA1
   406 //!		Muti-signature: No
   432 //!				Hash available: No
   407 //!		Certificates provided by User: No
   433 //!				Muti-signature: No
   408 //!		Certificates Set: Yes
   434 //!				Certificates provided by User: No
   409 //! @SYMPREQ PREQ968
   435 //!				Certificates Set: Yes
   410 //! @SYMTestPriority Critical
   436 //! @SYMPREQ 			PREQ968
   411 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   437 //! @SYMTestPriority 		Critical
   412 //! @SYMTestExpectedResults successfully validated
   438 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   413 //! @SYMTestType UT
   439 //! @SYMTestExpectedResults 	successfully validated
       
   440 //! @SYMTestType 		UT
   414 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST12
   441 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST12
   415 
   442 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0012
   416 
   443 
   417 //! @SYMTestCaseID SEC-CMS-SignedData-0013
   444 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0013
   418 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   445 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0013
   419 //!		The signing key: RSA key
   446 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   420 //!		Signer identifier: subject key Id Extension
   447 //!				The signing key: RSA key
   421 //!		Signed data content: attached, 
   448 //!				Signer identifier: subject key Id Extension
   422 //!		Digest Algorithm: MD5
   449 //!				Signed data content: attached, 
   423 //!		Hash available: No
   450 //!				Digest Algorithm: MD5
   424 //!		Muti-signature: No
   451 //!				Hash available: No
   425 //!		Certificates provided by User: No
   452 //!				Muti-signature: No
   426 //!		Certificates Set: Yes
   453 //!				Certificates provided by User: No
   427 //! @SYMPREQ PREQ968
   454 //!				Certificates Set: Yes
   428 //! @SYMTestPriority Critical
   455 //! @SYMPREQ 			PREQ968
   429 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   456 //! @SYMTestPriority 		Critical
   430 //! @SYMTestExpectedResults successfully validated
   457 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   431 //! @SYMTestType UT
   458 //! @SYMTestExpectedResults 	successfully validated
       
   459 //! @SYMTestType 		UT
   432 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST13
   460 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST13
   433 
   461 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0013
   434 
   462 
   435 //! @SYMTestCaseID SEC-CMS-SignedData-0014
   463 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0014
   436 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   464 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0014
   437 //!		The signing key: RSA key
   465 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   438 //!		Signer identifier: subject key Id Extension
   466 //!				The signing key: RSA key
   439 //!		Signed data content: detached, 
   467 //!				Signer identifier: subject key Id Extension
   440 //!		Digest Algorithm: MD5
   468 //!				Signed data content: detached, 
   441 //!		Hash available: Yes
   469 //!				Digest Algorithm: MD5
   442 //!		Muti-signature: No
   470 //!				Hash available: Yes
   443 //!		Certificates provided by User: No
   471 //!				Muti-signature: No
   444 //!		Certificates Set: Yes
   472 //!				Certificates provided by User: No
   445 //! @SYMPREQ PREQ968
   473 //!				Certificates Set: Yes
   446 //! @SYMTestPriority Critical
   474 //! @SYMPREQ 			PREQ968
   447 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   475 //! @SYMTestPriority 		Critical
   448 //! @SYMTestExpectedResults successfully validated
   476 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   449 //! @SYMTestType UT
   477 //! @SYMTestExpectedResults 	successfully validated
       
   478 //! @SYMTestType 		UT
   450 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST14
   479 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST14
   451 
   480 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0014
   452 
   481 
   453 //! @SYMTestCaseID SEC-CMS-SignedData-0015
   482 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0015
   454 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   483 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0015
   455 //!		The signing key: RSA key
   484 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   456 //!		Signer identifier: subject key Id Extension
   485 //!				The signing key: RSA key
   457 //!		Signed data content: detached, 
   486 //!				Signer identifier: subject key Id Extension
   458 //!		Digest Algorithm: MD5
   487 //!				Signed data content: detached, 
   459 //!		Hash available: No
   488 //!				Digest Algorithm: MD5
   460 //!		Muti-signature: No
   489 //!				Hash available: No
   461 //!		Certificates provided by User: No
   490 //!				Muti-signature: No
   462 //!		Certificates Set: Yes
   491 //!				Certificates provided by User: No
   463 //! @SYMPREQ PREQ968
   492 //!				Certificates Set: Yes
   464 //! @SYMTestPriority Critical
   493 //! @SYMPREQ 			PREQ968
   465 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   494 //! @SYMTestPriority 		Critical
   466 //! @SYMTestExpectedResults successfully validated
   495 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   467 //! @SYMTestType UT
   496 //! @SYMTestExpectedResults 	successfully validated
       
   497 //! @SYMTestType 		UT
   468 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST15
   498 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST15
   469 
   499 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0015
   470 
   500 
   471 
   501 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0016
   472 //! @SYMTestCaseID SEC-CMS-SignedData-0016
   502 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0016
   473 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   503 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   474 //!		The signing key: RSA key
   504 //!				The signing key: RSA key
   475 //!		Signer identifier: subject key Id Extension
   505 //!				Signer identifier: subject key Id Extension
   476 //!		Signed data content: attached, 
   506 //!				Signed data content: attached, 
   477 //!		Digest Algorithm: MD2
   507 //!				Digest Algorithm: MD2
   478 //!		Hash available: No
   508 //!				Hash available: No
   479 //!		Muti-signature: No
   509 //!				Muti-signature: No
   480 //!		Certificates provided by User: No
   510 //!				Certificates provided by User: No
   481 //!		Certificates Set: Yes
   511 //!				Certificates Set: Yes
   482 //! @SYMPREQ PREQ968
   512 //! @SYMPREQ 			PREQ968
   483 //! @SYMTestPriority Critical
   513 //! @SYMTestPriority 		Critical
   484 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   514 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   485 //! @SYMTestExpectedResults successfully validated
   515 //! @SYMTestExpectedResults 	successfully validated
   486 //! @SYMTestType UT
   516 //! @SYMTestType 		UT
   487 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST16
   517 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST16
   488 
   518 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0016
   489 
   519 
   490 //! @SYMTestCaseID SEC-CMS-SignedData-0017
   520 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0017
   491 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   521 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0017
   492 //!		The signing key: RSA key
   522 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   493 //!		Signer identifier: subject key Id Extension
   523 //!				The signing key: RSA key
   494 //!		Signed data content: detached, 
   524 //!				Signer identifier: subject key Id Extension
   495 //!		Digest Algorithm: MD2
   525 //!				Signed data content: detached, 
   496 //!		Hash available: Yes
   526 //!				Digest Algorithm: MD2
   497 //!		Muti-signature: No
   527 //!				Hash available: Yes
   498 //!		Certificates provided by User: No
   528 //!				Muti-signature: No
   499 //!		Certificates Set: Yes
   529 //!				Certificates provided by User: No
   500 //! @SYMPREQ PREQ968
   530 //!				Certificates Set: Yes
   501 //! @SYMTestPriority Critical
   531 //! @SYMPREQ 			PREQ968
   502 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   532 //! @SYMTestPriority 		Critical
   503 //! @SYMTestExpectedResults successfully validated
   533 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   504 //! @SYMTestType UT
   534 //! @SYMTestExpectedResults 	successfully validated
       
   535 //! @SYMTestType 		UT
   505 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST17
   536 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST17
   506 
   537 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0017
   507 
   538 
   508 //! @SYMTestCaseID SEC-CMS-SignedData-0018
   539 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0018
   509 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   540 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0018
   510 //!		The signing key: RSA key
   541 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   511 //!		Signer identifier: subject key Id Extension
   542 //!				The signing key: RSA key
   512 //!		Signed data content: detached, 
   543 //!				Signer identifier: subject key Id Extension
   513 //!		Digest Algorithm: MD2
   544 //!				Signed data content: detached, 
   514 //!		Hash available: No
   545 //!				Digest Algorithm: MD2
   515 //!		Muti-signature: No
   546 //!				Hash available: No
   516 //!		Certificates provided by User: No
   547 //!				Muti-signature: No
   517 //!		Certificates Set: Yes
   548 //!				Certificates provided by User: No
   518 //! @SYMPREQ PREQ968
   549 //!				Certificates Set: Yes
   519 //! @SYMTestPriority Critical
   550 //! @SYMPREQ 			PREQ968
   520 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   551 //! @SYMTestPriority 		Critical
       
   552 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   521 //! @SYMTestExpectedResults
   553 //! @SYMTestExpectedResults
   522 //! @SYMTestType UT
   554 //! @SYMTestType 		UT
   523 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST18
   555 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST18
   524 
   556 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0018
   525 
   557 
   526 //! @SYMTestCaseID SEC-CMS-SignedData-0019
   558 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0019
   527 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   559 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0019
   528 //!		The signing key: RSA key
   560 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   529 //!		Signer identifier: subject key Id Extension
   561 //!				The signing key: RSA key
   530 //!		Signed data content: detached, 
   562 //!				Signer identifier: subject key Id Extension
   531 //!		Digest Algorithm: MD2
   563 //!				Signed data content: detached, 
   532 //!		Hash available: No
   564 //!				Digest Algorithm: MD2
   533 //!		Muti-signature: No
   565 //!				Hash available: No
   534 //!		Certificates provided by User: No
   566 //!				Muti-signature: No
   535 //!		Certificates Set: Yes
   567 //!				Certificates provided by User: No
   536 //!		Wrong root certificate
   568 //!				Certificates Set: Yes
   537 //! @SYMPREQ PREQ968
   569 //!				Wrong root certificate
   538 //! @SYMTestPriority Critical
   570 //! @SYMPREQ 			PREQ968
   539 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   571 //! @SYMTestPriority 		Critical
       
   572 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   540 //! @SYMTestExpectedResults Validation Fail
   573 //! @SYMTestExpectedResults Validation Fail
   541 //! @SYMTestType UT
   574 //! @SYMTestType 		UT
   542 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST19
   575 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST19
   543 
   576 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0019
   544 
   577 
   545 //! @SYMTestCaseID SEC-CMS-SignedData-0020
   578 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0020
   546 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   579 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0020
   547 //!		The signing key: RSA key
   580 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   548 //!		Signer identifier: issuer and serial number 
   581 //!				The signing key: RSA key
   549 //!		Signed data content: attached, 
   582 //!				Signer identifier: issuer and serial number 
   550 //!		Digest Algorithm: SHA1
   583 //!				Signed data content: attached, 
   551 //!		Hash available: No
   584 //!				Digest Algorithm: SHA1
   552 //!		Muti-signature: No
   585 //!				Hash available: No
   553 //!		Certificates provided by User: Yes
   586 //!				Muti-signature: No
   554 //!		Certificates Set: No
   587 //!				Certificates provided by User: Yes
   555 //! @SYMPREQ PREQ968
   588 //!				Certificates Set: No
   556 //! @SYMTestPriority Critical
   589 //! @SYMPREQ 			PREQ968
   557 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   590 //! @SYMTestPriority 		Critical
   558 //! @SYMTestExpectedResults successfully validated
   591 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   559 //! @SYMTestType UT
   592 //! @SYMTestExpectedResults 	successfully validated
       
   593 //! @SYMTestType 		UT
   560 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST20
   594 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST20
   561 
   595 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0020
   562 //! @SYMTestCaseID SEC-CMS-SignedData-0020-1
   596 
   563 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   597 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0072
   564 //!		The signing key: RSA key
   598 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0072
   565 //!		Signer identifier: issuer and serial number 
   599 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   566 //!		Signed data content: attached, 
   600 //!				The signing key: RSA key
   567 //!		Digest Algorithm: SHA1
   601 //!				Signer identifier: issuer and serial number 
   568 //!		Hash available: No
   602 //!				Signed data content: attached, 
   569 //!		Muti-signature: No
   603 //!				Digest Algorithm: SHA1
   570 //!		Certificates provided by User: Yes
   604 //!				Hash available: No
   571 //!		Certificates Set: No
   605 //!				Muti-signature: No
   572 //! @SYMPREQ PREQ968
   606 //!				Certificates provided by User: Yes
   573 //! @SYMTestPriority Critical
   607 //!				Certificates Set: No
   574 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   608 //! @SYMPREQ 			PREQ968
       
   609 //! @SYMTestPriority 		Critical
       
   610 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   575 //! @SYMTestExpectedResults KErrNotFound
   611 //! @SYMTestExpectedResults KErrNotFound
   576 //! @SYMTestType UT
   612 //! @SYMTestType 		UT
   577 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST20_1
   613 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST20_1
   578 
   614 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0072
   579 
   615 
   580 //! @SYMTestCaseID SEC-CMS-SignedData-0020-2
   616 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0077
   581 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   617 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0077
   582 //!		The signing key: RSA key
   618 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   583 //!		Signer identifier: issuer and serial number 
   619 //!				The signing key: RSA key
   584 //!		Signed data content: attached, 
   620 //!				Signer identifier: issuer and serial number 
   585 //!		Digest Algorithm: SHA1
   621 //!				Signed data content: attached, 
   586 //!		Hash available: No
   622 //!				Digest Algorithm: SHA1
   587 //!		Muti-signature: No
   623 //!				Hash available: No
   588 //!		Certificates provided by User: No
   624 //!				Muti-signature: No
   589 //!		Certificates Set: No
   625 //!				Certificates provided by User: No
   590 //!		No Signer Info
   626 //!				Certificates Set: No
   591 //! @SYMPREQ PREQ968
   627 //!				No Signer Info
   592 //! @SYMTestPriority Critical
   628 //! @SYMPREQ 			PREQ968
   593 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   629 //! @SYMTestPriority 		Critical
       
   630 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   594 //! @SYMTestExpectedResults Encoding Check Successfully
   631 //! @SYMTestExpectedResults Encoding Check Successfully
   595 //! @SYMTestType UT
   632 //! @SYMTestType 		UT
   596 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST20_2
   633 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST20_2
   597 
   634 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0077
   598 
   635 
   599 //! @SYMTestCaseID SEC-CMS-SignedData-0021
   636 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0021
   600 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   637 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0021
   601 //!		The signing key: DSA key
   638 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   602 //!		Signer identifier: subject key Id Extension
   639 //!				The signing key: DSA key
   603 //!		Signed data content: attached, 
   640 //!				Signer identifier: subject key Id Extension
   604 //!		Digest Algorithm: SHA1
   641 //!				Signed data content: attached, 
   605 //!		Hash available: No
   642 //!				Digest Algorithm: SHA1
   606 //!		Muti-signature: No
   643 //!				Hash available: No
   607 //!		Certificates provided by User: No
   644 //!				Muti-signature: No
   608 //!		Certificates Set: Yes
   645 //!				Certificates provided by User: No
   609 //! @SYMPREQ PREQ968
   646 //!				Certificates Set: Yes
   610 //! @SYMTestPriority Critical
   647 //! @SYMPREQ 			PREQ968
   611 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   648 //! @SYMTestPriority 		Critical
   612 //! @SYMTestExpectedResults successfully validated
   649 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   613 //! @SYMTestType UT
   650 //! @SYMTestExpectedResults 	successfully validated
       
   651 //! @SYMTestType 		UT
   614 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST21
   652 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST21
   615 
   653 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0021
   616 
   654 
   617 //! @SYMTestCaseID SEC-CMS-SignedData-0022
   655 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0022
   618 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   656 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0022
   619 //!		The signing key: DSA key
   657 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   620 //!		Signer identifier: subject key Id Extension
   658 //!				The signing key: DSA key
   621 //!		Signed data content: detached, 
   659 //!				Signer identifier: subject key Id Extension
   622 //!		Digest Algorithm: SHA1
   660 //!				Signed data content: detached, 
   623 //!		Hash available: Yes
   661 //!				Digest Algorithm: SHA1
   624 //!		Muti-signature: No
   662 //!				Hash available: Yes
   625 //!		Certificates provided by User: No
   663 //!				Muti-signature: No
   626 //!		Certificates Set: Yes
   664 //!				Certificates provided by User: No
   627 //! @SYMPREQ PREQ968
   665 //!				Certificates Set: Yes
   628 //! @SYMTestPriority Critical
   666 //! @SYMPREQ 			PREQ968
   629 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   667 //! @SYMTestPriority 		Critical
   630 //! @SYMTestExpectedResults successfully validated
   668 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   631 //! @SYMTestType UT
   669 //! @SYMTestExpectedResults 	successfully validated
       
   670 //! @SYMTestType 		UT
   632 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST22
   671 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST22
   633 
   672 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0022
   634 //! @SYMTestCaseID SEC-CMS-SignedData-0023
   673 
   635 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   674 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0023
   636 //!		The signing key: DSA key
   675 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0023
   637 //!		Signer identifier: subject key Id Extension
   676 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   638 //!		Signed data content: detached, 
   677 //!				The signing key: DSA key
   639 //!		Digest Algorithm: MD2
   678 //!				Signer identifier: subject key Id Extension
   640 //!		Hash available: No
   679 //!				Signed data content: detached, 
   641 //!		Muti-signature: No
   680 //!				Digest Algorithm: MD2
   642 //!		Certificates provided by User: No
   681 //!				Hash available: No
   643 //!		Certificates Set: Yes
   682 //!				Muti-signature: No
   644 //! @SYMPREQ PREQ968
   683 //!				Certificates provided by User: No
   645 //! @SYMTestPriority Critical
   684 //!				Certificates Set: Yes
   646 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   685 //! @SYMPREQ 			PREQ968
   647 //! @SYMTestExpectedResults successfully validated
   686 //! @SYMTestPriority 		Critical
   648 //! @SYMTestType UT
   687 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   688 //! @SYMTestExpectedResults 	successfully validated
       
   689 //! @SYMTestType 		UT
   649 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST23
   690 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST23
   650 
   691 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0023
   651 
   692 
   652 
   693 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0024
   653 //! @SYMTestCaseID SEC-CMS-SignedData-0024
   694 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0024
   654 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   695 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   655 //!		The signing key: DSA key
   696 //!				The signing key: DSA key
   656 //!		Signer identifier: issuer and serial number 
   697 //!				Signer identifier: issuer and serial number 
   657 //!		Signed data content: attached, 
   698 //!				Signed data content: attached, 
   658 //!		Digest Algorithm: SHA1
   699 //!				Digest Algorithm: SHA1
   659 //!		Hash available: No
   700 //!				Hash available: No
   660 //!		Muti-signature: No
   701 //!				Muti-signature: No
   661 //!		Certificates provided by User: No
   702 //!				Certificates provided by User: No
   662 //!		Certificates Set: Yes
   703 //!				Certificates Set: Yes
   663 //! @SYMPREQ PREQ968
   704 //! @SYMPREQ 			PREQ968
   664 //! @SYMTestPriority Critical
   705 //! @SYMTestPriority 		Critical
   665 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   706 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   666 //! @SYMTestExpectedResults successfully validated
   707 //! @SYMTestExpectedResults 	successfully validated
   667 //! @SYMTestType UT
   708 //! @SYMTestType 		UT
   668 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST24
   709 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST24
   669 
   710 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0024
   670 
   711 
   671 //! @SYMTestCaseID SEC-CMS-SignedData-0025
   712 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0025
   672 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   713 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0025
   673 //!		The signing key: DSA key
   714 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   674 //!		Signer identifier: issuer and serial number 
   715 //!				The signing key: DSA key
   675 //!		Signed data content: detached, 
   716 //!				Signer identifier: issuer and serial number 
   676 //!		Digest Algorithm: SHA1
   717 //!				Signed data content: detached, 
   677 //!		Hash available: Yes
   718 //!				Digest Algorithm: SHA1
   678 //!		Muti-signature: No
   719 //!				Hash available: Yes
   679 //!		Certificates provided by User: No
   720 //!				Muti-signature: No
   680 //!		Certificates Set: Yes
   721 //!				Certificates provided by User: No
   681 //! @SYMPREQ PREQ968
   722 //!				Certificates Set: Yes
   682 //! @SYMTestPriority Critical
   723 //! @SYMPREQ 			PREQ968
   683 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   724 //! @SYMTestPriority 		Critical
   684 //! @SYMTestExpectedResults successfully validated
   725 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   685 //! @SYMTestType UT
   726 //! @SYMTestExpectedResults 	successfully validated
       
   727 //! @SYMTestType 		UT
   686 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST25
   728 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST25
   687 
   729 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0025
   688 //! @SYMTestCaseID SEC-CMS-SignedData-0026
   730 
   689 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   731 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0026
   690 //!		The signing key: DSA key
   732 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0026
   691 //!		Signer identifier: issuer and serial number 
   733 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   692 //!		Signed data content: detached, 
   734 //!				The signing key: DSA key
   693 //!		Digest Algorithm: MD2
   735 //!				Signer identifier: issuer and serial number 
   694 //!		Hash available: No
   736 //!				Signed data content: detached, 
   695 //!		Muti-signature: No
   737 //!				Digest Algorithm: MD2
   696 //!		Certificates provided by User: No
   738 //!				Hash available: No
   697 //!		Certificates Set: Yes
   739 //!				Muti-signature: No
   698 //! @SYMPREQ PREQ968
   740 //!				Certificates provided by User: No
   699 //! @SYMTestPriority Critical
   741 //!				Certificates Set: Yes
   700 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   742 //! @SYMPREQ 			PREQ968
   701 //! @SYMTestExpectedResults successfully validated
   743 //! @SYMTestPriority 		Critical
   702 //! @SYMTestType UT
   744 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   745 //! @SYMTestExpectedResults 	successfully validated
       
   746 //! @SYMTestType 		UT
   703 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST26
   747 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST26
   704 
   748 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0026
   705 
   749 
   706 //! @SYMTestCaseID SEC-CMS-SignedData-0027
   750 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0027
   707 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   751 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0027
   708 //!		The signing key: DSA key, RSA key
   752 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   709 //!		Signer identifier: issuer and serial number, subject key Id Extension
   753 //!				The signing key: DSA key, RSA key
   710 //!		Signed data content: detached, 
   754 //!				Signer identifier: issuer and serial number, subject key Id Extension
   711 //!		Digest Algorithm: SHA1, SHA1
   755 //!				Signed data content: detached, 
   712 //!		Hash available: No
   756 //!				Digest Algorithm: SHA1, SHA1
   713 //!		Muti-signature: YES
   757 //!				Hash available: No
   714 //!		Certificates provided by User: No
   758 //!				Muti-signature: YES
   715 //!		Certificates Set: Yes
   759 //!				Certificates provided by User: No
   716 //! @SYMPREQ PREQ968
   760 //!				Certificates Set: Yes
   717 //! @SYMTestPriority Critical
   761 //! @SYMPREQ 			PREQ968
   718 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   762 //! @SYMTestPriority 		Critical
   719 //! @SYMTestExpectedResults successfully validated
   763 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   720 //! @SYMTestType UT
   764 //! @SYMTestExpectedResults 	successfully validated
       
   765 //! @SYMTestType 		UT
   721 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST27
   766 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST27
   722 
   767 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0027
   723 //! @SYMTestCaseID SEC-CMS-SignedData-0028
   768 
   724 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   769 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0028
   725 //!		The signing key: DSA key, RSA key
   770 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0028
   726 //!		Signer identifier: issuer and serial number, subject key Id Extension
   771 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   727 //!		Signed data content: attached, 
   772 //!				The signing key: DSA key, RSA key
   728 //!		Digest Algorithm: SHA1, SHA1
   773 //!				Signer identifier: issuer and serial number, subject key Id Extension
   729 //!		Hash available: No
   774 //!				Signed data content: attached, 
   730 //!		Muti-signature: YES
   775 //!				Digest Algorithm: SHA1, SHA1
   731 //!		Certificates provided by User: Yes
   776 //!				Hash available: No
   732 //!		Certificates Set: Yes
   777 //!				Muti-signature: YES
   733 //! @SYMPREQ PREQ968
   778 //!				Certificates provided by User: Yes
   734 //! @SYMTestPriority Critical
   779 //!				Certificates Set: Yes
   735 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   780 //! @SYMPREQ 			PREQ968
   736 //! @SYMTestExpectedResults successfully validated
   781 //! @SYMTestPriority 		Critical
   737 //! @SYMTestType UT
   782 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   783 //! @SYMTestExpectedResults 	successfully validated
       
   784 //! @SYMTestType 		UT
   738 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST28
   785 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST28
   739 
   786 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0028
   740 //! @SYMTestCaseID SEC-CMS-SignedData-0029
   787 
   741 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   788 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0029
   742 //!		The signing key: RSA key, DSA key
   789 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0029
   743 //!		Signer identifier: subject key Id Extension, issuer and serial number
   790 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   744 //!		Signed data content: attached, 
   791 //!				The signing key: RSA key, DSA key
   745 //!		Digest Algorithm: SHA1, SHA1
   792 //!				Signer identifier: subject key Id Extension, issuer and serial number
   746 //!		Hash available: No
   793 //!				Signed data content: attached, 
   747 //!		Muti-signature: YES
   794 //!				Digest Algorithm: SHA1, SHA1
   748 //!		Certificates provided by User: No
   795 //!				Hash available: No
   749 //!		Certificates Set: Yes
   796 //!				Muti-signature: YES
   750 //! @SYMPREQ PREQ968
   797 //!				Certificates provided by User: No
   751 //! @SYMTestPriority Critical
   798 //!				Certificates Set: Yes
   752 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   799 //! @SYMPREQ 			PREQ968
   753 //! @SYMTestExpectedResults successfully validated
   800 //! @SYMTestPriority 		Critical
   754 //! @SYMTestType UT
   801 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   802 //! @SYMTestExpectedResults 	successfully validated
       
   803 //! @SYMTestType 		UT
   755 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST29
   804 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST29
   756 
   805 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0029
   757 //! @SYMTestCaseID SEC-CMS-SignedData-0030
   806 
   758 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   807 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0030
   759 //!		The signing key: RSA key, DSA key
   808 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0030
   760 //!		Signer identifier: subject key Id Extension, issuer and serial number
   809 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   761 //!		Signed data content: attached, 
   810 //!				The signing key: RSA key, DSA key
   762 //!		Digest Algorithm: SHA1, SHA1
   811 //!				Signer identifier: subject key Id Extension, issuer and serial number
   763 //!		Hash available: No
   812 //!				Signed data content: attached, 
   764 //!		Muti-signature: YES
   813 //!				Digest Algorithm: SHA1, SHA1
   765 //!		Certificates provided by User: Yes
   814 //!				Hash available: No
   766 //!		Certificates Set: Yes
   815 //!				Muti-signature: YES
   767 //! @SYMPREQ PREQ968
   816 //!				Certificates provided by User: Yes
   768 //! @SYMTestPriority Critical
   817 //!				Certificates Set: Yes
   769 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   818 //! @SYMPREQ 			PREQ968
   770 //! @SYMTestExpectedResults successfully validated
   819 //! @SYMTestPriority 		Critical
   771 //! @SYMTestType UT
   820 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   821 //! @SYMTestExpectedResults 	successfully validated
       
   822 //! @SYMTestType 		UT
   772 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST30
   823 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST30
   773 
   824 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0030
   774 //! @SYMTestCaseID SEC-CMS-SignedData-0031
   825 
   775 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   826 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0031
   776 //!		The signing key: RSA key, DSA key
   827 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0031
   777 //!		Signer identifier: subject key Id Extension, issuer and serial number
   828 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   778 //!		Signed data content: attached, 
   829 //!				The signing key: RSA key, DSA key
   779 //!		Digest Algorithm: Md5, SHA1
   830 //!				Signer identifier: subject key Id Extension, issuer and serial number
   780 //!		Hash available: No
   831 //!				Signed data content: attached, 
   781 //!		Muti-signature: YES
   832 //!				Digest Algorithm: Md5, SHA1
   782 //!		Certificates provided by User: No
   833 //!				Hash available: No
   783 //!		Certificates Set: Yes
   834 //!				Muti-signature: YES
   784 //! @SYMPREQ PREQ968
   835 //!				Certificates provided by User: No
   785 //! @SYMTestPriority Critical
   836 //!				Certificates Set: Yes
   786 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   837 //! @SYMPREQ 			PREQ968
   787 //! @SYMTestExpectedResults successfully validated
   838 //! @SYMTestPriority 		Critical
   788 //! @SYMTestType UT
   839 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   840 //! @SYMTestExpectedResults 	successfully validated
       
   841 //! @SYMTestType 		UT
   789 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST31
   842 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST31
   790 
   843 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0031
   791 
   844 
   792 //! @SYMTestCaseID SEC-CMS-SignedData-0032
   845 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0032
   793 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   846 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0032
   794 //!		The signing key: RSA key, DSA key
   847 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   795 //!		Signer identifier: subject key Id Extension, issuer and serial number
   848 //!				The signing key: RSA key, DSA key
   796 //!		Signed data content: attached, 
   849 //!				Signer identifier: subject key Id Extension, issuer and serial number
   797 //!		Digest Algorithm: Md5, SHA1
   850 //!				Signed data content: attached, 
   798 //!		Hash available: No
   851 //!				Digest Algorithm: Md5, SHA1
   799 //!		Muti-signature: YES
   852 //!				Hash available: No
   800 //!		Certificates provided by User: No
   853 //!				Muti-signature: YES
   801 //!		Certificates Set: Yes
   854 //!				Certificates provided by User: No
   802 //!		Additional Certificate: Yes,  X509 certificate
   855 //!				Certificates Set: Yes
   803 //! @SYMPREQ PREQ968
   856 //!				Additional Certificate: Yes,  X509 certificate
   804 //! @SYMTestPriority Critical
   857 //! @SYMPREQ 			PREQ968
   805 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   858 //! @SYMTestPriority 		Critical
   806 //! @SYMTestExpectedResults successfully validated
   859 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   807 //! @SYMTestType UT
   860 //! @SYMTestExpectedResults 	successfully validated
       
   861 //! @SYMTestType 		UT
   808 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST32
   862 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST32
   809 
   863 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0032
   810 
   864 
   811 //! @SYMTestCaseID SEC-CMS-SignedData-0033
   865 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0033
   812 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   866 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0033
   813 //!		The signing key: RSA key, DSA key
   867 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   814 //!		Signer identifier: subject key Id Extension, issuer and serial number
   868 //!				The signing key: RSA key, DSA key
   815 //!		Signed data content: attached, 
   869 //!				Signer identifier: subject key Id Extension, issuer and serial number
   816 //!		Digest Algorithm: Md5, SHA1
   870 //!				Signed data content: attached, 
   817 //!		Hash available: No
   871 //!				Digest Algorithm: Md5, SHA1
   818 //!		Muti-signature: YES
   872 //!				Hash available: No
   819 //!		Certificates provided by User: No
   873 //!				Muti-signature: YES
   820 //!		Certificates Set: Yes
   874 //!				Certificates provided by User: No
   821 //!		Attribute Certificate: Yes 
   875 //!				Certificates Set: Yes
   822 //! @SYMPREQ PREQ968
   876 //!				Attribute Certificate: Yes 
   823 //! @SYMTestPriority Critical
   877 //! @SYMPREQ 			PREQ968
   824 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   878 //! @SYMTestPriority 		Critical
   825 //! @SYMTestExpectedResults successfully validated
   879 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   826 //! @SYMTestType UT
   880 //! @SYMTestExpectedResults 	successfully validated
       
   881 //! @SYMTestType 		UT
   827 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST33
   882 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST33
   828 
   883 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0033
   829 //! @SYMTestCaseID SEC-CMS-SignedData-0034
   884 
   830 //! @SYMTestCaseDesc Test CMS data Construction, encoding and decoding 
   885 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0034
   831 //! @SYMPREQ PREQ968
   886 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0034
   832 //! @SYMTestPriority Critical
   887 //! @SYMTestCaseDesc 		Test CMS data Construction, encoding and decoding 
   833 //! @SYMTestActions Test CMS data Construction, encoding and decoding 
   888 //! @SYMPREQ 			PREQ968
   834 //! @SYMTestExpectedResults successfully Encoding and Decoding
   889 //! @SYMTestPriority 		Critical
   835 //! @SYMTestType UT
   890 //! @SYMTestActions 		Test CMS data Construction, encoding and decoding 
       
   891 //! @SYMTestExpectedResults 	successfully Encoding and Decoding
       
   892 //! @SYMTestType 		UT
   836 RUN_TEST_STEP 100 tpkcs7server CMSData C:\tpkcs7\tcms.ini TEST34
   893 RUN_TEST_STEP 100 tpkcs7server CMSData C:\tpkcs7\tcms.ini TEST34
   837 
   894 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0034
   838 
   895 
   839 //! @SYMTestCaseID SEC-CMS-SignedData-0035
   896 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0035
   840 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   897 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0035
   841 //!		The signing key: RSA key, DSA key
   898 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   842 //!		Signer identifier: subject key Id Extension, issuer and serial number
   899 //!				The signing key: RSA key, DSA key
   843 //!		Signed data content: attached, 
   900 //!				Signer identifier: subject key Id Extension, issuer and serial number
   844 //!		Digest Algorithm: Md5, SHA1
   901 //!				Signed data content: attached, 
   845 //!		Hash available: No
   902 //!				Digest Algorithm: Md5, SHA1
   846 //!		Muti-signature: YES
   903 //!				Hash available: No
   847 //!		Certificates provided by User: No
   904 //!				Muti-signature: YES
   848 //!		Certificates Set: Yes
   905 //!				Certificates provided by User: No
   849 //!		Additional Certificate: Yes, duplicate cert
   906 //!				Certificates Set: Yes
   850 //! @SYMPREQ PREQ968
   907 //!				Additional Certificate: Yes, duplicate cert
   851 //! @SYMTestPriority Critical
   908 //! @SYMPREQ 			PREQ968
   852 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation.
   909 //! @SYMTestPriority 		Critical
       
   910 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation.
   853 //!			This test try to add an existing certificate to the certificate set. The 
   911 //!			This test try to add an existing certificate to the certificate set. The 
   854 //!			adding is ignaored.
   912 //!			adding is ignaored.
   855 //! @SYMTestExpectedResults successfully validated
   913 //! @SYMTestExpectedResults 	successfully validated
   856 //! @SYMTestType UT
   914 //! @SYMTestType 		UT
   857 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST35
   915 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST35
   858 
   916 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0035
   859 //! @SYMTestCaseID SEC-CMS-SignedData-0036
   917 
   860 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   918 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0036
   861 //!		The signing key: RSA key, DSA key
   919 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0036
   862 //!		Signer identifier: subject key Id Extension, issuer and serial number
   920 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   863 //!		Signed data content: attached, 
   921 //!				The signing key: RSA key, DSA key
   864 //!		Digest Algorithm: Md5, SHA1
   922 //!				Signer identifier: subject key Id Extension, issuer and serial number
   865 //!		Hash available: No
   923 //!				Signed data content: attached, 
   866 //!		Muti-signature: YES
   924 //!				Digest Algorithm: Md5, SHA1
   867 //!		Certificates provided by User: No
   925 //!				Hash available: No
   868 //!		Certificates Set: Yes
   926 //!				Muti-signature: YES
   869 //!		Additional Certificate: Yes, , Encoded X509 certificate
   927 //!				Certificates provided by User: No
   870 //! @SYMPREQ PREQ968
   928 //!				Certificates Set: Yes
   871 //! @SYMTestPriority Critical
   929 //!				Additional Certificate: Yes, , Encoded X509 certificate
   872 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   930 //! @SYMPREQ 			PREQ968
   873 //! @SYMTestExpectedResults successfully validated
   931 //! @SYMTestPriority 		Critical
   874 //! @SYMTestType UT
   932 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
   875 
   933 //! @SYMTestExpectedResults 	successfully validated
       
   934 //! @SYMTestType 		UT
   876 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST36
   935 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST36
   877 
   936 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0036
   878 //! @SYMTestCaseID SEC-CMS-SignedData-0037
   937 
   879 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
   938 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0037
   880 //!		The signing key: RSA key, DSA key
   939 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0037
   881 //!		Signer identifier: subject key Id Extension, issuer and serial number
   940 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   882 //!		Signed data content: attached, 
   941 //!				The signing key: RSA key, DSA key
   883 //!		Digest Algorithm: Md5, SHA1
   942 //!				Signer identifier: subject key Id Extension, issuer and serial number
   884 //!		Hash available: No
   943 //!				Signed data content: attached, 
   885 //!		Muti-signature: YES
   944 //!				Digest Algorithm: Md5, SHA1
   886 //!		Certificates provided by User: No
   945 //!				Hash available: No
   887 //!		Certificates Set: Yes
   946 //!				Muti-signature: YES
   888 //!		Additional Certificate: Yes, Encoded Extended certificate
   947 //!				Certificates provided by User: No
   889 //! @SYMPREQ PREQ968
   948 //!				Certificates Set: Yes
   890 //! @SYMTestPriority Critical
   949 //!				Additional Certificate: Yes, Encoded Extended certificate
   891 //! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
   950 //! @SYMPREQ 			PREQ968
   892 //! @SYMTestExpectedResults KErrNotSupported
   951 //! @SYMTestPriority 		Critical
   893 //! @SYMTestType UT
   952 //! @SYMTestActions 		Test CMS signed data construction, encoding, decoding and validation. 
       
   953 //! @SYMTestExpectedResults 	KErrNotSupported
       
   954 //! @SYMTestType 		UT
   894 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST37
   955 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST37
   895 
   956 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0037
   896 //! @SYMTestCaseID SEC-CMS-SignedData-0040
   957 
   897 //! @SYMTestCaseDesc OOM Test CMS signed data construction, encoding, decoding and validation. 
   958 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0040
   898 //!		The signing key: RSA key
   959 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0040
   899 //!		Signer identifier: issuer and serial number
   960 //! @SYMTestCaseDesc 		OOM Test CMS signed data construction, encoding, decoding and validation. 
   900 //!		Signed data content: attached, 
   961 //!				The signing key: RSA key
   901 //!		Digest Algorithm: SHA1
   962 //!				Signer identifier: issuer and serial number
   902 //!		Hash available: No
   963 //!				Signed data content: attached, 
   903 //!		Muti-signature: YES
   964 //!				Digest Algorithm: SHA1
   904 //!		Certificates provided by User: No
   965 //!				Hash available: No
   905 //!		Certificates Set: Yes
   966 //!				Muti-signature: YES
   906 //! @SYMPREQ PREQ968
   967 //!				Certificates provided by User: No
   907 //! @SYMTestPriority Critical
   968 //!				Certificates Set: Yes
   908 //! @SYMTestActions OOM Test CMS signed data construction, encoding, decoding and validation. 
   969 //! @SYMPREQ 			PREQ968
   909 //! @SYMTestExpectedResults successfully validated
   970 //! @SYMTestPriority 		Critical
   910 //! @SYMTestType UT
   971 //! @SYMTestActions 		OOM Test CMS signed data construction, encoding, decoding and validation. 
       
   972 //! @SYMTestExpectedResults 	successfully validated
       
   973 //! @SYMTestType 		UT
   911 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST40
   974 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST40
   912 
   975 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0040
   913 
   976 
   914 //! @SYMTestCaseID SEC-CMS-SignedData-0041
   977 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0041
   915 //! @SYMTestCaseDesc OOM Test CMS signed data construction, encoding, decoding and validation. 
   978 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0041
   916 //!		The signing key: RSA key, DSA key
   979 //! @SYMTestCaseDesc 		OOM Test CMS signed data construction, encoding, decoding and validation. 
   917 //!		Signer identifier: subject key Id Extension, issuer and serial number
   980 //!				The signing key: RSA key, DSA key
   918 //!		Signed data content: attached, 
   981 //!				Signer identifier: subject key Id Extension, issuer and serial number
   919 //!		Digest Algorithm: Md5, SHA1
   982 //!				Signed data content: attached, 
   920 //!		Hash available: No
   983 //!				Digest Algorithm: Md5, SHA1
   921 //!		Muti-signature: YES
   984 //!				Hash available: No
   922 //!		Certificates provided by User: No
   985 //!				Muti-signature: YES
   923 //!		Certificates Set: Yes
   986 //!				Certificates provided by User: No
   924 //!		Additional Certificate: Yes
   987 //!				Certificates Set: Yes
   925 //! @SYMPREQ PREQ968
   988 //!				Additional Certificate: Yes
   926 //! @SYMTestPriority Critical
   989 //! @SYMPREQ 			PREQ968
   927 //! @SYMTestActions OOM Test CMS signed data construction, encoding, decoding and validation. 
   990 //! @SYMTestPriority 		Critical
   928 //! @SYMTestExpectedResults successfully validated
   991 //! @SYMTestActions 		OOM Test CMS signed data construction, encoding, decoding and validation. 
   929 //! @SYMTestType UT
   992 //! @SYMTestExpectedResults 	successfully validated
       
   993 //! @SYMTestType 		UT
   930 RUN_TEST_STEP 300 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST41
   994 RUN_TEST_STEP 300 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST41
   931 
   995 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0041
   932 //! @SYMTestCaseID SEC-CMS-SignedData-0042
   996 
   933 //! @SYMTestCaseDesc OOM Test CMS signed data construction, encoding, decoding and validation. 
   997 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0042
   934 //!		The signing key: DSA key
   998 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0042
   935 //!		Signer identifier: subject key Id Extension
   999 //! @SYMTestCaseDesc 		OOM Test CMS signed data construction, encoding, decoding and validation. 
   936 //!		Signed data content: detached, 
  1000 //!				The signing key: DSA key
   937 //!		Digest Algorithm: SHA1
  1001 //!				Signer identifier: subject key Id Extension
   938 //!		Hash available: Yes
  1002 //!				Signed data content: detached, 
   939 //!		Muti-signature: No
  1003 //!				Digest Algorithm: SHA1
   940 //!		Certificates provided by User: No
  1004 //!				Hash available: Yes
   941 //!		Certificates Set: Yes
  1005 //!				Muti-signature: No
   942 //! @SYMPREQ PREQ968
  1006 //!				Certificates provided by User: No
   943 //! @SYMTestPriority Critical
  1007 //!				Certificates Set: Yes
   944 //! @SYMTestActions OOM Test CMS signed data construction, encoding, decoding and validation. 
  1008 //! @SYMPREQ 			PREQ968
   945 //! @SYMTestExpectedResults successfully validated
  1009 //! @SYMTestPriority 		Critical
   946 //! @SYMTestType UT
  1010 //! @SYMTestActions 		OOM Test CMS signed data construction, encoding, decoding and validation. 
       
  1011 //! @SYMTestExpectedResults 	successfully validated
       
  1012 //! @SYMTestType 		UT
   947 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST42
  1013 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST42
   948 
  1014 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0042
   949 //! @SYMTestCaseID OOM SEC-CMS-SignedData-0043
  1015 
   950 //! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
  1016 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0043
   951 //!		The signing key: RSA key
  1017 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0043
   952 //!		Signer identifier: issuer and serial number 
  1018 //! @SYMTestCaseDesc 		Test CMS signed data construction, encoding, decoding and validation. 
   953 //!		Signed data content: detached, 
  1019 //!				The signing key: RSA key
   954 //!		Digest Algorithm: SHA1
  1020 //!				Signer identifier: issuer and serial number 
   955 //!		Hash available: No
  1021 //!				Signed data content: detached, 
   956 //!		Muti-signature: No
  1022 //!				Digest Algorithm: SHA1
   957 //!		Certificates provided by User: No
  1023 //!				Hash available: No
   958 //!		Certificates Set: Yes
  1024 //!				Muti-signature: No
   959 //! @SYMPREQ PREQ968
  1025 //!				Certificates provided by User: No
   960 //! @SYMTestPriority Critical
  1026 //!				Certificates Set: Yes
   961 //! @SYMTestActions OOM Test CMS signed data construction, encoding, decoding and validation. 
  1027 //! @SYMPREQ 			PREQ968
   962 //! @SYMTestExpectedResults successfully validated
  1028 //! @SYMTestPriority 		Critical
   963 //! @SYMTestType UT
  1029 //! @SYMTestActions 		OOM Test CMS signed data construction, encoding, decoding and validation. 
       
  1030 //! @SYMTestExpectedResults 	successfully validated
       
  1031 //! @SYMTestType 		UT
   964 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST43
  1032 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST43
   965 
  1033 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0043
   966 
  1034 
   967 //! @SYMTestCaseID OOM SEC-CMS-SignedData-0044
  1035 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0044
   968 //! @SYMTestCaseDesc Test decoding and validation CMS Signed data contains unsigned attributes
  1036 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0044
   969 //!		The signing key: RSA key
  1037 //! @SYMTestCaseDesc 		Test decoding and validation CMS Signed data contains unsigned attributes
   970 //!		Signer identifier: subject key id extension
  1038 //!				The signing key: RSA key
   971 //!		Signed data content: attached
  1039 //!				Signer identifier: subject key id extension
   972 //!		Digest Algorithm: SHA1
  1040 //!				Signed data content: attached
   973 //!		Hash available: No
  1041 //!				Digest Algorithm: SHA1
   974 //!		Muti-signature: No
  1042 //!				Hash available: No
   975 //!		Certificates provided by User: No
  1043 //!				Muti-signature: No
   976 //!		Certificates Set: Yes
  1044 //!				Certificates provided by User: No
   977 //! @SYMPREQ PREQ968
  1045 //!				Certificates Set: Yes
   978 //! @SYMTestPriority Critical
  1046 //! @SYMPREQ 			PREQ968
   979 //! @SYMTestActions Test decoding and validation CMS Signed data contains unsigned attributes
  1047 //! @SYMTestPriority 		Critical
   980 //! @SYMTestExpectedResults successfully validated
  1048 //! @SYMTestActions 		Test decoding and validation CMS Signed data contains unsigned attributes
   981 //! @SYMTestType UT
  1049 //! @SYMTestExpectedResults 	successfully validated
       
  1050 //! @SYMTestType 		UT
   982 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST44
  1051 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST44
   983 
  1052 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0044
   984 //! @SYMTestCaseID OOM SEC-CMS-SignedData-0045
  1053 
   985 //! @SYMTestCaseDesc Test decoding CMS Signed data contains signed and unsigned attributes
  1054 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0045
   986 //!		The signing key: RSA key
  1055 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0045
   987 //!		Signer identifier: subject key id extension
  1056 //! @SYMTestCaseDesc 		Test decoding CMS Signed data contains signed and unsigned attributes
   988 //!		Signed data content: attached
  1057 //!				The signing key: RSA key
   989 //!		Digest Algorithm: SHA1
  1058 //!				Signer identifier: subject key id extension
   990 //!		Hash available: No
  1059 //!				Signed data content: attached
   991 //!		Muti-signature: No
  1060 //!				Digest Algorithm: SHA1
   992 //!		Certificates provided by User: No
  1061 //!				Hash available: No
   993 //!		Certificates Set: Yes
  1062 //!				Muti-signature: No
   994 //! @SYMPREQ PREQ968
  1063 //!				Certificates provided by User: No
   995 //! @SYMTestPriority Critical
  1064 //!				Certificates Set: Yes
   996 //! @SYMTestActions Test decoding and validation CMS Signed data contains unsigned attributes
  1065 //! @SYMPREQ 			PREQ968
   997 //! @SYMTestExpectedResults successfully decoded
  1066 //! @SYMTestPriority 		Critical
   998 //! @SYMTestType UT
  1067 //! @SYMTestActions 		Test decoding and validation CMS Signed data contains unsigned attributes
       
  1068 //! @SYMTestExpectedResults 	successfully decoded
       
  1069 //! @SYMTestType 		UT
   999 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST45
  1070 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST45
  1000 
  1071 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0045
  1001 //! @SYMTestCaseID SEC-CMS-SignedData-0046
  1072 
  1002 //! @SYMTestCaseDesc OOM Test CMS data Construction, encoding and decoding 
  1073 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0046
  1003 //! @SYMPREQ PREQ968
  1074 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0046
  1004 //! @SYMTestPriority Critical
  1075 //! @SYMTestCaseDesc 		OOM Test CMS data Construction, encoding and decoding 
  1005 //! @SYMTestActions OOM Test CMS data Construction, encoding and decoding 
  1076 //! @SYMPREQ 			PREQ968
  1006 //! @SYMTestExpectedResults OOM Test pass
  1077 //! @SYMTestPriority 		Critical
  1007 //! @SYMTestType UT
  1078 //! @SYMTestActions 		OOM Test CMS data Construction, encoding and decoding 
       
  1079 //! @SYMTestExpectedResults 	OOM Test pass
       
  1080 //! @SYMTestType 		UT
  1008 RUN_TEST_STEP 100 tpkcs7server CMSData C:\tpkcs7\tcms.ini TEST46
  1081 RUN_TEST_STEP 100 tpkcs7server CMSData C:\tpkcs7\tcms.ini TEST46
  1009 
  1082 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0046
  1010 
  1083 
  1011 
  1084 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0050
  1012 //! @SYMTestCaseID SEC-CMS-SignedData-0050
  1085 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0050
  1013 //! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt Signature
  1086 //! @SYMTestCaseDesc 		Test corrupt CMS signed data decoding. Corrupt Signature
  1014 //! @SYMPREQ PREQ968
  1087 //! @SYMPREQ 			PREQ968
  1015 //! @SYMTestPriority High
  1088 //! @SYMTestPriority 		High
  1016 //! @SYMTestActions Test corrupt CMS signed data decoding. 
  1089 //! @SYMTestActions 		Test corrupt CMS signed data decoding. 
  1017 //! @SYMTestExpectedResults validation fails
  1090 //! @SYMTestExpectedResults 	validation fails
  1018 //! @SYMTestType UT
  1091 //! @SYMTestType 		UT
  1019 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST50
  1092 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST50
  1020 
  1093 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0050
  1021 //! @SYMTestCaseID SEC-CMS-SignedData-0051
  1094 
  1022 //! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt Content data type oid.
  1095 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0051
  1023 //! @SYMPREQ PREQ968
  1096 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0051
  1024 //! @SYMTestPriority High
  1097 //! @SYMTestCaseDesc 		Test corrupt CMS signed data decoding. Corrupt Content data type oid.
  1025 //! @SYMTestActions Test corrupt CMS signed data decoding. 
  1098 //! @SYMPREQ 			PREQ968
  1026 //! @SYMTestExpectedResults KErrArgument
  1099 //! @SYMTestPriority 		High
  1027 //! @SYMTestType UT
  1100 //! @SYMTestActions 		Test corrupt CMS signed data decoding. 
       
  1101 //! @SYMTestExpectedResults 	KErrArgument
       
  1102 //! @SYMTestType 		UT
  1028 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST51
  1103 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST51
  1029 
  1104 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0051
  1030 //! @SYMTestCaseID SEC-CMS-SignedData-0052
  1105 
  1031 //! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt Encapsulated Content data type oid.
  1106 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0052
  1032 //! @SYMPREQ PREQ968
  1107 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0052
  1033 //! @SYMTestPriority High
  1108 //! @SYMTestCaseDesc 		Test corrupt CMS signed data decoding. Corrupt Encapsulated Content data type oid.
  1034 //! @SYMTestActions Test corrupt CMS signed data decoding. 
  1109 //! @SYMPREQ 			PREQ968
  1035 //! @SYMTestExpectedResults KErrArgument
  1110 //! @SYMTestPriority 		High
  1036 //! @SYMTestType UT
  1111 //! @SYMTestActions 		Test corrupt CMS signed data decoding. 
       
  1112 //! @SYMTestExpectedResults 	KErrArgument
       
  1113 //! @SYMTestType 		UT
  1037 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST52
  1114 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST52
  1038 
  1115 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0052
  1039 //! @SYMTestCaseID SEC-CMS-SignedData-0053
  1116 
  1040 //! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt data content.
  1117 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0053
  1041 //! @SYMPREQ PREQ968
  1118 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0053
  1042 //! @SYMTestPriority High
  1119 //! @SYMTestCaseDesc 		Test corrupt CMS signed data decoding. Corrupt data content.
  1043 //! @SYMTestActions Test corrupt CMS signed data decoding. 
  1120 //! @SYMPREQ 			PREQ968
  1044 //! @SYMTestExpectedResults KErrArgument
  1121 //! @SYMTestPriority 		High
  1045 //! @SYMTestType UT
  1122 //! @SYMTestActions 		Test corrupt CMS signed data decoding. 
       
  1123 //! @SYMTestExpectedResults 	KErrArgument
       
  1124 //! @SYMTestType 		UT
  1046 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST53
  1125 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST53
  1047 
  1126 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0053
  1048 //! @SYMTestCaseID SEC-CMS-SignedData-0054
  1127 
  1049 //! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt signedata version.
  1128 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0054
  1050 //! @SYMPREQ PREQ968
  1129 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0054
  1051 //! @SYMTestPriority High
  1130 //! @SYMTestCaseDesc 		Test corrupt CMS signed data decoding. Corrupt signedata version.
  1052 //! @SYMTestActions Test corrupt CMS signed data decoding. 
  1131 //! @SYMPREQ 			PREQ968
  1053 //! @SYMTestExpectedResults KErrArgument
  1132 //! @SYMTestPriority 		High
  1054 //! @SYMTestType UT
  1133 //! @SYMTestActions 		Test corrupt CMS signed data decoding. 
       
  1134 //! @SYMTestExpectedResults 	KErrArgument
       
  1135 //! @SYMTestType 		UT
  1055 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST54
  1136 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST54
  1056 
  1137 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0054
  1057 //! @SYMTestCaseID SEC-CMS-SignedData-0055
  1138 
  1058 //! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt signerinfo version.
  1139 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0055
  1059 //! @SYMPREQ PREQ968
  1140 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0055
  1060 //! @SYMTestPriority High
  1141 //! @SYMTestCaseDesc 		Test corrupt CMS signed data decoding. Corrupt signerinfo version.
  1061 //! @SYMTestActions Test corrupt CMS signed data decoding. 
  1142 //! @SYMPREQ 			PREQ968
  1062 //! @SYMTestExpectedResults KErrArgument
  1143 //! @SYMTestPriority 		High
  1063 //! @SYMTestType UT
  1144 //! @SYMTestActions 		Test corrupt CMS signed data decoding. 
       
  1145 //! @SYMTestExpectedResults 	KErrArgument
       
  1146 //! @SYMTestType 		UT
  1064 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST55
  1147 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST55
  1065 
  1148 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0055
  1066 //! @SYMTestCaseID SEC-CMS-SignedData-0056
  1149 
  1067 //! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt excert set tag.
  1150 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0056
  1068 //! @SYMPREQ PREQ968
  1151 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0056
  1069 //! @SYMTestPriority High
  1152 //! @SYMTestCaseDesc 		Test corrupt CMS signed data decoding. Corrupt excert set tag.
  1070 //! @SYMTestActions Test corrupt CMS signed data decoding. 
  1153 //! @SYMPREQ 			PREQ968
  1071 //! @SYMTestExpectedResults KErrArgument
  1154 //! @SYMTestPriority 		High
  1072 //! @SYMTestType UT
  1155 //! @SYMTestActions 		Test corrupt CMS signed data decoding. 
       
  1156 //! @SYMTestExpectedResults 	KErrArgument
       
  1157 //! @SYMTestType 		UT
  1073 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST56
  1158 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST56
  1074 
  1159 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0056
  1075 //! @SYMTestCaseID SEC-CMS-SignedData-0057
  1160 
  1076 //! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt certificate tag.
  1161 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0057
  1077 //! @SYMPREQ PREQ968
  1162 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0057
  1078 //! @SYMTestPriority High
  1163 //! @SYMTestCaseDesc 		Test corrupt CMS signed data decoding. Corrupt certificate tag.
  1079 //! @SYMTestActions Test corrupt CMS signed data decoding. 
  1164 //! @SYMPREQ 			PREQ968
  1080 //! @SYMTestExpectedResults KErrArgument
  1165 //! @SYMTestPriority 		High
  1081 //! @SYMTestType UT
  1166 //! @SYMTestActions 		Test corrupt CMS signed data decoding. 
       
  1167 //! @SYMTestExpectedResults 	KErrArgument
       
  1168 //! @SYMTestType 		UT
  1082 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST57
  1169 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST57
  1083 
  1170 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0057
  1084 //! @SYMTestCaseID SEC-CMS-SignedData-0058
  1171 
  1085 //! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt algorithm OID.
  1172 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0058
  1086 //! @SYMPREQ PREQ968
  1173 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0058
  1087 //! @SYMTestPriority High
  1174 //! @SYMTestCaseDesc 		Test corrupt CMS signed data decoding. Corrupt algorithm OID.
  1088 //! @SYMTestActions Test corrupt CMS signed data decoding. 
  1175 //! @SYMPREQ 			PREQ968
  1089 //! @SYMTestExpectedResults KErrNotSupported
  1176 //! @SYMTestPriority 		High
  1090 //! @SYMTestType UT
  1177 //! @SYMTestActions 		Test corrupt CMS signed data decoding. 
       
  1178 //! @SYMTestExpectedResults 	KErrNotSupported
       
  1179 //! @SYMTestType 		UT
  1091 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST58
  1180 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST58
  1092 
  1181 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0058
  1093 
  1182 
  1094 
  1183 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0059
  1095 //! @SYMTestCaseID SEC-CMS-SignedData-0059
  1184 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0059
  1096 //! @SYMTestCaseDesc Test encoding a CMS signed object with a corrupt attribute certificate
  1185 //! @SYMTestCaseDesc 		Test encoding a CMS signed object with a corrupt attribute certificate
  1097 //! @SYMPREQ PREQ968
  1186 //! @SYMPREQ 			PREQ968
  1098 //! @SYMTestPriority High
  1187 //! @SYMTestPriority 		High
  1099 //! @SYMTestActions builds and Encodes a CMS signed data object
  1188 //! @SYMTestActions	 	builds and Encodes a CMS signed data object
  1100 //! @SYMTestExpectedResults KErrArgument
  1189 //! @SYMTestExpectedResults 	KErrArgument
  1101 //! @SYMTestType UT
  1190 //! @SYMTestType 		UT
  1102 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST59
  1191 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST59
  1103 
  1192 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0059
  1104 //! @SYMTestCaseID SEC-CMS-SignedData-0060
  1193 
  1105 //! @SYMTestCaseDesc Test encoding a CMS signed object with a corrupt attribute certificate
  1194 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0060
  1106 //! @SYMPREQ PREQ968
  1195 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0060
  1107 //! @SYMTestPriority High
  1196 //! @SYMTestCaseDesc 		Test encoding a CMS signed object with a corrupt attribute certificate
  1108 //! @SYMTestActions builds and Encodes a CMS signed data object
  1197 //! @SYMPREQ 			PREQ968
  1109 //! @SYMTestExpectedResults KErrArgument
  1198 //! @SYMTestPriority 		High
  1110 //! @SYMTestType UT
  1199 //! @SYMTestActions 		builds and Encodes a CMS signed data object
       
  1200 //! @SYMTestExpectedResults 	KErrArgument
       
  1201 //! @SYMTestType 		UT
  1111 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST60
  1202 RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST60
  1112 
  1203 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0060
  1113 
  1204 
  1114 //! @SYMTestCaseID SEC-CMS-SignedData-0061
  1205 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0061
  1115 //! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt data block CMS in the signed data.
  1206 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0061
  1116 //! @SYMPREQ PREQ968
  1207 //! @SYMTestCaseDesc 		Test corrupt CMS signed data decoding. Corrupt data block CMS in the signed data.
  1117 //! @SYMTestPriority High
  1208 //! @SYMPREQ 			PREQ968
  1118 //! @SYMTestActions Test corrupt CMS signed data decoding. 
  1209 //! @SYMTestPriority 		High
  1119 //! @SYMTestExpectedResults KErrArgument
  1210 //! @SYMTestActions 		Test corrupt CMS signed data decoding. 
  1120 //! @SYMTestType UT
  1211 //! @SYMTestExpectedResults 	KErrArgument
       
  1212 //! @SYMTestType 		UT
  1121 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST61
  1213 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST61
  1122 
  1214 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0061
  1123 
  1215 
  1124 //! @SYMTestCaseID SEC-CMS-SignedData-0062
  1216 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0062
  1125 //! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt length.
  1217 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0062
  1126 //! @SYMPREQ PREQ968
  1218 //! @SYMTestCaseDesc 		Test corrupt CMS signed data decoding. Corrupt length.
  1127 //! @SYMTestPriority High
  1219 //! @SYMPREQ 			PREQ968
  1128 //! @SYMTestActions Test corrupt CMS signed data decoding. 
  1220 //! @SYMTestPriority 		High
  1129 //! @SYMTestExpectedResults KErrArgument
  1221 //! @SYMTestActions 		Test corrupt CMS signed data decoding. 
  1130 //! @SYMTestType UT
  1222 //! @SYMTestExpectedResults 	KErrArgument
       
  1223 //! @SYMTestType 		UT
  1131 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST62
  1224 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST62
  1132 
  1225 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0062
  1133 //! @SYMTestCaseID SEC-CMS-SignedData-0063
  1226 
  1134 //! @SYMTestCaseDesc Test corrupt CMS data decoding. Corrupt Tag.
  1227 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0063
  1135 //! @SYMPREQ PREQ968
  1228 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0063
  1136 //! @SYMTestPriority High
  1229 //! @SYMTestCaseDesc 		Test corrupt CMS data decoding. Corrupt Tag.
  1137 //! @SYMTestActions Test corrupt CMS data decoding. 
  1230 //! @SYMPREQ 			PREQ968
  1138 //! @SYMTestExpectedResults KErrArgument
  1231 //! @SYMTestPriority 		High
  1139 //! @SYMTestType UT
  1232 //! @SYMTestActions 		Test corrupt CMS data decoding. 
       
  1233 //! @SYMTestExpectedResults 	KErrArgument
       
  1234 //! @SYMTestType 		UT
  1140 RUN_TEST_STEP 100 tpkcs7server CMSDataDecoding C:\tpkcs7\tcms.ini TEST63
  1235 RUN_TEST_STEP 100 tpkcs7server CMSDataDecoding C:\tpkcs7\tcms.ini TEST63
  1141 
  1236 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0063
  1142 
  1237 
  1143 //! @SYMTestCaseID SEC-CMS-SignedData-0064
  1238 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0064
  1144 //! @SYMTestCaseDesc Test corrupt CMS data decoding. Corrupt class.
  1239 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0064
  1145 //! @SYMPREQ PREQ968
  1240 //! @SYMTestCaseDesc 		Test corrupt CMS data decoding. Corrupt class.
  1146 //! @SYMTestPriority High
  1241 //! @SYMPREQ 			PREQ968
  1147 //! @SYMTestActions Test corrupt CMS data decoding. 
  1242 //! @SYMTestPriority 		High
  1148 //! @SYMTestExpectedResults KErrArgument
  1243 //! @SYMTestActions 		Test corrupt CMS data decoding. 
  1149 //! @SYMTestType UT
  1244 //! @SYMTestExpectedResults 	KErrArgument
       
  1245 //! @SYMTestType 		UT
  1150 RUN_TEST_STEP 100 tpkcs7server CMSDataDecoding C:\tpkcs7\tcms.ini TEST64
  1246 RUN_TEST_STEP 100 tpkcs7server CMSDataDecoding C:\tpkcs7\tcms.ini TEST64
  1151 
  1247 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0064
  1152 //! @SYMTestCaseID SEC-CMS-SignedData-0065
  1248 
  1153 //! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt explicit tag of encapsulated content info.
  1249 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0065
  1154 //! @SYMPREQ PREQ968
  1250 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0065
  1155 //! @SYMTestPriority High
  1251 //! @SYMTestCaseDesc 		Test corrupt CMS signed data decoding. Corrupt explicit tag of encapsulated content info.
  1156 //! @SYMTestActions Test corrupt CMS signed data decoding. 
  1252 //! @SYMPREQ 			PREQ968
  1157 //! @SYMTestExpectedResults KErrArgument
  1253 //! @SYMTestPriority 		High
  1158 //! @SYMTestType UT
  1254 //! @SYMTestActions 		Test corrupt CMS signed data decoding. 
       
  1255 //! @SYMTestExpectedResults 	KErrArgument
       
  1256 //! @SYMTestType 		UT
  1159 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST65
  1257 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST65
  1160 
  1258 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0065
  1161 //! @SYMTestCaseID SEC-CMS-SignedData-0066
  1259 
  1162 //! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt data content tag of encapsulated content info.
  1260 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0066
  1163 //! @SYMPREQ PREQ968
  1261 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0066
  1164 //! @SYMTestPriority High
  1262 //! @SYMTestCaseDesc 		Test corrupt CMS signed data decoding. Corrupt data content tag of encapsulated content info.
  1165 //! @SYMTestActions Test corrupt CMS signed data decoding. 
  1263 //! @SYMPREQ 			PREQ968
  1166 //! @SYMTestExpectedResults KErrArgument
  1264 //! @SYMTestPriority 		High
  1167 //! @SYMTestType UT
  1265 //! @SYMTestActions 		Test corrupt CMS signed data decoding. 
       
  1266 //! @SYMTestExpectedResults 	KErrArgument
       
  1267 //! @SYMTestType 		UT
  1168 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST66
  1268 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST66
  1169 
  1269 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0066
  1170 //! @SYMTestCaseID SEC-CMS-SignedData-0067
  1270 
  1171 //! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt explicit tag of content info.
  1271 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0067
  1172 //! @SYMPREQ PREQ968
  1272 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0067
  1173 //! @SYMTestPriority High
  1273 //! @SYMTestCaseDesc 		Test corrupt CMS signed data decoding. Corrupt explicit tag of content info.
  1174 //! @SYMTestActions Test corrupt CMS signed data decoding. 
  1274 //! @SYMPREQ 			PREQ968
  1175 //! @SYMTestExpectedResults KErrArgument
  1275 //! @SYMTestPriority 		High
  1176 //! @SYMTestType UT
  1276 //! @SYMTestActions 		Test corrupt CMS signed data decoding. 
       
  1277 //! @SYMTestExpectedResults 	KErrArgument
       
  1278 //! @SYMTestType 		UT
  1177 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST67
  1279 RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST67
  1178 
  1280 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0067
  1179 
  1281 
  1180 //! @SYMTestCaseID SEC-CMS-ContentInfo-0073
  1282 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0073
  1181 //! @SYMTestCaseDesc Decode digested type in CMS content info
  1283 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0073
  1182 //! @SYMPREQ PREQ968
  1284 //! @SYMTestCaseDesc 		Decode digested type in CMS content info
  1183 //! @SYMTestPriority High
  1285 //! @SYMPREQ 			PREQ968
  1184 //! @SYMTestActions Test decoding of digested data type
  1286 //! @SYMTestPriority 		High
  1185 //! @SYMTestExpectedResults KErrArgument
  1287 //! @SYMTestActions 		Test decoding of digested data type
  1186 //! @SYMTestType UT
  1288 //! @SYMTestExpectedResults 	KErrArgument
       
  1289 //! @SYMTestType 		UT
  1187 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tcms.ini TEST73
  1290 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tcms.ini TEST73
  1188 
  1291 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0073
  1189 //! @SYMTestCaseID SEC-CMS-ContentInfo-0074
  1292 
  1190 //! @SYMTestCaseDesc Decode enveloped type in CMS content info
  1293 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0074
  1191 //! @SYMPREQ PREQ968
  1294 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0074
  1192 //! @SYMTestPriority High
  1295 //! @SYMTestCaseDesc 		Decode enveloped type in CMS content info
  1193 //! @SYMTestActions Test decoding of enveloped data type
  1296 //! @SYMPREQ 			PREQ968
  1194 //! @SYMTestExpectedResults KErrArgument
  1297 //! @SYMTestPriority 		High
  1195 //! @SYMTestType UT
  1298 //! @SYMTestActions 		Test decoding of enveloped data type
       
  1299 //! @SYMTestExpectedResults 	KErrArgument
       
  1300 //! @SYMTestType 		UT
  1196 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tcms.ini TEST74
  1301 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tcms.ini TEST74
  1197 
  1302 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0074
  1198 //! @SYMTestCaseID SEC-CMS-ContentInfo-0075
  1303 
  1199 //! @SYMTestCaseDesc Decode encrypted type in CMS content info
  1304 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0075
  1200 //! @SYMPREQ PREQ968
  1305 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0075
  1201 //! @SYMTestPriority High
  1306 //! @SYMTestCaseDesc 		Decode encrypted type in CMS content info
  1202 //! @SYMTestActions Test decoding of encrypted data type
  1307 //! @SYMPREQ 			PREQ968
  1203 //! @SYMTestExpectedResults KErrArgument
  1308 //! @SYMTestPriority 		High
  1204 //! @SYMTestType UT
  1309 //! @SYMTestActions 		Test decoding of encrypted data type
       
  1310 //! @SYMTestExpectedResults 	KErrArgument
       
  1311 //! @SYMTestType 		UT
  1205 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tcms.ini TEST75
  1312 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tcms.ini TEST75
  1206 
  1313 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0075
  1207 //! @SYMTestCaseID SEC-CMS-ContentInfo-0076
  1314 
  1208 //! @SYMTestCaseDesc Decode authenticated type in CMS content info
  1315 START_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0076
  1209 //! @SYMPREQ PREQ968
  1316 //! @SYMTestCaseID 		SEC-CERTMAN-PKCS7-CMS-0076
  1210 //! @SYMTestPriority High
  1317 //! @SYMTestCaseDesc 		Decode authenticated type in CMS content info
  1211 //! @SYMTestActions Test decoding of authenticated data type
  1318 //! @SYMPREQ 			PREQ968
  1212 //! @SYMTestExpectedResults KErrArgument
  1319 //! @SYMTestPriority		High
  1213 //! @SYMTestType UT
  1320 //! @SYMTestActions 		Test decoding of authenticated data type
       
  1321 //! @SYMTestExpectedResults 	KErrArgument
       
  1322 //! @SYMTestType 		UT
  1214 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tcms.ini TEST76
  1323 RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tcms.ini TEST76
  1215 
  1324 END_TESTCASE			SEC-CERTMAN-PKCS7-CMS-0076
  1216 
  1325 
  1217 
  1326 
       
  1327 
       
  1328