eapol/eapol_framework/eapol_common/am/include/abs_eap_am_type_securid.h
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
equal deleted inserted replaced
47:712b4ffd76bb 49:43351a4f2da3
    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: 6.1.4 %
    20 */
    20 */
    21 
    21 
    22 #ifndef ABS_EAP_AM_TYPE_SECURID_H
    22 #ifndef ABS_EAP_AM_TYPE_SECURID_H
    23 #define ABS_EAP_AM_TYPE_SECURID_H
    23 #define ABS_EAP_AM_TYPE_SECURID_H
    24 
    24 
    25 #include "eap_status.h"
    25 #include "eap_status.h"
       
    26 #include "eap_am_export.h"
       
    27 // Start: added by script change_export_macros.sh.
       
    28 #if defined(EAP_NO_EXPORT_ABS_EAP_AM_TYPE_SECURID_H)
       
    29 	#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_TYPE_SECURID_H EAP_NONSHARABLE 
       
    30 	#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_TYPE_SECURID_H 
       
    31 	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_TYPE_SECURID_H 
       
    32 	#define EAP_FUNC_EXPORT_ABS_EAP_AM_TYPE_SECURID_H 
       
    33 	#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_TYPE_SECURID_H 
       
    34 #elif defined(EAP_EXPORT_ABS_EAP_AM_TYPE_SECURID_H)
       
    35 	#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_TYPE_SECURID_H EAP_EXPORT 
       
    36 	#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_TYPE_SECURID_H EAP_FUNC_EXPORT 
       
    37 	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_TYPE_SECURID_H EAP_C_FUNC_EXPORT 
       
    38 	#define EAP_FUNC_EXPORT_ABS_EAP_AM_TYPE_SECURID_H EAP_FUNC_EXPORT 
       
    39 	#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_TYPE_SECURID_H EAP_C_FUNC_EXPORT 
       
    40 #else
       
    41 	#define EAP_CLASS_VISIBILITY_ABS_EAP_AM_TYPE_SECURID_H EAP_IMPORT 
       
    42 	#define EAP_FUNC_VISIBILITY_ABS_EAP_AM_TYPE_SECURID_H EAP_FUNC_IMPORT 
       
    43 	#define EAP_C_FUNC_VISIBILITY_ABS_EAP_AM_TYPE_SECURID_H EAP_C_FUNC_IMPORT 
       
    44 	#define EAP_FUNC_EXPORT_ABS_EAP_AM_TYPE_SECURID_H 
       
    45 	#define EAP_C_FUNC_EXPORT_ABS_EAP_AM_TYPE_SECURID_H 
       
    46 #endif
       
    47 // End: added by script change_export_macros.sh.
       
    48 
    26 
    49 
    27 /// This class declares the functions adaptation module of GSMSIM MSCHAPv2 type
    50 /// This class declares the functions adaptation module of GSMSIM MSCHAPv2 type
    28 /// requires from the MSCHAPv2 EAP type.
    51 /// requires from the MSCHAPv2 EAP type.
    29 class EAP_EXPORT abs_eap_am_type_securid_c
    52 class EAP_CLASS_VISIBILITY_ABS_EAP_AM_TYPE_SECURID_H abs_eap_am_type_securid_c
    30 {
    53 {
    31 private:
    54 private:
    32 
    55 
    33 protected:
    56 protected:
    34 
    57 
    53 	virtual eap_status_e client_securid_complete_pincode_query(
    76 	virtual eap_status_e client_securid_complete_pincode_query(
    54 		const eap_variable_data_c * const pincode,
    77 		const eap_variable_data_c * const pincode,
    55 		const eap_variable_data_c * const passcode) = 0;
    78 		const eap_variable_data_c * const passcode) = 0;
    56 
    79 
    57 	virtual eap_status_e client_gtc_complete_user_input_query(
    80 	virtual eap_status_e client_gtc_complete_user_input_query(
       
    81 		const eap_variable_data_c * const identity_utf8,
    58 		const eap_variable_data_c * const response_utf8) = 0;
    82 		const eap_variable_data_c * const response_utf8) = 0;
    59 
    83 
    60 	virtual eap_status_e finish_unsuccessful_authentication(
    84 	virtual eap_status_e finish_unsuccessful_authentication(
    61 		const bool authentication_cancelled) = 0;
    85 		const bool authentication_cancelled) = 0;
    62 
    86