equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
13 * |
13 * |
14 * Description: CPKIMapper class holds the information required to map API set |
14 * Description: CPKIMapper class holds the information required to map API set |
15 * to use the storage model which is not native for that API. |
15 * to use the storage model which is not native for that API. |
16 * |
16 * |
17 */ |
17 */ |
18 |
|
19 |
18 |
20 |
19 |
21 #if !defined (__PKIMAPPER_H__) |
20 #if !defined (__PKIMAPPER_H__) |
22 #define __PKIMAPPER_H__ |
21 #define __PKIMAPPER_H__ |
23 |
22 |
78 private: // implementation |
77 private: // implementation |
79 |
78 |
80 TBool LabelIsUnique(const TDesC& aLabel) const; |
79 TBool LabelIsUnique(const TDesC& aLabel) const; |
81 void LogMap(CMapDescriptor& aDescriptor) const; |
80 void LogMap(CMapDescriptor& aDescriptor) const; |
82 void LogSearchArguments(TSecurityObjectDescriptor& aDescriptor) const; |
81 void LogSearchArguments(TSecurityObjectDescriptor& aDescriptor) const; |
83 |
82 |
|
83 /** |
|
84 * Copies applicable data from aMapping to aCertInfo |
|
85 */ |
|
86 void CopyCertDataL( |
|
87 const CMapDescriptor& aMapping, TCertificateListEntry& aCertInfo |
|
88 ) const; |
|
89 |
84 private: // C'tor |
90 private: // C'tor |
85 |
91 |
86 CPKIMapper(); |
92 CPKIMapper(); |
87 void ConstructL(); |
93 void ConstructL(); |
88 |
94 |
89 private: // data |
95 private: // data |
90 TBool iCacheCreated; |
96 TBool iCacheCreated; |
91 TInt iCount; |
97 TInt iCount; |
92 /// Used when generating uniqname |
|
93 |
98 |
94 RPointerArray<CMapDescriptor>* iMapping; |
99 RPointerArray<CMapDescriptor>* iMapping; |
95 TPckgBuf<TSecurityObjectDescriptor> iCurrentDescriptor; |
100 TPckgBuf<TSecurityObjectDescriptor> iCurrentDescriptor; |
96 TBuf<MAX_FILENAME_LENGTH> iObjectName; |
101 TBuf<MAX_FILENAME_LENGTH> iObjectName; |
97 }; |
102 }; |