eapol/eapol_framework/eapol_symbian/am/type/tls_peap/symbian/plugin/inc/EapTlsPeap.h
equal
deleted
inserted
replaced
14 * Description: EAP and WLAN authentication protocols. |
14 * Description: EAP and WLAN authentication protocols. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 17.1.2 % |
19 * %version: 27 % |
20 */ |
20 */ |
21 |
21 |
22 #ifndef _EAPTLSPEAP_H_ |
22 #ifndef _EAPTLSPEAP_H_ |
23 #define _EAPTLSPEAP_H_ |
23 #define _EAPTLSPEAP_H_ |
24 |
24 |
25 // INCLUDES |
25 // INCLUDES |
26 #include <EapType.h> |
26 #include <EapTypePlugin.h> |
27 #include "eap_header.h" |
27 #include "eap_header.h" |
28 |
28 #if defined(USE_FAST_EAP_TYPE) |
|
29 #include "tls_application_eap_fast.h" |
|
30 #endif |
29 // CLASS DECLARATION |
31 // CLASS DECLARATION |
30 /** |
32 /** |
31 * Class that implements the generic EAP type interface. Implements EAP TLS protocol. |
33 * Class that implements the generic EAP type interface. Implements EAP TLS protocol. |
32 */ |
34 */ |
33 class CEapTlsPeap : public CEapType |
35 class CEapTlsPeap : public CEapTypePlugin |
34 { |
36 { |
35 public: |
37 public: |
36 |
38 |
37 /** |
39 /** |
38 * Construction function for TLS. Called by ECom after the DLL has been loaded. |
40 * Construction function for TLS. Called by ECom after the DLL has been loaded. |
118 const bool is_client_when_true, |
120 const bool is_client_when_true, |
119 const eap_am_network_id_c * const receive_network_id); |
121 const eap_am_network_id_c * const receive_network_id); |
120 |
122 |
121 #endif // #ifdef USE_EAP_SIMPLE_CONFIG |
123 #endif // #ifdef USE_EAP_SIMPLE_CONFIG |
122 |
124 |
123 /** |
125 |
124 * Invokes the configuration UI. |
|
125 **/ |
|
126 TInt InvokeUiL(); |
|
127 |
126 |
128 /** |
127 /** |
129 * Gets information about EAP type. |
128 * Gets information about EAP type. |
130 * @return Pointer to a class that contains the EAP type information. Also pushed to cleanup stack. |
129 * @return Pointer to a class that contains the EAP type information. Also pushed to cleanup stack. |
131 */ |
130 */ |
132 CEapTypeInfo* GetInfoLC(); |
131 CEapTypeInfo* GetInfoL(); |
133 |
132 |
134 /** |
133 /** |
135 * Deletes EAP type configuration |
134 * Deletes EAP type configuration |
136 */ |
135 */ |
137 void DeleteConfigurationL(); |
136 void DeleteConfigurationL(); |
149 /** |
148 /** |
150 * Sets the tunneling type. This is used to indicate that this type is run inside another |
149 * Sets the tunneling type. This is used to indicate that this type is run inside another |
151 * EAP type. |
150 * EAP type. |
152 * @param aTunnelingType Type number for the tunneling type |
151 * @param aTunnelingType Type number for the tunneling type |
153 */ |
152 */ |
154 void SetTunnelingType(const TInt aTunnelingType); |
153 void SetTunnelingType(const TEapExpandedType aTunnelingType); |
155 |
154 |
156 /** |
155 /** |
157 * Changes the index of the saved parameters. |
156 * Changes the index of the saved parameters. |
158 * @param aIndexType Indicates the bearer used for this connection. |
157 * @param aIndexType Indicates the bearer used for this connection. |
159 * @param aIndex Index for the connection. aIndexType and aIndex uniquely specify the connection. |
158 * @param aIndex Index for the connection. aIndexType and aIndex uniquely specify the connection. |
184 |
183 |
185 /** |
184 /** |
186 * Constructor initialises member variables. |
185 * Constructor initialises member variables. |
187 */ |
186 */ |
188 CEapTlsPeap(const TIndexType aIndexType, const TInt aIndex, const eap_type_value_e aEapType); |
187 CEapTlsPeap(const TIndexType aIndexType, const TInt aIndex, const eap_type_value_e aEapType); |
189 |
188 |
|
189 #if defined(USE_FAST_EAP_TYPE) |
|
190 tls_application_eap_fast_c* GetTlsInterfaceL(abs_eap_am_tools_c* const aTools, |
|
191 const bool is_client_when_true, |
|
192 const eap_am_network_id_c * const receive_network_id); |
|
193 #endif |
190 private: |
194 private: |
191 |
195 |
192 #ifdef USE_PAC_STORE |
196 #ifdef USE_PAC_STORE |
193 |
197 |
194 void UpdatePacStoreCleanupTableL(const TIndexType aIndexType, |
198 void UpdatePacStoreCleanupTableL(const TIndexType aIndexType, |
211 // Tunneling type |
215 // Tunneling type |
212 eap_type_value_e iTunnelingType; |
216 eap_type_value_e iTunnelingType; |
213 |
217 |
214 // EAP array for deleting and changing index |
218 // EAP array for deleting and changing index |
215 RImplInfoPtrArray iEapArray; |
219 RImplInfoPtrArray iEapArray; |
|
220 |
|
221 #if defined(USE_FAST_EAP_TYPE) |
|
222 tls_application_eap_fast_c* iApplication; |
|
223 #endif |
|
224 /// This is pointer to the tools class. |
|
225 abs_eap_am_tools_c * const m_am_tools; |
|
226 |
|
227 eap_base_type_c* iType; |
|
228 |
|
229 |
216 }; |
230 }; |
217 |
231 |
218 #endif // _EAPTLSPEAP_H_ |
232 #endif // _EAPTLSPEAP_H_ |
219 |
233 |
220 // End of file |
234 // End of file |