CSecurityHandler Class Reference

class CSecurityHandler : public CBase

Inherits from

Constructor & Destructor Documentation

CSecurityHandler(RMobilePhone &)

IMPORT_CCSecurityHandler(RMobilePhone &aPhone)

C++ default constructor.

Parameters

RMobilePhone & aPhone

~CSecurityHandler()

IMPORT_C~CSecurityHandler()

Destructor.

Member Functions Documentation

AskSecCodeInAutoLockL()

IMPORT_C TBoolAskSecCodeInAutoLockL()

Asks and verifies the security code when device is locked. Unlocks the device if code was accepted

AskSecCodeL()

IMPORT_C TBoolAskSecCodeL()

Asks and verifies the security code.

CancelSecCodeQuery()

IMPORT_C voidCancelSecCodeQuery()

Clears activated security query. Called from security notifier when there is incoming call

HandleEventL(RMobilePhone::TMobilePhoneSecurityEvent)

IMPORT_C voidHandleEventL(RMobilePhone::TMobilePhoneSecurityEventaEvent)

Handles different security events. Called from security notifier

Parameters

RMobilePhone::TMobilePhoneSecurityEvent aEventMAdvGsmPhoneSecurity::TSecurityEvent

HandleEventL(RMobilePhone::TMobilePhoneSecurityEvent, TInt &)

IMPORT_C voidHandleEventL(RMobilePhone::TMobilePhoneSecurityEventaEvent,
TInt &aResult
)

Parameters

RMobilePhone::TMobilePhoneSecurityEvent aEvent
TInt & aResult

HandleEventL(RMobilePhone::TMobilePhoneSecurityEvent, TBool, TInt &)

IMPORT_C voidHandleEventL(RMobilePhone::TMobilePhoneSecurityEventaEvent,
TBoolaStartup,
TInt &aResult
)

Parameters

RMobilePhone::TMobilePhoneSecurityEvent aEvent
TBool aStartup
TInt & aResult

PassPhraseRequiredL()

TInt PassPhraseRequiredL()[private]

Handles EPassPhraseRequired security event

Pin1RequiredL()

TInt Pin1RequiredL()[private]

Handles EPin1Required security event

Pin2RequiredL()

voidPin2RequiredL()[private]

Handles EPin2Required security event

Puk1RequiredL()

TInt Puk1RequiredL()[private]

Handles EPuk1Required security event

Puk2RequiredL()

voidPuk2RequiredL()[private]

Handles EPuk2Required security event

RemoveSplashScreenL()

voidRemoveSplashScreenL()const [private]

Removes the splashscreen

ShowGenericErrorNoteL(TInt)

voidShowGenericErrorNoteL(TIntaStatus)[private]

Parameters

TInt aStatus

SimLockEventL()

voidSimLockEventL()[private]

Handles sim lock pending event

UPinRequiredL()

TInt UPinRequiredL()[private]

Handles EUniversalPinRequired security event

UPukRequiredL()

TInt UPukRequiredL()[private]

Handles EUniversalPukRequired security event

Member Data Documentation

RMmCustomAPI iCustomPhone

RMmCustomAPI iCustomPhone[private]

TBool * iDestroyedPtr

TBool *iDestroyedPtr[private]

CAknNoteDialog * iNoteDlg

CAknNoteDialog *iNoteDlg[private]

RMobilePhone & iPhone

RMobilePhone &iPhone[private]

TBool iQueryCanceled

TBool iQueryCanceled[private]

CCodeQueryDialog * iSecurityDlg

CCodeQueryDialog *iSecurityDlg[private]

RTASecuritySession * iSecuritySession

RTASecuritySession *iSecuritySession[private]

TBool iStartup

TBool iStartup[private]