|
1 /* |
|
2 * ============================================================================ |
|
3 * Name : ./accesssec/eapol/eapol_framework/wapi_common/wapi_core/dummy_wapi_core.cpp |
|
4 * Part of : WAPI / WAPI *** Info from the SWAD |
|
5 * Description : WAPI authentication |
|
6 * Version : %version: 11 % << Don't touch! Updated by Synergy at check-out. |
|
7 * |
|
8 * Copyright © 2001-2009 Nokia. All rights reserved. |
|
9 * This material, including documentation and any related computer |
|
10 * programs, is protected by copyright controlled by Nokia. All |
|
11 * rights are reserved. Copying, including reproducing, storing, |
|
12 * adapting or translating, any or all of this material requires the |
|
13 * prior written consent of Nokia. This material also contains |
|
14 * confidential information which may not be disclosed to others |
|
15 * without the prior written consent of Nokia. |
|
16 * ============================================================================ |
|
17 * Template version: 4.1.1 |
|
18 */ |
|
19 |
|
20 #include "eap_status.h" |
|
21 #include "eap_am_assert.h" |
|
22 #include "abs_eap_am_tools.h" |
|
23 #include "eap_am_types.h" |
|
24 #include "dummy_wapi_core.h" |
|
25 |
|
26 |
|
27 // Constructor |
|
28 dummy_wapi_core_c::dummy_wapi_core_c() |
|
29 { |
|
30 } |
|
31 |
|
32 // Destructor |
|
33 dummy_wapi_core_c::~dummy_wapi_core_c() |
|
34 { |
|
35 } |
|
36 |
|
37 // Returns the status of the object |
|
38 bool dummy_wapi_core_c::get_is_valid() |
|
39 { |
|
40 return true; |
|
41 } |
|
42 |
|
43 /******************************************************************** |
|
44 * No functionality for inherited function |
|
45 ********************************************************************/ |
|
46 |
|
47 eap_status_e dummy_wapi_core_c::set_timer( |
|
48 abs_eap_base_timer_c * const p_initializer, |
|
49 const u32_t p_id, |
|
50 void * const p_data, |
|
51 const u32_t p_time_ms) |
|
52 { |
|
53 return eap_status_not_found; |
|
54 } |
|
55 |
|
56 |
|
57 /******************************************************************** |
|
58 * No functionality for inherited function |
|
59 ********************************************************************/ |
|
60 eap_status_e dummy_wapi_core_c::cancel_timer( abs_eap_base_timer_c* const initializer, |
|
61 const u32_t id) |
|
62 { |
|
63 return eap_status_not_found; |
|
64 } |
|
65 |
|
66 /******************************************************************** |
|
67 * No functionality for inherited function |
|
68 ********************************************************************/ |
|
69 eap_status_e dummy_wapi_core_c::set_session_timeout(const u32_t session_timeout_ms) |
|
70 { |
|
71 return eap_status_not_found; |
|
72 } |
|
73 |
|
74 |
|
75 /************************************************************ |
|
76 ********Inhertited from abs_ec_certificate_store_c ********* |
|
77 ************************************************************/ |
|
78 |
|
79 /******************************************************************** |
|
80 * No functionality for inherited function |
|
81 ********************************************************************/ |
|
82 eap_status_e dummy_wapi_core_c::complete_get_own_certificate( |
|
83 const eap_variable_data_c * const own_certificate) |
|
84 { |
|
85 return eap_status_not_found; |
|
86 } |
|
87 |
|
88 /******************************************************************** |
|
89 * No functionality for inherited function |
|
90 ********************************************************************/ |
|
91 eap_status_e dummy_wapi_core_c::complete_query_asu_id( |
|
92 const eap_variable_data_c * const asn1_der_subject_name, |
|
93 const eap_variable_data_c * const asn1_der_issuer_name, |
|
94 const eap_variable_data_c * const asn1_der_sequence_number, |
|
95 const eap_status_e id_status) |
|
96 { |
|
97 return eap_status_not_found; |
|
98 } |
|
99 |
|
100 /******************************************************************** |
|
101 * No functionality for inherited function |
|
102 ********************************************************************/ |
|
103 eap_status_e dummy_wapi_core_c::complete_select_certificate( |
|
104 const eap_variable_data_c * const issuer_ID, |
|
105 const eap_variable_data_c * const certificate_ID, |
|
106 const eap_variable_data_c * const certificate) |
|
107 { |
|
108 return eap_status_not_found; |
|
109 } |
|
110 |
|
111 /******************************************************************** |
|
112 * No functionality for inherited function |
|
113 ********************************************************************/ |
|
114 eap_status_e dummy_wapi_core_c::complete_read_id_of_certificate( |
|
115 const eap_variable_data_c * const ID) |
|
116 { |
|
117 return eap_status_not_found; |
|
118 } |
|
119 |
|
120 /******************************************************************** |
|
121 * No functionality for inherited function |
|
122 ********************************************************************/ |
|
123 eap_status_e dummy_wapi_core_c::complete_create_signature_with_private_key( |
|
124 const eap_variable_data_c * const signature, |
|
125 const eap_status_e signature_status) |
|
126 { |
|
127 return eap_status_not_found; |
|
128 } |
|
129 |
|
130 /******************************************************************** |
|
131 * No functionality for inherited function |
|
132 ********************************************************************/ |
|
133 eap_status_e dummy_wapi_core_c::complete_verify_signature_with_public_key( |
|
134 const eap_status_e verification_status) |
|
135 { |
|
136 return eap_status_not_found; |
|
137 } |
|
138 |
|
139 /******************************************************************** |
|
140 * No functionality for inherited function |
|
141 ********************************************************************/ |
|
142 eap_status_e dummy_wapi_core_c::complete_create_ecdh_temporary_keys( |
|
143 const eap_variable_data_c * const private_key_d, |
|
144 const eap_variable_data_c * const public_key_x, |
|
145 const eap_variable_data_c * const public_key_y) |
|
146 { |
|
147 return eap_status_not_found; |
|
148 } |
|
149 |
|
150 /******************************************************************** |
|
151 * No functionality for inherited function |
|
152 ********************************************************************/ |
|
153 eap_status_e dummy_wapi_core_c::complete_create_ecdh( |
|
154 const eap_variable_data_c * const K_AB_x4, |
|
155 const eap_variable_data_c * const K_AB_y4) |
|
156 { |
|
157 return eap_status_not_found; |
|
158 } |
|
159 |
|
160 /******************************************************************** |
|
161 * No functionality for inherited function |
|
162 ********************************************************************/ |
|
163 void dummy_wapi_core_c::state_notification( const abs_eap_state_notification_c * const state) |
|
164 { |
|
165 return; |
|
166 } |
|
167 |
|
168 /******************************************************************** |
|
169 * No functionality for inherited function |
|
170 ********************************************************************/ |
|
171 eap_status_e dummy_wapi_core_c::read_configure( |
|
172 const eap_configuration_field_c * const field, |
|
173 eap_variable_data_c * const data) |
|
174 { |
|
175 return eap_status_not_found; |
|
176 } |
|
177 |
|
178 |
|
179 |