eapol/eapol_framework/eapol_common/type/simple_config/simple_config/include/simple_config_credential.h
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2001-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: EAP and WLAN authentication protocols. |
14 * Description: This class defines Credential attributes for protected setup (previously known as simple config). |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 4.1.2 % |
19 * %version: 9 % |
20 */ |
20 */ |
21 |
21 |
22 #if !defined(_SIMPLE_CONFIG_CREDENTIAL_H_) |
22 #if !defined(_SIMPLE_CONFIG_CREDENTIAL_H_) |
23 #define _SIMPLE_CONFIG_CREDENTIAL_H_ |
23 #define _SIMPLE_CONFIG_CREDENTIAL_H_ |
24 |
24 |
31 |
31 |
32 |
32 |
33 //---------------------------------------------------------------------------- |
33 //---------------------------------------------------------------------------- |
34 |
34 |
35 |
35 |
36 /// This class defines Credential attributes. |
36 /// This class defines Credential attributes for protected setup (previously known as simple config). |
37 class EAP_EXPORT simple_config_credential_c |
37 class EAP_EXPORT simple_config_credential_c |
38 { |
38 { |
39 private: |
39 private: |
40 //-------------------------------------------------- |
40 //-------------------------------------------------- |
41 |
41 |
71 EAP_FUNC_IMPORT simple_config_credential_c( |
71 EAP_FUNC_IMPORT simple_config_credential_c( |
72 abs_eap_am_tools_c * const tools); |
72 abs_eap_am_tools_c * const tools); |
73 |
73 |
74 EAP_FUNC_IMPORT void set_network_index(const u8_t index); |
74 EAP_FUNC_IMPORT void set_network_index(const u8_t index); |
75 |
75 |
76 EAP_FUNC_IMPORT u8_t get_network_index(); |
76 EAP_FUNC_IMPORT u8_t get_network_index() const; |
77 |
77 |
78 EAP_FUNC_IMPORT eap_variable_data_c * get_SSID(); |
78 EAP_FUNC_IMPORT eap_variable_data_c * get_SSID(); |
|
79 |
|
80 EAP_FUNC_IMPORT const eap_variable_data_c * get_SSID_const() const; |
79 |
81 |
80 EAP_FUNC_IMPORT simple_config_Authentication_Type_e get_Authentication_Type(); |
82 EAP_FUNC_IMPORT simple_config_Authentication_Type_e get_Authentication_Type(); |
81 |
83 |
82 EAP_FUNC_IMPORT void set_Authentication_Type(const simple_config_Authentication_Type_e Authentication_Type); |
84 EAP_FUNC_IMPORT void set_Authentication_Type(const simple_config_Authentication_Type_e Authentication_Type); |
83 |
85 |
85 |
87 |
86 EAP_FUNC_IMPORT void set_Encryption_Type(const simple_config_Encryption_Type_e Encryption_Type); |
88 EAP_FUNC_IMPORT void set_Encryption_Type(const simple_config_Encryption_Type_e Encryption_Type); |
87 |
89 |
88 EAP_FUNC_IMPORT eap_array_c<network_key_and_index_c> * get_network_keys(); |
90 EAP_FUNC_IMPORT eap_array_c<network_key_and_index_c> * get_network_keys(); |
89 |
91 |
|
92 EAP_FUNC_IMPORT const eap_array_c<network_key_and_index_c> * get_network_keys_const() const; |
|
93 |
90 EAP_FUNC_IMPORT eap_variable_data_c * get_MAC_address(); |
94 EAP_FUNC_IMPORT eap_variable_data_c * get_MAC_address(); |
|
95 |
|
96 EAP_FUNC_IMPORT const eap_variable_data_c * get_MAC_address_const() const; |
91 |
97 |
92 EAP_FUNC_IMPORT bool get_is_valid(); |
98 EAP_FUNC_IMPORT bool get_is_valid(); |
93 |
99 |
94 // |
100 // |
95 //-------------------------------------------------- |
101 //-------------------------------------------------- |