CAsyncSmartCardEapAuthentication Class Reference
class CAsyncSmartCardEapAuthentication : public CAsyncRetrieveVariableLengthBufferV2 |
One CAsyncSmartCardEapAuthentication object should be used per EAP packet that the client wishes to send to the EAP-capable smart card application. The Packets can be EAP-Challenges, Identity requests, Success packets, etc.. Subsequently, this object can be used to retrieve the corresponding response data given by the DF_EAP.
(See RFC3748 and section 6.1 of ETSI TS 102.310 v6.2.0.)
RMobileSmartCardEap
Inherits from
- CAsyncSmartCardEapAuthentication
Constructor & Destructor Documentation
CAsyncSmartCardEapAuthentication(RMobileSmartCardEap &)
Default constructor. Initialises the IPC values to be used in the two- phase retrieval process.
Parameters
RMobileSmartCardEap & aScEap | The sub-session handle that will be used by the returned object, for submitting requests to the server. |
~CAsyncSmartCardEapAuthentication()
IMPORT_C | ~CAsyncSmartCardEapAuthentication | ( | ) | |
Member Functions Documentation
CancelReq(TInt, TInt)
void | CancelReq | ( | TInt | aIpc1, |
| TInt | aIpc2 |
| ) | [private, virtual] |
Cancels the request specified through the sub-session this object was created with.
ConstructL(const TDesC8 &)
void | ConstructL | ( | const TDesC8 & | aEapRequestPckt | ) | [private] |
Second phase constructor. Ensures memory can be allocated on the client-side for storing a copy of the EAP request packet.
Parameters
const TDesC8 & aEapRequestPckt | The EAP request packet to send to the smart card application's (and aScEap's) DF_EAP. This will be copied to this object's member data. |
Get(TInt, TRequestStatus &, TDes8 &, TDes8 &)
Sends a request through the sub-session this object was created with.
NewL(RMobileSmartCardEap &, const TDesC8 &)
Creates a new two-phase retrieval object for sending an EAP packet to a DF_EAP and receiving its response.
Parameters
RMobileSmartCardEap & aScEap | The sub-session handle that will be used by the returned object, for submitting requests to the server. |
const TDesC8 & aEapRequestPckt | The EAP request packet to send to the smart card application's (and aScEap's) DF_EAP. |
RetrieveEapResponse()
IMPORT_C TDesC8 & | RetrieveEapResponse | ( | ) | |
Used to retrieve a descriptor pointing to the response data from the DF_EAP.
Start(TRequestStatus &)
Parameters
TRequestStatus & aReqStatus | Returns the result code after the asynchronous call completes. Request completion with KErrBadHandle means the RMobileSmartCardEap sub-session handle, given in the NewL(), has not been initialised (RMobileSmartCardEap::InitialiseEapMethod()). Completion with KErrInUse means the handle instance is not the current owner of the DF_EAP. |
Member Data Documentation
RMobileSmartCardEap::CEapAuthenticateRequestDataV6 * iReqData
The serialised data holder for the EAP request packet.
RMobileSmartCardEap & iSmartCardEap
The sub-session that this object will use for the retrieval.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.