First public contribution.
2 * Copyright (c) 2004-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.
19 #ifndef _TPADDINGSSLV3_H_
20 #define _TPADDINGSSLV3_H_
22 #include <test/testexecutestepbase.h>
23 #include "tpaddingTestSteps.h"
25 _LIT(KPadSSLv3, "PadSSLv3");
26 _LIT(KUnpadSSLv3, "UnpadSSLv3");
28 class CTestPadSSLv3 : public CPaddingStep
33 virtual TVerdict doTestStepL();
35 void TestSSLv3Padding(TInt aBlockSize);
36 void TestSSLv3CorruptPadding(TInt aBlockSize, TInt aTextSize);
38 TPtrC iExpectedResult;
43 class CTestUnpadSSLv3 : public CPaddingStep
48 virtual TVerdict doTestStepL();
50 void TestSSLv3Unpadding(TInt aBlockSize);
51 void TestSSLv3CorruptUnpadding(TInt aBlockSize, TInt aTextSize);
53 TPtrC iExpectedResult;