|
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 JOINDOMAINRESP_H |
|
21 #define JOINDOMAINRESP_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <hash.h> |
|
25 #include "RoapMessage.h" |
|
26 #include "DrmRightsClient.h" |
|
27 |
|
28 namespace Roap |
|
29 { |
|
30 |
|
31 // CONSTANTS |
|
32 //const ?type ?constant_var = ?constant; |
|
33 |
|
34 // MACROS |
|
35 //#define ?macro ?macro_def |
|
36 |
|
37 // DATA TYPES |
|
38 //enum ?declaration |
|
39 //typedef ?declaration |
|
40 //extern ?data_type; |
|
41 |
|
42 // FUNCTION PROTOTYPES |
|
43 //?type ?function_name(?arg_list); |
|
44 |
|
45 // FORWARD DECLARATIONS |
|
46 //class ?FORWARD_CLASSNAME; |
|
47 |
|
48 // CLASS DECLARATION |
|
49 |
|
50 /** |
|
51 * ?one_line_short_description. |
|
52 * ?other_description_lines |
|
53 * |
|
54 * @lib ?library |
|
55 * @since Series ?XX ?SeriesXX_version |
|
56 */ |
|
57 class CJoinDomainResp : public CRoapMessage |
|
58 { |
|
59 public: // Constructors and destructor |
|
60 |
|
61 /** |
|
62 * Two-phased constructor. |
|
63 */ |
|
64 static CJoinDomainResp* NewL(); |
|
65 |
|
66 /** |
|
67 * Destructor. |
|
68 */ |
|
69 virtual ~CJoinDomainResp(); |
|
70 |
|
71 public: // New functions |
|
72 |
|
73 /** |
|
74 * ?member_description. |
|
75 * @since Series ?XX ?SeriesXX_version |
|
76 * @param ?arg1 ?description |
|
77 * @return ?description |
|
78 */ |
|
79 //?type ?member_function( ?type ?arg1 ); |
|
80 |
|
81 public: // Functions from base classes |
|
82 |
|
83 /** |
|
84 * From ?base_class ?member_description. |
|
85 * @since Series ?XX ?SeriesXX_version |
|
86 * @param ?arg1 ?description |
|
87 * @return ?description |
|
88 */ |
|
89 //?type ?member_function( ?type ?arg1 ); |
|
90 |
|
91 protected: // New functions |
|
92 |
|
93 /** |
|
94 * ?member_description. |
|
95 * @since Series ?XX ?SeriesXX_version |
|
96 * @param ?arg1 ?description |
|
97 * @return ?description |
|
98 */ |
|
99 //?type ?member_function( ?type ?arg1 ); |
|
100 |
|
101 protected: // Functions from base classes |
|
102 |
|
103 /** |
|
104 * From ?base_class ?member_description |
|
105 */ |
|
106 //?type ?member_function(); |
|
107 |
|
108 private: |
|
109 |
|
110 /** |
|
111 * C++ default constructor. |
|
112 */ |
|
113 CJoinDomainResp(); |
|
114 |
|
115 /** |
|
116 * By default Symbian 2nd phase constructor is private. |
|
117 */ |
|
118 void ConstructL(); |
|
119 |
|
120 // Prohibit copy constructor if not deriving from CBase. |
|
121 // CJoinDomainResp( const CJoinDomainResp& ); |
|
122 // Prohibit assigment operator if not deriving from CBase. |
|
123 // CJoinDomainResp& operator=( const CJoinDomainResp& ); |
|
124 |
|
125 public: // Data |
|
126 // ?one_line_short_description_of_data |
|
127 TRoapStatus iStatus; |
|
128 TBuf8<SHA1_HASH> iDeviceId; |
|
129 TBuf8<SHA1_HASH> iRiId; |
|
130 TBuf8<SHA1_HASH> iDomainKeyRiId; |
|
131 RPointerArray<HBufC8> iMacs; |
|
132 |
|
133 TTime iDomainExpiration; |
|
134 TBool iHashChainSupport; |
|
135 RPointerArray<HBufC8> iDomainKeys; |
|
136 RPointerArray<HBufC8> iCertificateChain; |
|
137 RPointerArray<HBufC8> iOcspResponse; |
|
138 HBufC8* iSignature; |
|
139 HBufC8* iErrorUrl; |
|
140 RPointerArray<HBufC8> iDomainKeyIDs; |
|
141 TKeyTransportScheme iTransportScheme; |
|
142 |
|
143 protected: // Data |
|
144 // ?one_line_short_description_of_data |
|
145 //?data_declaration; |
|
146 |
|
147 private: // Data |
|
148 // ?one_line_short_description_of_data |
|
149 //?data_declaration; |
|
150 |
|
151 // Reserved pointer for future extension |
|
152 //TAny* iReserved; |
|
153 |
|
154 public: // Friend classes |
|
155 //?friend_class_declaration; |
|
156 protected: // Friend classes |
|
157 //?friend_class_declaration; |
|
158 private: // Friend classes |
|
159 //?friend_class_declaration; |
|
160 |
|
161 }; |
|
162 } |
|
163 |
|
164 #endif // JOINDOMAINRESP_H |
|
165 |
|
166 // End of File |