eapol/eapol_framework/eapol_common/type/aka/include/eap_type_aka_authentication_vector.h
changeset 0 c8830336c852
child 2 1c7bc153c08e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eapol/eapol_framework/eapol_common/type/aka/include/eap_type_aka_authentication_vector.h	Thu Dec 17 08:47:43 2009 +0200
@@ -0,0 +1,86 @@
+/*
+* 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(_EAP_TYPE_AKA_AUTHENTICATION_VECTOR_H_)
+#define _EAP_TYPE_AKA_AUTHENTICATION_VECTOR_H_
+
+//#include "eap_am_memory.h"
+#include "eap_tools.h"
+#include "eap_am_export.h"
+#include "eap_variable_data.h"
+
+//-----------------------------------------------
+
+class EAP_EXPORT eap_type_aka_authentication_vector_c
+{
+private:
+
+	abs_eap_am_tools_c * m_am_tools;
+
+	eap_variable_data_c m_RAND;
+	eap_variable_data_c m_AUTN;
+	eap_variable_data_c m_RES;
+	eap_variable_data_c m_CK;
+	eap_variable_data_c m_IK;
+	eap_variable_data_c m_AUTS;
+
+	eap_status_e m_vector_status;
+
+	bool m_is_valid;
+
+public:
+
+	EAP_FUNC_IMPORT virtual ~eap_type_aka_authentication_vector_c();
+
+	EAP_FUNC_IMPORT eap_type_aka_authentication_vector_c(
+		abs_eap_am_tools_c * const tools
+		);
+
+	EAP_FUNC_IMPORT eap_variable_data_c * get_RAND() const;
+
+	EAP_FUNC_IMPORT eap_variable_data_c * get_AUTN() const;
+
+	EAP_FUNC_IMPORT eap_variable_data_c * get_RES() const;
+
+	EAP_FUNC_IMPORT eap_variable_data_c * get_CK() const;
+
+	EAP_FUNC_IMPORT eap_variable_data_c * get_IK() const;
+
+	EAP_FUNC_IMPORT eap_variable_data_c * get_AUTS() const;
+
+	EAP_FUNC_IMPORT eap_type_aka_authentication_vector_c * copy() const;
+
+	EAP_FUNC_IMPORT void reset();
+
+	EAP_FUNC_IMPORT void set_vector_status(eap_status_e vector_status);
+
+	EAP_FUNC_IMPORT eap_status_e get_vector_status() const;
+
+	EAP_FUNC_IMPORT bool get_is_valid() const;
+};
+
+
+#endif //#if !defined(_EAP_TYPE_AKA_AUTHENTICATION_VECTOR_H_)
+
+//--------------------------------------------------
+
+
+
+// End.