14 * Description: EAP and WLAN authentication protocols. |
14 * Description: EAP and WLAN authentication protocols. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: % |
19 * %version: 23 % |
20 */ |
20 */ |
21 |
21 |
22 #ifndef _EAPTLSPEAPCERTINTERFACE_H_ |
22 #ifndef _EAPTLSPEAPCERTINTERFACE_H_ |
23 #define _EAPTLSPEAPCERTINTERFACE_H_ |
23 #define _EAPTLSPEAPCERTINTERFACE_H_ |
24 |
24 |
25 // INCLUDES |
25 // INCLUDES |
26 #include <e32base.h> |
26 #include <e32base.h> |
|
27 #include "eap_am_export.h" |
|
28 // Start: added by script change_export_macros.sh. |
|
29 #if defined(EAP_NO_EXPORT_EAPTLSPEAPCERTINTERFACE_H) |
|
30 #define EAP_CLASS_VISIBILITY_EAPTLSPEAPCERTINTERFACE_H EAP_NONSHARABLE |
|
31 #define EAP_FUNC_VISIBILITY_EAPTLSPEAPCERTINTERFACE_H |
|
32 #define EAP_C_FUNC_VISIBILITY_EAPTLSPEAPCERTINTERFACE_H |
|
33 #define EAP_FUNC_EXPORT_EAPTLSPEAPCERTINTERFACE_H |
|
34 #define EAP_C_FUNC_EXPORT_EAPTLSPEAPCERTINTERFACE_H |
|
35 #elif defined(EAP_EXPORT_EAPTLSPEAPCERTINTERFACE_H) |
|
36 #define EAP_CLASS_VISIBILITY_EAPTLSPEAPCERTINTERFACE_H EAP_EXPORT |
|
37 #define EAP_FUNC_VISIBILITY_EAPTLSPEAPCERTINTERFACE_H EAP_FUNC_EXPORT |
|
38 #define EAP_C_FUNC_VISIBILITY_EAPTLSPEAPCERTINTERFACE_H EAP_C_FUNC_EXPORT |
|
39 #define EAP_FUNC_EXPORT_EAPTLSPEAPCERTINTERFACE_H EAP_FUNC_EXPORT |
|
40 #define EAP_C_FUNC_EXPORT_EAPTLSPEAPCERTINTERFACE_H EAP_C_FUNC_EXPORT |
|
41 #else |
|
42 #define EAP_CLASS_VISIBILITY_EAPTLSPEAPCERTINTERFACE_H EAP_IMPORT |
|
43 #define EAP_FUNC_VISIBILITY_EAPTLSPEAPCERTINTERFACE_H EAP_FUNC_IMPORT |
|
44 #define EAP_C_FUNC_VISIBILITY_EAPTLSPEAPCERTINTERFACE_H EAP_C_FUNC_IMPORT |
|
45 #define EAP_FUNC_EXPORT_EAPTLSPEAPCERTINTERFACE_H |
|
46 #define EAP_C_FUNC_EXPORT_EAPTLSPEAPCERTINTERFACE_H |
|
47 #endif |
|
48 // End: added by script change_export_macros.sh. |
27 #include "eap_tools.h" |
49 #include "eap_tools.h" |
28 #include "eap_am_type_tls_peap_symbian.h" |
50 #include "eap_am_type_tls_peap_symbian.h" |
29 #include <unifiedcertstore.h> |
51 #include <unifiedcertstore.h> |
30 #include <mctwritablecertstore.h> |
52 #include <mctwritablecertstore.h> |
31 #include <unifiedkeystore.h> |
53 #include <unifiedkeystore.h> |
36 const TInt KMaxHashLength = 128; |
58 const TInt KMaxHashLength = 128; |
37 // FORWARD DECLARATIONS |
59 // FORWARD DECLARATIONS |
38 |
60 |
39 |
61 |
40 // CLASS DECLARATION |
62 // CLASS DECLARATION |
41 class CEapTlsPeapCertInterface |
63 class EAP_CLASS_VISIBILITY_EAPTLSPEAPCERTINTERFACE_H CEapTlsPeapCertInterface |
42 : public CActive |
64 : public CActive |
43 { |
65 { |
44 public: |
66 public: |
45 |
67 |
46 static CEapTlsPeapCertInterface* NewL(abs_eap_am_tools_c* const aTools, |
68 static CEapTlsPeapCertInterface* NewL(abs_eap_am_tools_c* const aTools, |