equal
deleted
inserted
replaced
25 #include <hash.h> |
25 #include <hash.h> |
26 #include <Oma2Agent.h> |
26 #include <Oma2Agent.h> |
27 #include "RoapMessage.h" |
27 #include "RoapMessage.h" |
28 #include "RoapDef.h" |
28 #include "RoapDef.h" |
29 #include "OmaCrypto.h" |
29 #include "OmaCrypto.h" |
30 #include "CMLACrypto.h" |
30 #include "CmlaCrypto.h" |
31 |
31 |
32 namespace Roap |
32 namespace Roap |
33 { |
33 { |
34 |
34 |
35 // CLASS DECLARATION |
35 // CLASS DECLARATION |
42 * @since Series ?XX ?SeriesXX_version |
42 * @since Series ?XX ?SeriesXX_version |
43 */ |
43 */ |
44 NONSHARABLE_CLASS( CMeteringReportReq ): public CRoapMessage |
44 NONSHARABLE_CLASS( CMeteringReportReq ): public CRoapMessage |
45 { |
45 { |
46 public: // Constructors and destructor |
46 public: // Constructors and destructor |
47 |
47 |
48 /** |
48 /** |
49 * Two-phased constructor. |
49 * Two-phased constructor. |
50 */ |
50 */ |
51 static CMeteringReportReq* NewL(); |
51 static CMeteringReportReq* NewL(); |
52 |
52 |
53 /** |
53 /** |
54 * Destructor. |
54 * Destructor. |
55 */ |
55 */ |
56 virtual ~CMeteringReportReq(); |
56 virtual ~CMeteringReportReq(); |
57 |
57 |
58 public: // New functions |
58 public: // New functions |
59 |
59 |
60 /** |
60 /** |
61 * ?member_description. |
61 * ?member_description. |
62 * @since Series ?XX ?SeriesXX_version |
62 * @since Series ?XX ?SeriesXX_version |
63 * @param ?arg1 ?description |
63 * @param ?arg1 ?description |
64 * @return ?description |
64 * @return ?description |
80 * @since Series ?XX ?SeriesXX_version |
80 * @since Series ?XX ?SeriesXX_version |
81 * @param ?arg1 ?description |
81 * @param ?arg1 ?description |
82 * @return ?description |
82 * @return ?description |
83 */ |
83 */ |
84 virtual HBufC8* MessageAsXmlL(void); |
84 virtual HBufC8* MessageAsXmlL(void); |
85 |
85 |
86 protected: // New functions |
86 protected: // New functions |
87 |
87 |
88 /** |
88 /** |
89 * ?member_description. |
89 * ?member_description. |
90 * @since Series ?XX ?SeriesXX_version |
90 * @since Series ?XX ?SeriesXX_version |
91 * @param ?arg1 ?description |
91 * @param ?arg1 ?description |
92 * @return ?description |
92 * @return ?description |
93 */ |
93 */ |
94 //?type ?member_function( ?type ?arg1 ); |
94 //?type ?member_function( ?type ?arg1 ); |
95 |
95 |
96 protected: // Functions from base classes |
96 protected: // Functions from base classes |
97 |
97 |
98 /** |
98 /** |
99 * From ?base_class ?member_description |
99 * From ?base_class ?member_description |
100 */ |
100 */ |
101 //?type ?member_function(); |
101 //?type ?member_function(); |
102 |
102 |
128 TTime iTime; |
128 TTime iTime; |
129 RPointerArray<HBufC8> iCertificateChain; |
129 RPointerArray<HBufC8> iCertificateChain; |
130 HBufC8* iSignature; |
130 HBufC8* iSignature; |
131 HBufC8* iCipherValue; |
131 HBufC8* iCipherValue; |
132 HBufC8* iEncryptedMekAndMak; |
132 HBufC8* iEncryptedMekAndMak; |
133 HBufC8* iMac; |
133 HBufC8* iMac; |
134 // Optional nonce from the trigger |
134 // Optional nonce from the trigger |
135 HBufC8* iTriggerNonce; |
135 HBufC8* iTriggerNonce; |
136 TKeyTransportScheme iAlgorithmInUse; |
136 TKeyTransportScheme iAlgorithmInUse; |
137 |
137 |
138 protected: // Data |
138 protected: // Data |
140 //?data_declaration; |
140 //?data_declaration; |
141 |
141 |
142 private: // Data |
142 private: // Data |
143 // ?one_line_short_description_of_data |
143 // ?one_line_short_description_of_data |
144 //?data_declaration; |
144 //?data_declaration; |
145 |
145 |
146 // Reserved pointer for future extension |
146 // Reserved pointer for future extension |
147 //TAny* iReserved; |
147 //TAny* iReserved; |
148 |
148 |
149 public: // Friend classes |
149 public: // Friend classes |
150 //?friend_class_declaration; |
150 //?friend_class_declaration; |
154 //?friend_class_declaration; |
154 //?friend_class_declaration; |
155 |
155 |
156 }; |
156 }; |
157 } |
157 } |
158 |
158 |
159 #endif // METERINGREPORTREQ_H |
159 #endif // METERINGREPORTREQ_H |
160 |
160 |
161 // End of File |
161 // End of File |