CMccSecureInterface Class Reference

class CMccSecureInterface : public CBase

MCC subsystem client interface for secure sessions.

mmccinterface.lib

Inherits from

Constructor & Destructor Documentation

CMccSecureInterface(CMccInterface &)

CMccSecureInterface ( CMccInterface & aController ) [private]

C++ default constructor.

Parameters

CMccInterface & aController

~CMccSecureInterface()

~CMccSecureInterface ( ) [virtual]

Destructor.

Member Functions Documentation

Bind(TUint32, TUint32, TUint32, TUint32, TUint32)

IMPORT_C TInt 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

TUint32 aSessionId ID of session.
TUint32 aLinkId ID of link.
TUint32 aStreamId ID of stream.
TUint32 aEndPointId
TUint32 aContextId ID of context.

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

CreateContext(const TDesC8 &, const TDesC8 &, TUint32 &, const TDesC8 &)

IMPORT_C TInt CreateContext ( const TDesC8 & aMasterKey,
const TDesC8 & aSaltKey,
TUint32 & aContextId,
const TDesC8 & aParams
)
Creates new crypto context.
Since
Series 60 3.2

Parameters

const TDesC8 & aMasterKey The master key value.
const TDesC8 & aSaltKey The master salt value.
TUint32 & aContextId ID of the new context if successful.
const TDesC8 & aParams Crypto context optional parameters.

NewL(CMccInterface &)

IMPORT_C CMccSecureInterface * NewL ( CMccInterface & aInterface ) [static]

Two-phased constructor.

Parameters

CMccInterface & aInterface reference to MCC interface.

RemoveContext(TUint32)

IMPORT_C TInt RemoveContext ( TUint32 aContextId )
Removes existing crypto context.
Since
Series 60 3.2

Parameters

TUint32 aContextId ID of the context to be removed.

UpdateContext(const TDesC8 &, const TDesC8 &, TUint32, const TDesC8 &)

IMPORT_C TInt UpdateContext ( const TDesC8 & aMasterKey,
const TDesC8 & aSaltKey,
TUint32 aContextId,
const TDesC8 & aParams
)
Updates existing crypto context.
Since
Series 60 3.2

Parameters

const TDesC8 & aMasterKey The master key value.
const TDesC8 & aSaltKey The master salt value.
TUint32 aContextId ID of the updated context.
const TDesC8 & aParams Crypto context optional parameters.

Member Data Documentation

CMccCryptoContextContainer * iContextContainer

CMccCryptoContextContainer * iContextContainer [private]

Crypto context container for context containing and handling Own.

RMMFController iController

RMMFController iController [private]

Handle to the controller plugin for sending custom commands

CMccInterface & iInterface

CMccInterface & iInterface [private]

Instance of Mcc interface.

TMMFMessageDestinationPckg iMessageDest

TMMFMessageDestinationPckg iMessageDest [private]

Contains unique ID of controller interface