|
1 /* |
|
2 * Copyright (c) 2002-2004 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 "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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef REGISTRATIONREQ_H |
|
21 #define REGISTRATIONREQ_H |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 #include <hash.h> |
|
26 #include "RoapMessage.h" |
|
27 |
|
28 namespace Roap |
|
29 { |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * ?one_line_short_description. |
|
35 * ?other_description_lines |
|
36 * |
|
37 * @lib ?library |
|
38 * @since Series ?XX ?SeriesXX_version |
|
39 */ |
|
40 class CRegistrationReq : public CRoapMessage |
|
41 { |
|
42 public: // Constructors and destructor |
|
43 |
|
44 /** |
|
45 * Two-phased constructor. |
|
46 */ |
|
47 static CRegistrationReq* NewL(); |
|
48 |
|
49 /** |
|
50 * Destructor. |
|
51 */ |
|
52 virtual ~CRegistrationReq(); |
|
53 |
|
54 public: // New functions |
|
55 |
|
56 /** |
|
57 * ?member_description. |
|
58 * @since Series ?XX ?SeriesXX_version |
|
59 * @param ?arg1 ?description |
|
60 * @return ?description |
|
61 */ |
|
62 //?type ?member_function( ?type ?arg1 ); |
|
63 |
|
64 public: // Functions from base classes |
|
65 |
|
66 /** |
|
67 * From ?base_class ?member_description. |
|
68 * @since Series ?XX ?SeriesXX_version |
|
69 * @param ?arg1 ?description |
|
70 * @return ?description |
|
71 */ |
|
72 virtual HBufC8* MessageAsXmlL(void); |
|
73 |
|
74 protected: // New functions |
|
75 |
|
76 /** |
|
77 * ?member_description. |
|
78 * @since Series ?XX ?SeriesXX_version |
|
79 * @param ?arg1 ?description |
|
80 * @return ?description |
|
81 */ |
|
82 //?type ?member_function( ?type ?arg1 ); |
|
83 |
|
84 protected: // Functions from base classes |
|
85 |
|
86 /** |
|
87 * From ?base_class ?member_description |
|
88 */ |
|
89 //?type ?member_function(); |
|
90 |
|
91 private: |
|
92 |
|
93 /** |
|
94 * C++ default constructor. |
|
95 */ |
|
96 CRegistrationReq(); |
|
97 |
|
98 /** |
|
99 * By default Symbian 2nd phase constructor is private. |
|
100 */ |
|
101 void ConstructL(); |
|
102 |
|
103 // Prohibit copy constructor if not deriving from CBase. |
|
104 // CRegistrationReq( const CRegistrationReq& ); |
|
105 // Prohibit assigment operator if not deriving from CBase. |
|
106 // CRegistrationReq& operator=( const CRegistrationReq& ); |
|
107 |
|
108 public: // Data |
|
109 // ?one_line_short_description_of_data |
|
110 |
|
111 HBufC8* iSession; |
|
112 TBuf8<KDeviceNonceLength> iNonce; |
|
113 |
|
114 // Device time in UTC |
|
115 TTime iTime; |
|
116 RPointerArray<HBufC8> iCertificateChain; |
|
117 HBufC8* iServerInfo; |
|
118 HBufC8* iSignature; |
|
119 HBufC8* iDeviceDetailsManufacturer; |
|
120 HBufC8* iDeviceDetailsModel; |
|
121 HBufC8* iDeviceDetailsVersion; |
|
122 HBufC8* iOcspResponderKeyId; |
|
123 TBuf8<SHA1_HASH> iPeerKeyIdentifier; |
|
124 TBool iOcspInfoStored; |
|
125 RPointerArray<HBufC8> iTrustedAuthorities; |
|
126 |
|
127 // Optional nonce from the trigger |
|
128 HBufC8* iTriggerNonce; |
|
129 |
|
130 protected: // Data |
|
131 // ?one_line_short_description_of_data |
|
132 //?data_declaration; |
|
133 |
|
134 private: // Data |
|
135 // ?one_line_short_description_of_data |
|
136 //?data_declaration; |
|
137 |
|
138 // Reserved pointer for future extension |
|
139 //TAny* iReserved; |
|
140 |
|
141 public: // Friend classes |
|
142 //?friend_class_declaration; |
|
143 protected: // Friend classes |
|
144 //?friend_class_declaration; |
|
145 private: // Friend classes |
|
146 //?friend_class_declaration; |
|
147 |
|
148 }; |
|
149 } |
|
150 |
|
151 #endif // REGISTRATIONREQ_H |
|
152 |
|
153 // End of File |