CSIPSecAgreementContainer Class Reference

class CSIPSecAgreementContainer : public CBase

Inherits from

Constructor & Destructor Documentation

CSIPSecAgreementContainer(MSIPSecMechanismStore &)

CSIPSecAgreementContainer ( MSIPSecMechanismStore & aMechanismStore ) [private]

Parameters

MSIPSecMechanismStore & aMechanismStore

~CSIPSecAgreementContainer()

~CSIPSecAgreementContainer ( )

Member Functions Documentation

AddRequiredHeadersIfNeededL(CSIPRequest &)

void AddRequiredHeadersIfNeededL ( CSIPRequest & aSIPRequest ) [private]

Parameters

CSIPRequest & aSIPRequest

AddSecurityParamsL(TSIPTransportParams &, CSIPRequest &, TInetAddr &, const TDesC8 &, const CUri8 &, const TDesC8 &, MSIPSecUser &, TRegistrationId)

void AddSecurityParamsL ( TSIPTransportParams & aTransportParams,
CSIPRequest & aRequest,
TInetAddr & aNextHopAddr,
const TDesC8 & aNextHop,
const CUri8 & aRemoteTarget,
const TDesC8 & aOutboundProxy,
MSIPSecUser & aUser,
TRegistrationId aRegistrationId
)

Parameters

TSIPTransportParams & aTransportParams
CSIPRequest & aRequest
TInetAddr & aNextHopAddr
const TDesC8 & aNextHop
const CUri8 & aRemoteTarget
const TDesC8 & aOutboundProxy
MSIPSecUser & aUser
TRegistrationId aRegistrationId

Agreement(const TInetAddr &)

CSIPSecAgreement * Agreement ( const TInetAddr & aNextHopAddr ) [private]

Search whether there exists an agreement for the specified next-hop.

Parameters

const TInetAddr & aNextHopAddr IP-address of the next-hop

CancelPendingOperations(MSIPSecObserver *)

void CancelPendingOperations ( MSIPSecObserver * aObserver )

Parameters

MSIPSecObserver * aObserver

ClearCache(const MSIPSecUser &)

void ClearCache ( const MSIPSecUser & aUser )

Clear security agreements of the specified MSIPSecUser .

Parameters

const MSIPSecUser & aUser User whose agreements are removed.

CreateAgreementL(TInetAddr &, const TDesC8 &, const MSIPSecUser &)

CSIPSecAgreement * CreateAgreementL ( TInetAddr & aNextHopAddr,
const TDesC8 & aNextHop,
const MSIPSecUser & aUser
) [private]

Creates a new agreement and stores it into iAgreementList.

Parameters

TInetAddr & aNextHopAddr IP-address of the next-hop
const TDesC8 & aNextHop Next hop as IP-address or domain name.
const MSIPSecUser & aUser User related to creating the agreement.

EmptyAgreementList()

void EmptyAgreementList ( ) [private]

NegotiatedSecurityMechanismL(const TDesC8 &)

HBufC8 * NegotiatedSecurityMechanismL ( const TDesC8 & aHop )

Parameters

const TDesC8 & aHop

NewL(MSIPSecMechanismStore &)

CSIPSecAgreementContainer * NewL ( MSIPSecMechanismStore & aMechanismStore ) [static]

Parameters

MSIPSecMechanismStore & aMechanismStore

NewLC(MSIPSecMechanismStore &)

CSIPSecAgreementContainer * NewLC ( MSIPSecMechanismStore & aMechanismStore ) [static]

Parameters

MSIPSecMechanismStore & aMechanismStore

ResponseReceivedL(CSIPResponse &, TInetAddr &, const TDesC8 &, const MSIPSecUser &, TBool)

void ResponseReceivedL ( CSIPResponse & aResponse,
TInetAddr & aNextHopAddr,
const TDesC8 & aNextHop,
const MSIPSecUser & aUser,
TBool aUseSecurityServerHeaders
)

Parameters

CSIPResponse & aResponse
TInetAddr & aNextHopAddr
const TDesC8 & aNextHop
const MSIPSecUser & aUser
TBool aUseSecurityServerHeaders

Member Data Documentation

TSglQue< CSIPSecAgreement > iAgreementList

TSglQue < CSIPSecAgreement > iAgreementList [private]

TSglQueIter< CSIPSecAgreement > iAgreementListIter

TSglQueIter < CSIPSecAgreement > iAgreementListIter [private]

MSIPSecMechanismStore & iMechanismStore

MSIPSecMechanismStore & iMechanismStore [private]