os/security/cryptoservices/filebasedcertificateandkeystores/test/keytool/keytool_view.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) 2004-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  __KEYTOOL_VIEW_H_
    20 #define __KEYTOOL_VIEW_H_
    21 
    22 #include <mctkeystore.h>
    23 #include <cctcertinfo.h>
    24 #include <signed.h>
    25 
    26 typedef RArray<TUid> RUidArray;
    27 
    28 class MKeyToolView 
    29 	{
    30 public:
    31 	virtual void DisplayUsage() = 0;
    32 	virtual void BoilerPlate() = 0;
    33 	virtual void DisplayKeyInfoL(CCTKeyInfo& aKeyInfo, TBool aIsDetailed, TBool aPageWise) = 0;
    34 	virtual void DisplayErrorL(const TDesC& aError, TBool aPageWise) = 0;	
    35 	virtual void DisplayErrorL(const TDesC& aError, TInt aErrorCode, TBool aPageWise) = 0;
    36 	virtual void DisplayCertL(CCTCertInfo& aCert, CCertificate& aCertificate, RUidArray aApps, TBool aTrusted, TBool aIsDetailed, TBool aPageWise) = 0;
    37 	};
    38 
    39 #endif