os/security/cryptoservices/filebasedcertificateandkeystores/test/keytool/keytool_view_imp.h
First public contribution.
2 * Copyright (c) 2004-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.
19 #ifndef __KEYTOOL_VIEW_IMP_H_
20 #define __KEYTOOL_VIEW_IMP_H_
23 #include <mctkeystore.h>
24 #include <cctcertinfo.h>
26 #include "keytool_view.h"
28 class CKeytoolConsoleView : public CBase, public MKeyToolView
31 static CKeytoolConsoleView* NewLC(CConsoleBase& aConsole);
32 ~CKeytoolConsoleView();
35 public: // From MKeyToolView
38 void DisplayKeyInfoL(CCTKeyInfo& aKey, TBool aIsDetailed, TBool aPageWise);
39 void DisplayErrorL(const TDesC& aError, TBool aPageWise);
40 void DisplayErrorL(const TDesC& aError, TInt aErrorCode, TBool aPageWise);
41 void DisplayCertL(CCTCertInfo& aCert, CCertificate& aCertificate, RUidArray aApps, TBool aTrusted, TBool aIsDetailed, TBool aPageWise);
47 CKeytoolConsoleView(CConsoleBase& aConsole);
50 CConsoleBase & iConsole;