CSIPSecAgreementContainer Class Reference

class CSIPSecAgreementContainer : public CBase

Inherits from

  • CSIPSecAgreementContainer

Constructor & Destructor Documentation

CSIPSecAgreementContainer(MSIPSecMechanismStore &)

CSIPSecAgreementContainer(MSIPSecMechanismStore &aMechanismStore)[private]

Parameters

MSIPSecMechanismStore & aMechanismStore

~CSIPSecAgreementContainer()

~CSIPSecAgreementContainer()

Member Functions Documentation

AddRequiredHeadersIfNeededL(CSIPRequest &)

voidAddRequiredHeadersIfNeededL(CSIPRequest &aSIPRequest)[private]

Parameters

CSIPRequest & aSIPRequest

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

voidAddSecurityParamsL(TSIPTransportParams &aTransportParams,
CSIPRequest &aRequest,
TInetAddr &aNextHopAddr,
const TDesC8 &aNextHop,
const CUri8 &aRemoteTarget,
const TDesC8 &aOutboundProxy,
MSIPSecUser &aUser,
TRegistrationIdaRegistrationId
)

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 & aNextHopAddrIP-address of the next-hop

CancelPendingOperations(MSIPSecObserver *)

voidCancelPendingOperations(MSIPSecObserver *aObserver)

Parameters

MSIPSecObserver * aObserver

ClearCache(const MSIPSecUser &)

voidClearCache(const MSIPSecUser &aUser)

Clear security agreements of the specified MSIPSecUser.

Parameters

const MSIPSecUser & aUserUser 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 & aNextHopAddrIP-address of the next-hop
const TDesC8 & aNextHopNext hop as IP-address or domain name.
const MSIPSecUser & aUserUser related to creating the agreement.

EmptyAgreementList()

voidEmptyAgreementList()[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)

voidResponseReceivedL(CSIPResponse &aResponse,
TInetAddr &aNextHopAddr,
const TDesC8 &aNextHop,
const MSIPSecUser &aUser,
TBoolaUseSecurityServerHeaders
)

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]