#include <mmccsecureinterface.h>
List of all members.
Public Member Functions |
virtual | ~CMccSecureInterface () |
IMPORT_C TInt | CreateContext (const TDesC8 &aMasterKey, const TDesC8 &aSaltKey, TUint32 &aContextId, const TDesC8 &aParams) |
IMPORT_C TInt | UpdateContext (const TDesC8 &aMasterKey, const TDesC8 &aSaltKey, TUint32 aContextId, const TDesC8 &aParams) |
IMPORT_C TInt | RemoveContext (TUint32 aContextId) |
IMPORT_C TInt | Bind (TUint32 aSessionId, TUint32 aLinkId, TUint32 aStreamId, TUint32 aEndPointId, TUint32 aContextId) |
Static Public Member Functions |
static IMPORT_C
CMccSecureInterface * | NewL (CMccInterface &aInterface) |
Detailed Description
MCC subsystem client interface for secure sessions.
mmccinterface.lib
Constructor & Destructor Documentation
virtual CMccSecureInterface::~CMccSecureInterface |
( |
|
) |
[virtual] |
Member Function Documentation
IMPORT_C TInt CMccSecureInterface::Bind |
( |
TUint32 |
aSessionId, |
|
|
TUint32 |
aLinkId, |
|
|
TUint32 |
aStreamId, |
|
|
TUint32 |
aEndPointId, |
|
|
TUint32 |
aContextId | |
|
) |
| | |
Binds crypto context into stream. Binding must be done before stream is prepared.
- Since:
- Series 60 3.2
- Parameters:
-
| aSessionId | ID of session. |
| aLinkId | ID of link. |
| aStreamId | ID of stream. |
| aEndPointId | ID identifying endpoint of the stream. |
| aContextId | ID of context. |
- Returns:
- KErrNone if success; KErrArgument if context is already bound. Otherwise one of the standard system-wide error codes.
IMPORT_C TInt CMccSecureInterface::CreateContext |
( |
const TDesC8 & |
aMasterKey, |
|
|
const TDesC8 & |
aSaltKey, |
|
|
TUint32 & |
aContextId, |
|
|
const TDesC8 & |
aParams | |
|
) |
| | |
Creates new crypto context.
- Since:
- Series 60 3.2
- Parameters:
-
| aMasterKey | The master key value. |
| aSaltKey | The master salt value. |
| aContextId | ID of the new context if successful. |
| aParams | Crypto context optional parameters. |
- Returns:
- KErrNone if success; otherwise system wide error code.
Two-phased constructor.
- Parameters:
-
| aInterface | reference to MCC interface. |
- Returns:
- CMccSecureInterface* Pointer to the secure interface object created
IMPORT_C TInt CMccSecureInterface::RemoveContext |
( |
TUint32 |
aContextId |
) |
|
Removes existing crypto context.
- Since:
- Series 60 3.2
- Parameters:
-
| aContextId | ID of the context to be removed. |
- Returns:
- KErrNone if success; otherwise system wide error code.
IMPORT_C TInt CMccSecureInterface::UpdateContext |
( |
const TDesC8 & |
aMasterKey, |
|
|
const TDesC8 & |
aSaltKey, |
|
|
TUint32 |
aContextId, |
|
|
const TDesC8 & |
aParams | |
|
) |
| | |
Updates existing crypto context.
- Since:
- Series 60 3.2
- Parameters:
-
| aMasterKey | The master key value. |
| aSaltKey | The master salt value. |
| aContextId | ID of the updated context. |
| aParams | Crypto context optional parameters. |
- Returns:
- KErrNone if success; otherwise system wide error code.
The documentation for this class was generated from the following file: