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 TIntBind(TUint32aSessionId,
TUint32aLinkId,
TUint32aStreamId,
TUint32aEndPointId,
TUint32aContextId
)
Binds crypto context into stream. Binding must be done before stream is prepared.
Since
Series 60 3.2

Parameters

TUint32 aSessionIdID of session.
TUint32 aLinkIdID of link.
TUint32 aStreamIdID of stream.
TUint32 aEndPointId
TUint32 aContextIdID of context.

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

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

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

Parameters

const TDesC8 & aMasterKeyThe master key value.
const TDesC8 & aSaltKeyThe master salt value.
TUint32 & aContextIdID of the new context if successful.
const TDesC8 & aParamsCrypto context optional parameters.

NewL(CMccInterface &)

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

Two-phased constructor.

Parameters

CMccInterface & aInterfacereference to MCC interface.

RemoveContext(TUint32)

IMPORT_C TIntRemoveContext(TUint32aContextId)
Removes existing crypto context.
Since
Series 60 3.2

Parameters

TUint32 aContextIdID of the context to be removed.

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

IMPORT_C TIntUpdateContext(const TDesC8 &aMasterKey,
const TDesC8 &aSaltKey,
TUint32aContextId,
const TDesC8 &aParams
)
Updates existing crypto context.
Since
Series 60 3.2

Parameters

const TDesC8 & aMasterKeyThe master key value.
const TDesC8 & aSaltKeyThe master salt value.
TUint32 aContextIdID of the updated context.
const TDesC8 & aParamsCrypto 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