|
1 /* |
|
2 * Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: EAP and WLAN authentication protocols. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #if !defined(_ABS_TLS_CHANGE_CIPHER_SPEC_H_) |
|
22 #define _ABS_TLS_CHANGE_CIPHER_SPEC_H_ |
|
23 |
|
24 #include "eap_am_export.h" |
|
25 |
|
26 /// This class declares the functions change cipher spec message class of TLS |
|
27 /// requires from the TLS. |
|
28 class EAP_EXPORT abs_tls_change_cipher_spec_c |
|
29 { |
|
30 private: |
|
31 //-------------------------------------------------- |
|
32 |
|
33 //-------------------------------------------------- |
|
34 protected: |
|
35 //-------------------------------------------------- |
|
36 |
|
37 //-------------------------------------------------- |
|
38 public: |
|
39 //-------------------------------------------------- |
|
40 |
|
41 /// Destructor does nothing. |
|
42 virtual ~abs_tls_change_cipher_spec_c() |
|
43 { |
|
44 } |
|
45 |
|
46 /// Constructor does nothing. |
|
47 abs_tls_change_cipher_spec_c() |
|
48 { |
|
49 } |
|
50 |
|
51 /** |
|
52 * This function indicates the cipher spec must be changed. |
|
53 */ |
|
54 virtual eap_status_e change_cipher_spec(const bool send_when_true) = 0; |
|
55 |
|
56 //-------------------------------------------------- |
|
57 }; // class abs_tls_change_cipher_spec_c |
|
58 |
|
59 #endif //#if !defined(_ABS_TLS_CHANGE_CIPHER_SPEC_H_) |
|
60 |
|
61 //-------------------------------------------------- |
|
62 |
|
63 |
|
64 |
|
65 // End. |