class CPhCntMmiSecurity : public CBase |
It provides interface to perform mmi initiated security operations.
The class shouldn't be destroyed during operation.
Public Member Functions | |
---|---|
void | Cancel() |
TBool | ChangePinL(TPinCommand, const TDesC &, const TDesC &, const TDesC &) |
TBool | ChangeSimLockL(TSimCommand, const TDesC &, const TDesC &) |
Public Member Enumerations | |
---|---|
enum | TPinCommand { ECmdChangePin, ECmdChangePin2, ECmdUnblockPin, ECmdUnblockPin2 } |
enum | TSimCommand { ECmdOpenLock, ECmdCloseLock } |
void | Cancel | ( | ) | [pure virtual] |
Cancels whatever it is doing.
If not doing anything, then does nothing.
TBool | ChangePinL | ( | TPinCommand | aCommand, |
const TDesC & | aCode, | |||
const TDesC & | aNewPin, | |||
const TDesC & | aVerifyNew | |||
) | [pure virtual] |
Change pin code.
TPinCommand aCommand | command. |
const TDesC & aCode | old code. if command is change, then old pin. if command is unblock, then puk. |
const TDesC & aNewPin | new pin. |
const TDesC & aVerifyNew | verification of pin. |
TBool | ChangeSimLockL | ( | TSimCommand | aCommand, |
const TDesC & | aCode, | |||
const TDesC & | aType | |||
) | [pure virtual] |
Change sim lock status.
TSimCommand aCommand | command. |
const TDesC & aCode | password. |
const TDesC & aType | type of lock. |
Enumerates different pin related commands.
ECmdChangePin - change pin. ECmdChangePin2 - change pin2. ECmdUnblockPin - unblock pin. ECmdUnblockPin2 - unblock pin2.
ECmdChangePin | |
ECmdChangePin2 | |
ECmdUnblockPin | |
ECmdUnblockPin2 |
Enumerates different sim commands.
ECmdOpenLock - opens lock. ECmdCloseLock - closes lock.
ECmdOpenLock | |
ECmdCloseLock |
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.