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: 7 % |
20 */ |
20 */ |
21 |
21 |
22 #if !defined(_ABS_EAP_AM_PAC_STORE_H_) |
22 #if !defined(_ABS_EAP_AM_PAC_STORE_H_) |
23 #define _ABS_EAP_AM_PAC_STORE_H_ |
23 #define _ABS_EAP_AM_PAC_STORE_H_ |
24 |
24 |
25 #include "eap_tools.h" |
25 #include "eap_tools.h" |
26 #include "eap_status.h" |
26 #include "eap_status.h" |
27 #include "eap_am_export.h" |
27 #include "eap_am_export.h" |
|
28 // Start: added by script change_export_macros.sh. |
|
29 #if defined(EAP_NO_EXPORT_ABS_EAP_AM_PAC_STORE_H) |
|
30 #define EAP_CLASS_VISIBILITY_ABS_EAP_AM_PAC_STORE_H EAP_NONSHARABLE |
|
31 #define EAP_FUNC_VISIBILITY_ABS_EAP_AM_PAC_STORE_H |
|
32 #define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_PAC_STORE_H |
|
33 #define EAP_FUNC_EXPORT_ABS_EAP_AM_PAC_STORE_H |
|
34 #define EAP_C_FUNC_EXPORT_ABS_EAP_AM_PAC_STORE_H |
|
35 #elif defined(EAP_EXPORT_ABS_EAP_AM_PAC_STORE_H) |
|
36 #define EAP_CLASS_VISIBILITY_ABS_EAP_AM_PAC_STORE_H EAP_EXPORT |
|
37 #define EAP_FUNC_VISIBILITY_ABS_EAP_AM_PAC_STORE_H EAP_FUNC_EXPORT |
|
38 #define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_PAC_STORE_H EAP_C_FUNC_EXPORT |
|
39 #define EAP_FUNC_EXPORT_ABS_EAP_AM_PAC_STORE_H EAP_FUNC_EXPORT |
|
40 #define EAP_C_FUNC_EXPORT_ABS_EAP_AM_PAC_STORE_H EAP_C_FUNC_EXPORT |
|
41 #else |
|
42 #define EAP_CLASS_VISIBILITY_ABS_EAP_AM_PAC_STORE_H EAP_IMPORT |
|
43 #define EAP_FUNC_VISIBILITY_ABS_EAP_AM_PAC_STORE_H EAP_FUNC_IMPORT |
|
44 #define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_PAC_STORE_H EAP_C_FUNC_IMPORT |
|
45 #define EAP_FUNC_EXPORT_ABS_EAP_AM_PAC_STORE_H |
|
46 #define EAP_C_FUNC_EXPORT_ABS_EAP_AM_PAC_STORE_H |
|
47 #endif |
|
48 // End: added by script change_export_macros.sh. |
28 |
49 |
29 /** @file */ |
50 /** @file */ |
30 |
51 |
31 /// This class is the common part of EAP message interface. |
52 /// This class is the common part of EAP message interface. |
32 /// This class is interface to the message creation and parsing function. |
53 /// This class is interface to the message creation and parsing function. |
33 class EAP_EXPORT abs_eap_am_pac_store_c |
54 class EAP_CLASS_VISIBILITY_ABS_EAP_AM_PAC_STORE_H abs_eap_am_pac_store_c |
34 { |
55 { |
35 |
56 |
36 private: |
57 private: |
37 |
58 |
38 // ---------------------------------------------------------------------- |
59 // ---------------------------------------------------------------------- |
40 public: |
61 public: |
41 |
62 |
42 virtual ~abs_eap_am_pac_store_c() |
63 virtual ~abs_eap_am_pac_store_c() |
43 { |
64 { |
44 } |
65 } |
45 |
|
46 virtual eap_status_e complete_open_pac_store( |
|
47 const eap_status_e completion_status) = 0; |
|
48 |
|
49 virtual eap_status_e complete_create_device_seed( |
|
50 const eap_status_e completion_status) = 0; |
|
51 |
66 |
52 virtual eap_status_e complete_is_master_key_present( |
67 virtual eap_status_e complete_is_master_key_present( |
53 const bool is_present) = 0; |
68 const bool is_present) = 0; |
54 |
69 |
55 virtual eap_status_e complete_is_master_key_and_password_matching( |
70 virtual eap_status_e complete_is_master_key_and_password_matching( |