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