|
1 /* |
|
2 * Copyright (c) 2002 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 "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: Wim key management handler |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CWIMKEYMGMTHANDLER_H |
|
21 #define CWIMKEYMGMTHANDLER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CWimMemMgmt; |
|
28 class CWimUtilityFuncs; |
|
29 |
|
30 // CLASS DECLARATION |
|
31 |
|
32 /** |
|
33 * WIM key management handler |
|
34 * |
|
35 * |
|
36 * @since Series60 2.6 |
|
37 */ |
|
38 class CWimKeyMgmtHandler : public CBase |
|
39 { |
|
40 public: // Constructors and destructor |
|
41 |
|
42 /** |
|
43 * Two-phased constructor. |
|
44 */ |
|
45 static CWimKeyMgmtHandler* NewL(); |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 virtual ~CWimKeyMgmtHandler(); |
|
51 |
|
52 public: // New functions |
|
53 |
|
54 /** |
|
55 * Checks if the given key exists. |
|
56 * @param aMessage Client message |
|
57 * @return void |
|
58 */ |
|
59 void DoesKeyExistL( const RMessage2& aMessage ); |
|
60 |
|
61 /** |
|
62 * Fetches the details of the given key. |
|
63 * @param aMessage Client message |
|
64 * @return void |
|
65 */ |
|
66 void GetKeyDetailsL( const RMessage2& aMessage ); |
|
67 |
|
68 /** |
|
69 * Fetches the list of keys in WIM. |
|
70 * @param aMessage Client message |
|
71 * @param aWimMgmt Pointer to CWimMemMgmt class |
|
72 * @return void |
|
73 */ |
|
74 void GetKeyListL( const RMessage2& aMessage, |
|
75 CWimMemMgmt* aWimMgmt ) const; |
|
76 |
|
77 private: |
|
78 |
|
79 /** |
|
80 * C++ default constructor. |
|
81 */ |
|
82 CWimKeyMgmtHandler(); |
|
83 |
|
84 /** |
|
85 * By default Symbian 2nd phase constructor is private. |
|
86 */ |
|
87 void ConstructL(); |
|
88 |
|
89 private: // Data |
|
90 // Pointer to Utility functions class |
|
91 CWimUtilityFuncs* iWimUtilFuncs; |
|
92 |
|
93 }; |
|
94 |
|
95 #endif // CWIMKEYMGMTHANDLER_H |
|
96 |
|
97 // End of File |