Update contrib.
2 * Copyright (c) 1998-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.
20 #ifndef __TRSASIGN_H__
21 #define __TRSASIGN_H__
23 #include "t_testaction.h"
25 #include <asymmetric.h>
26 #include <asymmetrickeys.h>
28 #include "tsignatureinput.h"
30 class CRSASignFB : public CTestAction
34 static CTestAction* NewL(RFs& aFs, CConsoleBase& aConsole,
35 Output& aOut, const TTestActionSpec& aTestActionSpec);
36 static CTestAction* NewLC(RFs& aFs, CConsoleBase& aConsole,
37 Output& aOut, const TTestActionSpec& aTestActionSpec);
38 void DoPerformPrerequisite(TRequestStatus& aStatus);
39 void DoPerformPostrequisite(TRequestStatus& aStatus);
40 void DoReportAction(void);
41 void DoCheckResult(TInt);
42 void PerformAction(TRequestStatus& aStatus);
45 CRSASignFB(RFs& aFs, CConsoleBase& aConsole, Output& aOut);
46 void ConstructL(const TTestActionSpec& aTestActionSpec);
47 void Hex(HBufC8& string);
48 inline TRSAPrivateKeyType TypeOfCrypto();
49 void DoPerformActionL();
50 void DoPerformanceTestActionL();
56 CSignatureInput* iSigInput;
59 TInt iPerfTestIterations;
60 TRSAPrivateKeyType iCryptoType;