|
1 /* |
|
2 * Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __TACTIONINCREMENTAL_H__ |
|
20 #define __TACTIONINCREMENTAL_H__ |
|
21 |
|
22 #include "cryptotestaction.h" |
|
23 #include "padding.h" |
|
24 #include <symmetric.h> |
|
25 |
|
26 class CActionIncremental : public CCryptoTestAction |
|
27 { |
|
28 public: |
|
29 static CTestAction* NewL(RFs& aFs, CConsoleBase& aConsole, |
|
30 Output& aOut, const TTestActionSpec& aTestActionSpec); |
|
31 static CTestAction* NewLC(RFs& aFs, CConsoleBase& aConsole, |
|
32 Output& aOut, const TTestActionSpec& aTestActionSpec); |
|
33 virtual ~CActionIncremental(); |
|
34 protected: |
|
35 CActionIncremental(RFs& aFs, CConsoleBase& aConsole, Output& aOut); |
|
36 protected: |
|
37 virtual void DoPerformActionL(); |
|
38 virtual void DoDoPerformActionL(); |
|
39 virtual void DoPerformPrerequisiteL(); |
|
40 virtual void DoPerformPostrequisiteL(); |
|
41 private: |
|
42 CSymmetricCipher* iEncryptor; |
|
43 CSymmetricCipher* iDecryptor; |
|
44 }; |
|
45 |
|
46 #endif |