cryptoservices/certificateandkeymgmt/tpkcs7/scripts/tcms.script
changeset 0 2c201484c85f
child 8 35751d3474b7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/certificateandkeymgmt/tpkcs7/scripts/tcms.script	Wed Jul 08 11:25:26 2009 +0100
@@ -0,0 +1,1217 @@
+//
+// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of the License "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description: 
+//
+// tcms.script
+
+LOAD_SUITE tpkcs7server
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0000
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: attached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: Yes
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST0
+
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0001
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: attached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST1
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0001_1
+//! @SYMTestCaseDesc Test creation of a attached CMS object without given the data content 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: attached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST1_1
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0002
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: Yes
+//!		DataDetached: Yes
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST2
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0002_1
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation.
+//!		Test two step construction of signed data when hash is provided by user     
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: Yes
+//!		DataDetached: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//!		TwoStepCreation: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST2_1
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0002_2
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation.
+//!		Test two step construction of signed data when hash is provided by user     
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: Yes
+//!		DataDetached: Yes
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//!		TwoStepCreation: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST2_2
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0003
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0003_1
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation when
+//!		no provided hash nor provided data content.
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_1
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0003_2
+//! @SYMTestCaseDesc Test Validateion a detached CMS sign data without given data content or hash
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//!		ValidationDetachedWithoutInput: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_2
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0003_3
+//! @SYMTestCaseDesc Test Validateion a detached CMS sign data without given data content or hash
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: Yes
+//!		Certificates Set: Yes
+//!		ValidationDetachedWithoutInput: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_3
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0003_4
+//! @SYMTestCaseDesc Test Validateion a detached CMS sign data without given data content or hash
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: Yes
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_4
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0003_5
+//! @SYMTestCaseDesc Test Validateion a detached CMS sign data without given data content or hash
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: Yes
+//!		Muti-signature: No
+//!		Certificates provided by User: Yes
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST3_5
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0004
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: attached, 
+//!		Digest Algorithm: MD5
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST4
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0005
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: MD5
+//!		Hash available: Yes
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST5
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0006
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: MD5
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST6
+
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0007
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: attached, 
+//!		Digest Algorithm: MD2
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST7
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0008
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: MD2
+//!		Hash available: Yes
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST8
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0009
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: MD2
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST9
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0010
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: subject key Id Extension 
+//!		Signed data content: attached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST10
+
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0011
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: subject key Id Extension 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: Yes
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST11
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0012
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: subject key Id Extension 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST12
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0013
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: subject key Id Extension
+//!		Signed data content: attached, 
+//!		Digest Algorithm: MD5
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST13
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0014
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: subject key Id Extension
+//!		Signed data content: detached, 
+//!		Digest Algorithm: MD5
+//!		Hash available: Yes
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST14
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0015
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: subject key Id Extension
+//!		Signed data content: detached, 
+//!		Digest Algorithm: MD5
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST15
+
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0016
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: subject key Id Extension
+//!		Signed data content: attached, 
+//!		Digest Algorithm: MD2
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST16
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0017
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: subject key Id Extension
+//!		Signed data content: detached, 
+//!		Digest Algorithm: MD2
+//!		Hash available: Yes
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST17
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0018
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: subject key Id Extension
+//!		Signed data content: detached, 
+//!		Digest Algorithm: MD2
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST18
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0019
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: subject key Id Extension
+//!		Signed data content: detached, 
+//!		Digest Algorithm: MD2
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//!		Wrong root certificate
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults Validation Fail
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST19
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0020
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: attached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: Yes
+//!		Certificates Set: No
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST20
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0020-1
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: attached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: Yes
+//!		Certificates Set: No
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults KErrNotFound
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST20_1
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0020-2
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: attached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: No
+//!		No Signer Info
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults Encoding Check Successfully
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST20_2
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0021
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: DSA key
+//!		Signer identifier: subject key Id Extension
+//!		Signed data content: attached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST21
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0022
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: DSA key
+//!		Signer identifier: subject key Id Extension
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: Yes
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST22
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0023
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: DSA key
+//!		Signer identifier: subject key Id Extension
+//!		Signed data content: detached, 
+//!		Digest Algorithm: MD2
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST23
+
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0024
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: DSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: attached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST24
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0025
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: DSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: Yes
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST25
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0026
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: DSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: MD2
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST26
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0027
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: DSA key, RSA key
+//!		Signer identifier: issuer and serial number, subject key Id Extension
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1, SHA1
+//!		Hash available: No
+//!		Muti-signature: YES
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST27
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0028
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: DSA key, RSA key
+//!		Signer identifier: issuer and serial number, subject key Id Extension
+//!		Signed data content: attached, 
+//!		Digest Algorithm: SHA1, SHA1
+//!		Hash available: No
+//!		Muti-signature: YES
+//!		Certificates provided by User: Yes
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST28
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0029
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key, DSA key
+//!		Signer identifier: subject key Id Extension, issuer and serial number
+//!		Signed data content: attached, 
+//!		Digest Algorithm: SHA1, SHA1
+//!		Hash available: No
+//!		Muti-signature: YES
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST29
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0030
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key, DSA key
+//!		Signer identifier: subject key Id Extension, issuer and serial number
+//!		Signed data content: attached, 
+//!		Digest Algorithm: SHA1, SHA1
+//!		Hash available: No
+//!		Muti-signature: YES
+//!		Certificates provided by User: Yes
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST30
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0031
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key, DSA key
+//!		Signer identifier: subject key Id Extension, issuer and serial number
+//!		Signed data content: attached, 
+//!		Digest Algorithm: Md5, SHA1
+//!		Hash available: No
+//!		Muti-signature: YES
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST31
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0032
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key, DSA key
+//!		Signer identifier: subject key Id Extension, issuer and serial number
+//!		Signed data content: attached, 
+//!		Digest Algorithm: Md5, SHA1
+//!		Hash available: No
+//!		Muti-signature: YES
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//!		Additional Certificate: Yes,  X509 certificate
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST32
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0033
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key, DSA key
+//!		Signer identifier: subject key Id Extension, issuer and serial number
+//!		Signed data content: attached, 
+//!		Digest Algorithm: Md5, SHA1
+//!		Hash available: No
+//!		Muti-signature: YES
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//!		Attribute Certificate: Yes 
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST33
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0034
+//! @SYMTestCaseDesc Test CMS data Construction, encoding and decoding 
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS data Construction, encoding and decoding 
+//! @SYMTestExpectedResults successfully Encoding and Decoding
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSData C:\tpkcs7\tcms.ini TEST34
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0035
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key, DSA key
+//!		Signer identifier: subject key Id Extension, issuer and serial number
+//!		Signed data content: attached, 
+//!		Digest Algorithm: Md5, SHA1
+//!		Hash available: No
+//!		Muti-signature: YES
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//!		Additional Certificate: Yes, duplicate cert
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation.
+//!			This test try to add an existing certificate to the certificate set. The 
+//!			adding is ignaored.
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST35
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0036
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key, DSA key
+//!		Signer identifier: subject key Id Extension, issuer and serial number
+//!		Signed data content: attached, 
+//!		Digest Algorithm: Md5, SHA1
+//!		Hash available: No
+//!		Muti-signature: YES
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//!		Additional Certificate: Yes, , Encoded X509 certificate
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST36
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0037
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key, DSA key
+//!		Signer identifier: subject key Id Extension, issuer and serial number
+//!		Signed data content: attached, 
+//!		Digest Algorithm: Md5, SHA1
+//!		Hash available: No
+//!		Muti-signature: YES
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//!		Additional Certificate: Yes, Encoded Extended certificate
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults KErrNotSupported
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST37
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0040
+//! @SYMTestCaseDesc OOM Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number
+//!		Signed data content: attached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: YES
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions OOM Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST40
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0041
+//! @SYMTestCaseDesc OOM Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key, DSA key
+//!		Signer identifier: subject key Id Extension, issuer and serial number
+//!		Signed data content: attached, 
+//!		Digest Algorithm: Md5, SHA1
+//!		Hash available: No
+//!		Muti-signature: YES
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//!		Additional Certificate: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions OOM Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 300 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST41
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0042
+//! @SYMTestCaseDesc OOM Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: DSA key
+//!		Signer identifier: subject key Id Extension
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: Yes
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions OOM Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST42
+
+//! @SYMTestCaseID OOM SEC-CMS-SignedData-0043
+//! @SYMTestCaseDesc Test CMS signed data construction, encoding, decoding and validation. 
+//!		The signing key: RSA key
+//!		Signer identifier: issuer and serial number 
+//!		Signed data content: detached, 
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions OOM Test CMS signed data construction, encoding, decoding and validation. 
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST43
+
+
+//! @SYMTestCaseID OOM SEC-CMS-SignedData-0044
+//! @SYMTestCaseDesc Test decoding and validation CMS Signed data contains unsigned attributes
+//!		The signing key: RSA key
+//!		Signer identifier: subject key id extension
+//!		Signed data content: attached
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test decoding and validation CMS Signed data contains unsigned attributes
+//! @SYMTestExpectedResults successfully validated
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST44
+
+//! @SYMTestCaseID OOM SEC-CMS-SignedData-0045
+//! @SYMTestCaseDesc Test decoding CMS Signed data contains signed and unsigned attributes
+//!		The signing key: RSA key
+//!		Signer identifier: subject key id extension
+//!		Signed data content: attached
+//!		Digest Algorithm: SHA1
+//!		Hash available: No
+//!		Muti-signature: No
+//!		Certificates provided by User: No
+//!		Certificates Set: Yes
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions Test decoding and validation CMS Signed data contains unsigned attributes
+//! @SYMTestExpectedResults successfully decoded
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST45
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0046
+//! @SYMTestCaseDesc OOM Test CMS data Construction, encoding and decoding 
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority Critical
+//! @SYMTestActions OOM Test CMS data Construction, encoding and decoding 
+//! @SYMTestExpectedResults OOM Test pass
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSData C:\tpkcs7\tcms.ini TEST46
+
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0050
+//! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt Signature
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS signed data decoding. 
+//! @SYMTestExpectedResults validation fails
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST50
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0051
+//! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt Content data type oid.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS signed data decoding. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST51
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0052
+//! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt Encapsulated Content data type oid.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS signed data decoding. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST52
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0053
+//! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt data content.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS signed data decoding. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST53
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0054
+//! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt signedata version.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS signed data decoding. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST54
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0055
+//! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt signerinfo version.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS signed data decoding. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST55
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0056
+//! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt excert set tag.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS signed data decoding. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST56
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0057
+//! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt certificate tag.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS signed data decoding. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST57
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0058
+//! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt algorithm OID.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS signed data decoding. 
+//! @SYMTestExpectedResults KErrNotSupported
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST58
+
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0059
+//! @SYMTestCaseDesc Test encoding a CMS signed object with a corrupt attribute certificate
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions builds and Encodes a CMS signed data object
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST59
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0060
+//! @SYMTestCaseDesc Test encoding a CMS signed object with a corrupt attribute certificate
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions builds and Encodes a CMS signed data object
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedData C:\tpkcs7\tcms.ini TEST60
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0061
+//! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt data block CMS in the signed data.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS signed data decoding. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST61
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0062
+//! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt length.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS signed data decoding. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST62
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0063
+//! @SYMTestCaseDesc Test corrupt CMS data decoding. Corrupt Tag.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS data decoding. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSDataDecoding C:\tpkcs7\tcms.ini TEST63
+
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0064
+//! @SYMTestCaseDesc Test corrupt CMS data decoding. Corrupt class.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS data decoding. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSDataDecoding C:\tpkcs7\tcms.ini TEST64
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0065
+//! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt explicit tag of encapsulated content info.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS signed data decoding. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST65
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0066
+//! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt data content tag of encapsulated content info.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS signed data decoding. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST66
+
+//! @SYMTestCaseID SEC-CMS-SignedData-0067
+//! @SYMTestCaseDesc Test corrupt CMS signed data decoding. Corrupt explicit tag of content info.
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test corrupt CMS signed data decoding. 
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CMSSignedDataDecoding C:\tpkcs7\tcms.ini TEST67
+
+
+//! @SYMTestCaseID SEC-CMS-ContentInfo-0073
+//! @SYMTestCaseDesc Decode digested type in CMS content info
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test decoding of digested data type
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tcms.ini TEST73
+
+//! @SYMTestCaseID SEC-CMS-ContentInfo-0074
+//! @SYMTestCaseDesc Decode enveloped type in CMS content info
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test decoding of enveloped data type
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tcms.ini TEST74
+
+//! @SYMTestCaseID SEC-CMS-ContentInfo-0075
+//! @SYMTestCaseDesc Decode encrypted type in CMS content info
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test decoding of encrypted data type
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tcms.ini TEST75
+
+//! @SYMTestCaseID SEC-CMS-ContentInfo-0076
+//! @SYMTestCaseDesc Decode authenticated type in CMS content info
+//! @SYMPREQ PREQ968
+//! @SYMTestPriority High
+//! @SYMTestActions Test decoding of authenticated data type
+//! @SYMTestExpectedResults KErrArgument
+//! @SYMTestType UT
+RUN_TEST_STEP 100 tpkcs7server CmsContentInfoDecoding C:\tpkcs7\tcms.ini TEST76
+
+
+