eapol/eapol_framework/eapol_common/include/abs_eap_pac_store_message.h
branchRCL_3
changeset 18 bad0cc58d154
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eapol/eapol_framework/eapol_common/include/abs_eap_pac_store_message.h	Tue Aug 31 15:16:37 2010 +0300
@@ -0,0 +1,97 @@
+/*
+* 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.
+*
+*/
+
+/*
+* %version: %
+*/
+
+#if !defined(_ABS_EAP_PAC_STORE_MESSAGE_H_)
+#define _ABS_EAP_PAC_STORE_MESSAGE_H_
+
+#include "eap_tools.h"
+#include "eap_am_export.h"
+
+class eap_method_settings_c;
+
+/// This class defines the interface the eap_core_c class
+/// will use with the partner class (lower layer).
+class EAP_EXPORT abs_eap_pac_store_message_c
+{
+private:
+	//--------------------------------------------------
+
+	//--------------------------------------------------
+protected:
+	//--------------------------------------------------
+
+	//--------------------------------------------------
+public:
+	//--------------------------------------------------
+
+	/**
+	 * The destructor of the abs_eap_core class does nothing special.
+	 */
+	virtual ~abs_eap_pac_store_message_c()
+	{
+	}
+
+	/**
+	 * The constructor of the abs_eap_core class does nothing special.
+	 */
+	abs_eap_pac_store_message_c()
+	{
+	}
+
+	virtual eap_status_e complete_open_pac_store(
+		const eap_status_e completion_status) = 0;
+
+	virtual eap_status_e complete_create_device_seed(
+		const eap_status_e completion_status) = 0;
+
+	virtual eap_status_e complete_is_master_key_present(
+	  bool is_present
+		,const eap_status_e completion_status) = 0;
+
+	virtual eap_status_e complete_is_master_key_and_password_matching(
+	  bool is_matching
+		,const eap_status_e completion_status) = 0;
+
+	virtual eap_status_e complete_create_and_save_master_key(
+		const eap_status_e completion_status) = 0;
+
+	virtual eap_status_e complete_compare_pac_store_password(
+		bool is_matching) = 0;
+
+	virtual eap_status_e complete_is_pacstore_password_present(
+		bool is_present) = 0;
+
+	virtual eap_status_e complete_set_pac_store_password(
+		const eap_status_e completion_status) = 0;
+
+	virtual eap_status_e complete_destroy_pac_store(
+		const eap_status_e completion_status) = 0;
+
+	//--------------------------------------------------
+}; // class abs_eap_pac_store_message_c
+
+#endif //#if !defined(_ABS_EAP_PAC_STORE_MESSAGE_H_)
+
+//--------------------------------------------------
+
+
+
+// End.