eapol/eapol_framework/eapol_common/type/tls_peap/tls/include/abs_tls_apply_cipher_spec.h
changeset 0 c8830336c852
child 2 1c7bc153c08e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eapol/eapol_framework/eapol_common/type/tls_peap/tls/include/abs_tls_apply_cipher_spec.h	Thu Dec 17 08:47:43 2009 +0200
@@ -0,0 +1,68 @@
+/*
+* Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  EAP and WLAN authentication protocols.
+*
+*/
+
+
+
+
+#if !defined(_ABS_TLS_MESSAGE_RECORD_PROCESS_H_)
+#define _ABS_TLS_MESSAGE_RECORD_PROCESS_H_
+
+#include "eap_am_export.h"
+
+/// This class declares the functions message classes of TLS
+/// requires from the TLS.
+class EAP_EXPORT abs_tls_apply_cipher_spec_c
+{
+private:
+	//--------------------------------------------------
+
+	//--------------------------------------------------
+protected:
+	//--------------------------------------------------
+
+	//--------------------------------------------------
+public:
+	//--------------------------------------------------
+
+	/// Destructor does nothing.
+	virtual ~abs_tls_apply_cipher_spec_c()
+	{
+	}
+
+	/// Constructor does nothing.
+
+	abs_tls_apply_cipher_spec_c()
+	{
+	}
+
+	/**
+	 * This function applies the send cipher suite to record message.
+	 * @param tls_record_message_buffer includes the buffer of the whole TLS-record.
+	 */
+	virtual eap_status_e apply_send_cipher_suite(
+		eap_variable_data_c * const tls_record_message_buffer) = 0;
+
+	//--------------------------------------------------
+}; // class abs_tls_apply_cipher_spec_c
+
+#endif //#if !defined(_ABS_TLS_MESSAGE_RECORD_PROCESS_H_)
+
+//--------------------------------------------------
+
+
+
+// End.