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 _TPADDINGPKCS1_H_
20 #define _TPADDINGPKCS1_H_
22 #include <test/testexecutestepbase.h>
23 #include "tpaddingTestSteps.h"
25 _LIT(KPadPKCS1, "PadPKCS1");
26 _LIT(KUnpadPKCS1, "UnpadPKCS1");
28 class CTestPadPKCS1 : public CPaddingStep
33 virtual TVerdict doTestStepL();
35 void TestPKCS1SignaturePadding(TInt aBlockSize);
36 void TestPKCS1EncryptionPadding(TInt aBlockSize);
39 class CTestUnpadPKCS1 : public CPaddingStep
44 virtual TVerdict doTestStepL();
46 void TestPKCS1SignatureUnpadding(TInt aBlockSize);
47 void TestPKCS1EncryptionUnpadding(TInt aBlockSize);