eapol/eapol_framework/eapol_common/am/include/abs_eap_am_type_tls_peap.h
changeset 0 c8830336c852
child 2 1c7bc153c08e
equal deleted inserted replaced
-1:000000000000 0:c8830336c852
       
     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 
       
    20 
       
    21 #if !defined(_ABS_EAP_AM_TYPE_TLS_PEAP_H_)
       
    22 #define _ABS_EAP_AM_TYPE_TLS_PEAP_H_
       
    23 
       
    24 #include "eap_am_export.h"
       
    25 
       
    26 class eap_am_network_id_c;
       
    27 
       
    28 
       
    29 /// This class declares the functions adaptation module of EAP-TLS/PEAP EAP type
       
    30 /// requires from the EAP-TLS/PEAP EAP type.
       
    31 class EAP_EXPORT abs_eap_am_type_tls_peap_c
       
    32 {
       
    33 private:
       
    34 	//--------------------------------------------------
       
    35 
       
    36 	//--------------------------------------------------
       
    37 protected:
       
    38 	//--------------------------------------------------
       
    39 
       
    40 	//--------------------------------------------------
       
    41 public:
       
    42 	//--------------------------------------------------
       
    43 
       
    44 	// 
       
    45 	virtual ~abs_eap_am_type_tls_peap_c()
       
    46 	{
       
    47 	}
       
    48 
       
    49 	// 
       
    50 	abs_eap_am_type_tls_peap_c()
       
    51 	{
       
    52 	}
       
    53 
       
    54 	virtual bool get_is_client() = 0;
       
    55 
       
    56 	/** Client adaptation module of EAP-TLS/PEAP type calls this function.
       
    57 	 *  AM gives identity to EAP-TLS/PEAP type.
       
    58 	 *  This function completes asyncronously query_eap_identity() function call.
       
    59 	 *  The parameter completion_status must be eap_status_ok when query is successfull.
       
    60 	 */
       
    61 	virtual eap_status_e complete_eap_identity_query(
       
    62 		const eap_variable_data_c * const user_certificate_identity,
       
    63 		const eap_am_network_id_c * const receive_network_id,
       
    64 		const u8_t eap_identifier,
       
    65 		const eap_status_e completion_status,
       
    66 		const bool use_manual_username,
       
    67 		const eap_variable_data_c * const manual_username,
       
    68 		const bool use_manual_realm,
       
    69 		const eap_variable_data_c * const manual_realm
       
    70 		) = 0;
       
    71 
       
    72 
       
    73 	//--------------------------------------------------
       
    74 }; // class abs_eap_am_type_tls_peap_c
       
    75 
       
    76 #endif //#if !defined(_ABS_EAP_AM_TYPE_TLS_PEAP_H_)
       
    77 
       
    78 //--------------------------------------------------
       
    79 
       
    80 
       
    81 
       
    82 // End.