equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2003-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 "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: IPSec Proposal handling. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __IPSECPROPOSAL_H_ |
|
19 #define __IPSECPROPOSAL_H_ |
|
20 #include <e32base.h> |
|
21 |
|
22 class TPfkeyMessage; |
|
23 class TPayloadIkev2; |
|
24 class CIpsecSaSpecList; |
|
25 |
|
26 class IpsecProposal |
|
27 { |
|
28 public: |
|
29 static HBufC8* BuildIpsecSaRequestL(const TPfkeyMessage& aPfkeyMessage, TUint16 aDHGroup); |
|
30 static HBufC8* BuildIpsecSaRequestL(const TUint8 aSaType, |
|
31 const TUint8 aEncryptAlg, const TUint16 aEncryptMaxbits, |
|
32 const TUint8 aAuthAlg, const TUint16 aFlags, TUint16 aDHGroup); |
|
33 static HBufC8* BuildIpsecSaFromPolicyL(const CIpsecSaSpecList& aSaList, TUint16 aDhGroup); |
|
34 }; |
|
35 |
|
36 #endif |