os/security/cryptoservices/certificateandkeymgmt/tcertstore/t_unifiedcertstorecount.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 * CUnifiedCertStoreCount class implementation
    16 *
    17 */
    18 
    19 
    20 /**
    21  @file 
    22  @internalTechnology
    23 */
    24  
    25 #ifndef __T_UNIFIEDCERTSTORECOUNT_H__
    26 #define __T_UNIFIEDCERTSTORECOUNT_H__
    27 
    28 #include "t_certstoreactions.h"
    29 
    30 class CUnifiedCertStoreCount : public CCertStoreTestAction
    31 	{
    32 public:
    33 	virtual ~CUnifiedCertStoreCount();
    34 	virtual void PerformAction(TRequestStatus& aStatus);
    35 	virtual void PerformCancel();
    36 	virtual void Reset();
    37 
    38 protected:
    39 	CUnifiedCertStoreCount(RFs& aFs, CConsoleBase& aConsole, Output& aOut);
    40 	void ConstructL(const TTestActionSpec& aTestActionSpec);
    41 	void DoReportAction();
    42 	void DoCheckResult(TInt aError);
    43 	virtual void DoPerformAction() = 0;
    44 	virtual void DoWriteResult() = 0;
    45 
    46 protected:
    47 	TInt iCount;
    48 	TKeyIdentifier iExpectCount;
    49 	TKeyIdentifier iStoreIndex;
    50 	};
    51 
    52 #endif
    53