|
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 * CUnifiedCertStoreGetCert class implementation |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 /** |
|
23 @file |
|
24 @internalTechnology |
|
25 */ |
|
26 |
|
27 #ifndef __T_UNIFIEDCERTSTOREACTIONGETCERT_H__ |
|
28 #define __T_UNIFIEDCERTSTOREACTIONGETCERT_H__ |
|
29 |
|
30 #include "t_certstoreactions.h" |
|
31 |
|
32 class CUnifiedCertStoreGetCert : public CCertStoreTestAction |
|
33 { |
|
34 public: |
|
35 static CTestAction* NewL(RFs& aFs, CConsoleBase& aConsole, Output& aOut, const TTestActionSpec& aTestActionSpec); |
|
36 virtual ~CUnifiedCertStoreGetCert(); |
|
37 virtual void PerformAction(TRequestStatus& aStatus); |
|
38 virtual void PerformCancel(); |
|
39 virtual void Reset(); |
|
40 |
|
41 private: |
|
42 CUnifiedCertStoreGetCert(RFs& aFs, CConsoleBase& aConsole, Output& aOut); |
|
43 void ConstructL(const TTestActionSpec& aTestActionSpec); |
|
44 void DoReportAction(); |
|
45 void DoCheckResult(TInt aError); |
|
46 |
|
47 private: |
|
48 enum TState |
|
49 { |
|
50 EGetCert, |
|
51 EFinished |
|
52 }; |
|
53 |
|
54 private: |
|
55 TState iState; |
|
56 CCTCertInfo* iCertInfo; |
|
57 TCTTokenObjectHandle iHandle; |
|
58 // CCertAttributeFilter* iFilter; |
|
59 /* RPointerArray<CCTCertInfo> iCertInfos; |
|
60 TCertLabel iLabel; |
|
61 TCTTokenObjectHandle iHandle;*/ |
|
62 }; |
|
63 |
|
64 #endif |