os/security/cryptoservices/certificateandkeymgmt/tcertstore/t_unifiedcertstoreactiongetcert.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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  @file 
    22  @internalTechnology
    23 */
    24  
    25 #ifndef __T_UNIFIEDCERTSTOREACTIONGETCERT_H__
    26 #define __T_UNIFIEDCERTSTOREACTIONGETCERT_H__
    27 
    28 #include "t_certstoreactions.h"
    29 
    30 class CUnifiedCertStoreGetCert : public CCertStoreTestAction
    31 	{
    32 public:
    33 	static CTestAction* NewL(RFs& aFs, CConsoleBase& aConsole, Output& aOut, const TTestActionSpec& aTestActionSpec);
    34 	virtual ~CUnifiedCertStoreGetCert();
    35 	virtual void PerformAction(TRequestStatus& aStatus);
    36 	virtual void PerformCancel();
    37 	virtual void Reset();
    38 
    39 private:
    40 	CUnifiedCertStoreGetCert(RFs& aFs, CConsoleBase& aConsole, Output& aOut);
    41 	void ConstructL(const TTestActionSpec& aTestActionSpec);
    42 	void DoReportAction();
    43 	void DoCheckResult(TInt aError);
    44 
    45 private:
    46 	enum TState
    47 		{
    48 		EGetCert,
    49 		EFinished
    50 		};
    51 
    52 private:
    53 	TState iState;
    54 	CCTCertInfo* iCertInfo;
    55 	TCTTokenObjectHandle iHandle;
    56 //	CCertAttributeFilter* iFilter;
    57 /*	RPointerArray<CCTCertInfo> iCertInfos;
    58 	TCertLabel iLabel;
    59 	TCTTokenObjectHandle iHandle;*/
    60 	};
    61 
    62 #endif
    63