eapol/eapol_framework/eapol_symbian/am/include/eaptlspeap_db_api_inc/EapTlsPeapUiCipherSuite.h
equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2001-2006 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 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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: EAP and WLAN authentication protocols. |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: % |
|
20 */ |
|
21 |
|
22 #ifndef _EAPTLSPEAPUICIPHERSUITE_H_ |
|
23 #define _EAPTLSPEAPUICIPHERSUITE_H_ |
|
24 |
|
25 #include <e32std.h> |
|
26 |
|
27 class TEapTlsPeapUiCipherSuite |
|
28 { |
|
29 public: |
|
30 |
|
31 TEapTlsPeapUiCipherSuite() |
|
32 : iIsEnabled(EFalse) |
|
33 , iCipherSuite(0ul) |
|
34 { |
|
35 } |
|
36 |
|
37 virtual ~TEapTlsPeapUiCipherSuite() |
|
38 { |
|
39 } |
|
40 |
|
41 void SetIsEnabled(const TBool aIsEnabled) |
|
42 { |
|
43 iIsEnabled = aIsEnabled; |
|
44 } |
|
45 |
|
46 void SetCipherSuite(const TUint aCipherSuite) |
|
47 { |
|
48 iCipherSuite = aCipherSuite; |
|
49 } |
|
50 |
|
51 TBool GetIsEnabled() |
|
52 { |
|
53 return iIsEnabled; |
|
54 } |
|
55 |
|
56 TUint GetCipherSuite() |
|
57 { |
|
58 return iCipherSuite; |
|
59 } |
|
60 |
|
61 private: |
|
62 |
|
63 TBool iIsEnabled; |
|
64 TUint iCipherSuite; |
|
65 }; |
|
66 |
|
67 #endif //_EAPTLSPEAPUICIPHERSUITE_H_ |
|
68 |
|
69 // End of file |
|