|
1 /* |
|
2 * ============================================================================ |
|
3 * Name : ./accesssec/eapol/eapol_framework/wapi_common/include/wai_usksa.h |
|
4 * Part of : WAPI / WAPI *** Info from the SWAD |
|
5 * Description : WAPI authentication |
|
6 * Version : %version: 6 % << 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.2 |
|
18 */ |
|
19 |
|
20 |
|
21 #if !defined(_WAI_USKSA_H_) |
|
22 #define _WAI_USKSA_H_ |
|
23 |
|
24 #include "eap_am_export.h" |
|
25 #include "abs_eap_am_tools.h" |
|
26 #include "wapi_types.h" |
|
27 |
|
28 |
|
29 class wai_usksa_c |
|
30 { |
|
31 private: |
|
32 //-------------------------------------------------- |
|
33 |
|
34 /// This is pointer to the tools class. |
|
35 abs_eap_am_tools_c * const m_am_tools; |
|
36 |
|
37 eap_variable_data_c m_USK; |
|
38 |
|
39 u8_t m_USKID; |
|
40 |
|
41 wai_unicast_cipher_suite_e m_unicast_cipher_suite; |
|
42 |
|
43 //-------------------------------------------------- |
|
44 public: |
|
45 //-------------------------------------------------- |
|
46 |
|
47 virtual ~wai_usksa_c(); |
|
48 |
|
49 wai_usksa_c(abs_eap_am_tools_c * const tools); |
|
50 |
|
51 bool get_is_valid() const; |
|
52 |
|
53 bool get_is_valid_data() const; |
|
54 |
|
55 |
|
56 u8_t get_USKID() const; |
|
57 |
|
58 eap_variable_data_c * get_USK(); |
|
59 |
|
60 wai_unicast_cipher_suite_e get_cipher_suite() const; |
|
61 |
|
62 |
|
63 void set_USKID(const u8_t USKID); |
|
64 |
|
65 void set_cipher_suite(const wai_unicast_cipher_suite_e cipher); |
|
66 |
|
67 //-------------------------------------------------- |
|
68 }; |
|
69 |
|
70 #endif //#if !defined(_WAI_USKSA_H_) |
|
71 |
|
72 // End of file. |