equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007 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: Class containing information about one public key |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef C_IKEPUBLICKEY_H |
|
21 #define C_IKEPUBLICKEY_H |
|
22 |
|
23 #include <e32base.h> |
|
24 #include "pkidefs.h" |
|
25 |
|
26 class CX509Certificate; |
|
27 |
|
28 /** |
|
29 * Class containing information about one public key. |
|
30 * Contains: key parameters, key data and key type info. |
|
31 * |
|
32 * @lib IkeCert.lib |
|
33 * @since S60 v3.0 |
|
34 */ |
|
35 class CIkePublicKey : public CBase |
|
36 { |
|
37 public: |
|
38 static CIkePublicKey* NewL(const CX509Certificate& aCert); |
|
39 ~CIkePublicKey(); |
|
40 |
|
41 TPKIKeyAlgorithm Algorithm() const; |
|
42 const TDesC8& KeyData() const; |
|
43 const TDesC8& KeyParams() const; |
|
44 |
|
45 private: |
|
46 CIkePublicKey(); |
|
47 |
|
48 HBufC8* iKeyParams; |
|
49 HBufC8* iKeyData; |
|
50 TPKIKeyAlgorithm iAlgorithm; |
|
51 }; |
|
52 |
|
53 #endif // ? C_PUBLICKEY_H |