225 */ |
225 */ |
226 void UiccCspFileResp( TInt aStatus, const TDesC8& aFileData ); |
226 void UiccCspFileResp( TInt aStatus, const TDesC8& aFileData ); |
227 |
227 |
228 /** |
228 /** |
229 * Class attributes are created in ConstructL |
229 * Class attributes are created in ConstructL |
230 * @param CMmMessageRouter* aMessageRouter: pointer to message |
230 * @param aMessageRouter Pointer to message router object |
231 * router object |
231 * @param aPhoNetSender Pointer to phonet sender object |
232 * @return void : None |
232 * @param aSupplServMessHandler Pointer to supplementaty services |
233 */ |
233 * message handler object |
234 void ConstructL( CMmMessageRouter* aMessageRouter ); |
234 * @param aUiccMessHandler Pointer to uicc message handler object |
|
235 * @return void None |
|
236 */ |
|
237 void ConstructL( |
|
238 CMmMessageRouter* aMessageRouter, |
|
239 CMmPhoNetSender* aPhoNetSender, |
|
240 CMmSupplServMessHandler* aSupplServMessHandler, |
|
241 CMmUiccMessHandler* aUiccMessHandler ); |
235 |
242 |
236 /** |
243 /** |
237 * Read request for EFest |
244 * Read request for EFest |
238 * @return KErrNone or error code |
245 * @return KErrNone or error code |
239 */ |
246 */ |
240 TInt UiccReadEfEstReq(); |
247 TInt UiccReadEfEstReq(); |
241 |
248 |
242 /** |
249 /** |
243 * Handles response for EFest reading in case of getting |
250 * Handles response for EFest reading in case of getting |
244 * ACL status |
251 * ACL status |
245 * @param aStatus status of the operation |
252 * @param aStatus status of the operation |
246 * @param aFileData content of the EFest |
253 * @param aFileData content of the EFest |
247 * @return none |
254 * @return none |
248 */ |
255 */ |
249 void UiccGetAclStatusReadEfEstResp( |
256 void UiccGetAclStatusReadEfEstResp( |
250 TInt aStatus, |
257 TInt aStatus, |
251 const TDesC8& aFileData ); |
258 const TDesC8& aFileData ); |
252 |
259 |
253 /** |
260 /** |
254 * Handles response for EFest reading in case of setting |
261 * Handles response for EFest reading in case of setting |
255 * ACL status |
262 * ACL status |
256 * @param aStatus status of the operation |
263 * @param aStatus status of the operation |
257 * @param aFileData content of the EFest |
264 * @param aFileData content of the EFest |
258 * @return none |
265 * @return none |
259 */ |
266 */ |
260 void UiccSetAclStatusReadEfEstResp( |
267 void UiccSetAclStatusReadEfEstResp( |
261 TInt aStatus, |
268 TInt aStatus, |
262 const TDesC8& aFileData ); |
269 const TDesC8& aFileData ); |
263 |
270 |
264 /** |
271 /** |
265 * Write request for EFest |
272 * Write request for EFest |
266 * @param aOldAclState old ACL state |
273 * @param aOldAclState old ACL state |
282 * @return KErrNone or error code |
289 * @return KErrNone or error code |
283 */ |
290 */ |
284 TInt UiccReadAclReq(); |
291 TInt UiccReadAclReq(); |
285 |
292 |
286 /** |
293 /** |
287 * Handles response for EFacl reading |
294 * Handles response for EFacl reading |
288 * @param aStatus status of the operation |
295 * @param aStatus status of the operation |
289 * @param aFileData content of the EFacl |
296 * @param aFileData content of the EFacl |
290 * @return none |
297 * @return none |
291 */ |
298 */ |
292 void UiccReadAclResp( |
299 void UiccReadAclResp( |
293 TInt aStatus, |
300 TInt aStatus, |
294 const TDesC8& aFileData ); |
301 const TDesC8& aFileData ); |
295 |
302 |
296 /** |
303 /** |
297 * Encrypt from ACL to CDesC8ArrayFlat. |
304 * Encrypt from ACL to CDesC8ArrayFlat. |
298 * @param const TDesC8& aTlv |
305 * @param const TDesC8& aTlv |
342 * Calculate total length of ACL. |
349 * Calculate total length of ACL. |
343 * @param CDesC8ArrayFlat* aApnList |
350 * @param CDesC8ArrayFlat* aApnList |
344 * @return TUint16 Total legtn of ACL. |
351 * @return TUint16 Total legtn of ACL. |
345 */ |
352 */ |
346 TUint16 ACLLength( CDesC8ArrayFlat* aApnList ) const; |
353 TUint16 ACLLength( CDesC8ArrayFlat* aApnList ) const; |
|
354 |
|
355 /** |
|
356 * Set parameters for UICC_APPL_CMD_REQ message and call UICC message |
|
357 * handler's function to create and send the message |
|
358 * @param aTrId Transaction ID |
|
359 * @param aServiceType Service type |
|
360 * @param aDataAmount Amount of data to be read/write |
|
361 * @param aDataOffset Offset where data reading/writing starts |
|
362 * @param aFileId Elemantary file ID |
|
363 * @param aFileIdSfi Elemantary file SFI |
|
364 * @param aFileData File data in case of writing |
|
365 * @return Error code |
|
366 */ |
|
367 TInt UiccApplCmdReq( |
|
368 const TUiccTrId aTrId, |
|
369 const TUint8 aServiceType, |
|
370 const TUint16 aDataAmount, |
|
371 const TUint16 aDataOffset, |
|
372 const TUint16 aFileId, |
|
373 const TUint8 aFileIdSfi, |
|
374 const TDesC8& aFileData = KNullDesC8 ); |
347 |
375 |
348 private: |
376 private: |
349 |
377 |
350 /** |
378 /** |
351 * For nokiatsy internal refresh handling |
379 * For nokiatsy internal refresh handling |