|
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 __TACTIONVECTOR_H__ |
|
20 #define __TACTIONVECTOR_H__ |
|
21 |
|
22 #include "cryptotestaction.h" |
|
23 #include <symmetric.h> |
|
24 |
|
25 class CBufferedEncryptor; // Forward declare |
|
26 class CBufferedDecryptor; // Forward declare |
|
27 |
|
28 class CActionVector : public CCryptoTestAction |
|
29 { |
|
30 public: |
|
31 static CTestAction* NewL(RFs& aFs, CConsoleBase& aConsole, |
|
32 Output& aOut, const TTestActionSpec& aTestActionSpec); |
|
33 static CTestAction* NewLC(RFs& aFs, CConsoleBase& aConsole, |
|
34 Output& aOut, const TTestActionSpec& aTestActionSpec); |
|
35 virtual ~CActionVector(); |
|
36 protected: |
|
37 CActionVector(RFs& aFs, CConsoleBase& aConsole, Output& aOut); |
|
38 void RunTest(void); |
|
39 void TestPerformance(void); |
|
40 protected: |
|
41 virtual void DoPerformActionL(); |
|
42 virtual void DoPerformPrerequisiteL(); |
|
43 protected: |
|
44 CSymmetricCipher* iEncryptor; |
|
45 CSymmetricCipher* iDecryptor; |
|
46 }; |
|
47 |
|
48 #endif |