CTlsBrowseToken Class Reference

class CTlsBrowseToken : public CActive

Inherits from

Public Member Functions
~CTlsBrowseToken()
voidCancelRequest()
voidGetSessionInterface(MTLSTokenProvider *, MTLSSession *&, TRequestStatus &)
CTlsBrowseToken *NewL()
voidStartBrowsingL(RArray< CTokenTypesAndTokens > &, TRequestStatus &)
TInt TotalTypeCount()
Private Member Functions
CTlsBrowseToken()
voidBrowseTokenTypesL()
voidDoCancel()
voidListTokenTypesL()
voidOnEGetProviderInterfaceL()
voidOnEGetTokenListL()
voidOnEOpenTokenL()
TInt RunError(TInt)
voidRunL()
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Member Enumerations
enumTStateLists {
ENullState, EOpenToken, EGetTokenList, EGetProviderInterface, EGetInterface, EGetSessionInterface, EReturnResult, EGetCiphers
}
Inherited Enumerations
CActive:TPriority
Private Attributes
TStateLists iCurrentState
TInt iCurrentToken
TInt iCurrentTokentype
RFs iFs
RArray< CTokenTypesAndTokens > *iListAllTokensAndTypes
TRequestStatus *iOriginalRequestStatus
MCTTokenType *iPtrTokenType
MTLSSession **iSessionInterface
MCTToken *iTokenHandle
MCTTokenInterface *iTokenInterface
RCPointerArray< HBufC >iTokenList
MTLSTokenProvider *iTokenProvider
RCPointerArray< CCTTokenTypeInfo >iTokenTypeInfo
TInt iTotalTokenCount
TInt iTotalTokenTypeCount
TInt iTotalTokensinType
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CTlsBrowseToken()

CTlsBrowseToken()[private]

~CTlsBrowseToken()

~CTlsBrowseToken()

Member Functions Documentation

BrowseTokenTypesL()

voidBrowseTokenTypesL()[private]

CancelRequest()

voidCancelRequest()

DoCancel()

voidDoCancel()[private, virtual]

Implements cancellation of an outstanding request.

This function is called as part of the active object's Cancel().

It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.

DoCancel() must not wait for event completion; this is handled by Cancel().

CActive::Cancel

GetSessionInterface(MTLSTokenProvider *, MTLSSession *&, TRequestStatus &)

voidGetSessionInterface(MTLSTokenProvider *aProviderInterface,
MTLSSession *&aSessionInterface,
TRequestStatus &aStatus
)

Parameters

MTLSTokenProvider * aProviderInterface
MTLSSession *& aSessionInterface
TRequestStatus & aStatus

ListTokenTypesL()

voidListTokenTypesL()[private]

NewL()

CTlsBrowseToken *NewL()[static]

OnEGetProviderInterfaceL()

voidOnEGetProviderInterfaceL()[private]

OnEGetTokenListL()

voidOnEGetTokenListL()[private]

OnEOpenTokenL()

voidOnEOpenTokenL()[private]

RunError(TInt)

TInt RunError(TIntaError)[private, virtual]

Parameters

TInt aError

RunL()

voidRunL()[private, virtual]

Handles an active object's request completion event.

A derived class must provide an implementation to handle the completed request. If appropriate, it may issue another request.

The function is called by the active scheduler when a request completion event occurs, i.e. after the active scheduler's WaitForAnyRequest() function completes.

Before calling this active object's RunL() function, the active scheduler has:

1. decided that this is the highest priority active object with a completed request

2. marked this active object's request as complete (i.e. the request is no longer outstanding)

RunL() runs under a trap harness in the active scheduler. If it leaves, then the active scheduler calls RunError() to handle the leave.

Note that once the active scheduler's Start() function has been called, all user code is run under one of the program's active object's RunL() or RunError() functions.

CActiveScheduler::Start CActiveScheduler::Error CActiveScheduler::WaitForAnyRequest TRAPD

StartBrowsingL(RArray< CTokenTypesAndTokens > &, TRequestStatus &)

voidStartBrowsingL(RArray< CTokenTypesAndTokens > &aListAllTokensAndTypes,
TRequestStatus &aStatus
)

Parameters

RArray< CTokenTypesAndTokens > & aListAllTokensAndTypes
TRequestStatus & aStatus

TotalTypeCount()

TInt TotalTypeCount()

Member Enumerations Documentation

Enum TStateLists

Enumerators

ENullState
EOpenToken
EGetTokenList
EGetProviderInterface
EGetInterface
EGetSessionInterface
EReturnResult
EGetCiphers

Member Data Documentation

TStateLists iCurrentState

TStateLists iCurrentState[private]

TInt iCurrentToken

TInt iCurrentToken[private]

TInt iCurrentTokentype

TInt iCurrentTokentype[private]

RFs iFs

RFs iFs[private]

RArray< CTokenTypesAndTokens > * iListAllTokensAndTypes

RArray< CTokenTypesAndTokens > *iListAllTokensAndTypes[private]

TRequestStatus * iOriginalRequestStatus

TRequestStatus *iOriginalRequestStatus[private]

MCTTokenType * iPtrTokenType

MCTTokenType *iPtrTokenType[private]

MTLSSession ** iSessionInterface

MTLSSession **iSessionInterface[private]

MCTToken * iTokenHandle

MCTToken *iTokenHandle[private]

MCTTokenInterface * iTokenInterface

MCTTokenInterface *iTokenInterface[private]

RCPointerArray< HBufC > iTokenList

RCPointerArray< HBufC >iTokenList[private]

MTLSTokenProvider * iTokenProvider

MTLSTokenProvider *iTokenProvider[private]

RCPointerArray< CCTTokenTypeInfo > iTokenTypeInfo

RCPointerArray< CCTTokenTypeInfo >iTokenTypeInfo[private]

TInt iTotalTokenCount

TInt iTotalTokenCount[private]

TInt iTotalTokenTypeCount

TInt iTotalTokenTypeCount[private]

TInt iTotalTokensinType

TInt iTotalTokensinType[private]