eapol/eapol_framework/eapol_common/type/tls_peap/tls/include/abs_tls_apply_cipher_spec.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_TLS_MESSAGE_RECORD_PROCESS_H_)
       
    22 #define _ABS_TLS_MESSAGE_RECORD_PROCESS_H_
       
    23 
       
    24 #include "eap_am_export.h"
       
    25 
       
    26 /// This class declares the functions message classes of TLS
       
    27 /// requires from the TLS.
       
    28 class EAP_EXPORT abs_tls_apply_cipher_spec_c
       
    29 {
       
    30 private:
       
    31 	//--------------------------------------------------
       
    32 
       
    33 	//--------------------------------------------------
       
    34 protected:
       
    35 	//--------------------------------------------------
       
    36 
       
    37 	//--------------------------------------------------
       
    38 public:
       
    39 	//--------------------------------------------------
       
    40 
       
    41 	/// Destructor does nothing.
       
    42 	virtual ~abs_tls_apply_cipher_spec_c()
       
    43 	{
       
    44 	}
       
    45 
       
    46 	/// Constructor does nothing.
       
    47 
       
    48 	abs_tls_apply_cipher_spec_c()
       
    49 	{
       
    50 	}
       
    51 
       
    52 	/**
       
    53 	 * This function applies the send cipher suite to record message.
       
    54 	 * @param tls_record_message_buffer includes the buffer of the whole TLS-record.
       
    55 	 */
       
    56 	virtual eap_status_e apply_send_cipher_suite(
       
    57 		eap_variable_data_c * const tls_record_message_buffer) = 0;
       
    58 
       
    59 	//--------------------------------------------------
       
    60 }; // class abs_tls_apply_cipher_spec_c
       
    61 
       
    62 #endif //#if !defined(_ABS_TLS_MESSAGE_RECORD_PROCESS_H_)
       
    63 
       
    64 //--------------------------------------------------
       
    65 
       
    66 
       
    67 
       
    68 // End.