First public contribution.
2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
24 #if (!defined __TPKCS7_STEP_H__)
25 #define __TPKCS7_STEP_H__
26 #include <test/testexecutestepbase.h>
27 #include "tpkcs7server.h"
28 #include "tpkcs7stepbase.h"
30 class CTPKCS7CorruptTest : public CTPKCS7StepBase
34 virtual TVerdict doTestStepL();
37 class CTPKCS7ValidTest : public CTPKCS7StepBase
41 virtual TVerdict doTestStepL();
44 class CTPKCS7ContentTest : public CTPKCS7StepBase
48 virtual TVerdict doTestStepL();
51 class CTPKCS7CertificateTest : public CTPKCS7StepBase
54 CTPKCS7CertificateTest();
55 virtual TVerdict doTestStepL();
58 class CTPKCS7SignerTest : public CTPKCS7StepBase
62 virtual TVerdict doTestStepL();
65 class CTPKCS7EncryptedDataTest : public CTPKCS7StepBase
68 CTPKCS7EncryptedDataTest();
69 virtual TVerdict doTestStepL();
72 class CTPKCS7DigestInfoTest : public CTPKCS7StepBase
75 CTPKCS7DigestInfoTest();
76 virtual TVerdict doTestStepL();
79 class CTPKCS7EncryptedDataCorruptTest : public CTPKCS7StepBase
82 CTPKCS7EncryptedDataCorruptTest();
83 virtual TVerdict doTestStepL();
86 class CTPKCS7DigestInfoCorruptTest : public CTPKCS7StepBase
89 CTPKCS7DigestInfoCorruptTest();
90 virtual TVerdict doTestStepL();
93 class CTPKCS7OOMTest : public CTPKCS7StepBase
97 TVerdict doTestStepL();
103 _LIT(KTPKCS7EncryptedDataTest, "EncryptedData");
104 _LIT(KTPKCS7DigestInfoTest, "DigestInfo");
105 _LIT(KTPKCS7EncryptedDataCorruptTest, "EncryptedDataCorrupt");
106 _LIT(KTPKCS7DigestInfoCorruptTest, "DigestInfoCorrupt");
107 _LIT(KTPKCS7OOMTest,"PKCS7OOM");
108 _LIT(KTCmsSignedDataTest,"CMSSignedData");
109 _LIT(KTCmsSignedDataDecodingTest,"CMSSignedDataDecoding");
110 _LIT(KTCmsDataTest,"CMSData");
111 _LIT(KTCmsDataDecodingTest,"CMSDataDecoding");
112 _LIT(KTCmsContentInfoDecodingTest,"CmsContentInfoDecoding");
113 _LIT(KTPKCS7SignedDataTest,"PKCS7SignedData");
114 _LIT(KTPKCS7CorruptTest, "Corrupt");
115 _LIT(KTPKCS7ValidTest, "Valid");
116 _LIT(KTPKCS7ContentTest, "Content");
117 _LIT(KTPKCS7CertificateTest, "Certificate");
118 _LIT(KTPKCS7SignerTest, "Signer");