crypto/weakcryptospi/test/tasymmetric/tasymmetricmisc.h
changeset 8 35751d3474b7
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
       
     1 /*
       
     2 * Copyright (c) 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 __TASYMMETRICMISC_H__
       
    20 #define __TASYMMETRICMISC_H__
       
    21 
       
    22 #include "t_testaction.h"
       
    23 #include <e32std.h>
       
    24 #include <asymmetric.h>
       
    25 #include <asymmetrickeys.h>
       
    26 #include <random.h>
       
    27 
       
    28 class CAsymmetricMiscellaneous : public CTestAction
       
    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 ~CAsymmetricMiscellaneous();
       
    36 	virtual void DoPerformPrerequisite(TRequestStatus& aStatus);
       
    37 	virtual void DoPerformPostrequisite(TRequestStatus& aStatus);
       
    38 	virtual void PerformAction(TRequestStatus& aStatus);
       
    39 	virtual void DoReportAction(void);
       
    40 	virtual void DoCheckResult(TInt);
       
    41 
       
    42 private:
       
    43 	CAsymmetricMiscellaneous(RFs& aFs, CConsoleBase& aConsole, Output& aOut);
       
    44 	void ConstructL(const TTestActionSpec& aTestActionSpec);
       
    45 
       
    46 	TInt iActionMode;
       
    47 	RFs& iFs;
       
    48 	HBufC8* iBody;
       
    49 	RInteger iG;
       
    50 	RInteger iN;
       
    51 	RInteger iX;	
       
    52 };
       
    53 
       
    54 #endif // __TASYMMETRICMISC_H__