CSIPSecAgreement Class Reference
class CSIPSecAgreement : public CBase |
Public Member Functions |
---|
| ~CSIPSecAgreement() |
void | HandleRequestL(TSIPTransportParams &, CSIPRequest &, const CUri8 &, const TDesC8 &, MSIPSecUser &, TRegistrationId) |
TBool
| IsSecAgreeResponse(TUint) |
HBufC8 * | MechanismNameL() |
CSIPSecAgreement * | NewLC(const TInetAddr &, const TDesC8 &, const MSIPSecUser &, MSIPSecMechanismStore &) |
TBool
| NextHop(const TInetAddr &) |
TBool
| NextHop(const TDesC8 &) |
TBool
| RemoveUser(const MSIPSecUser &) |
void | ResponseReceivedL(CSIPResponse &, const MSIPSecUser &, TBool) |
Constructor & Destructor Documentation
CSIPSecAgreement(const TInetAddr &, MSIPSecMechanismStore &)
Member Functions Documentation
AddUserIfNotStoredL(const MSIPSecUser &)
void | AddUserIfNotStoredL | ( | const MSIPSecUser & | aUser | ) | [private] |
If aUser is not yet present in iUsers, it is added.
ChooseMechanismL(CSIPResponse &)
ConstructL(const TDesC8 &, const MSIPSecUser &)
CopySecurityServerFromResponseL(CSIPResponse &)
void | CopySecurityServerFromResponseL | ( | CSIPResponse & | aResponse | ) | [private] |
CopySecurityVerifyToRequestL(CSIPRequest &)
void | CopySecurityVerifyToRequestL | ( | CSIPRequest & | aRequest | ) | const [private] |
CreateSecurityVerifyL()
void | CreateSecurityVerifyL | ( | ) | [private] |
HandleRequestL(TSIPTransportParams &, CSIPRequest &, const CUri8 &, const TDesC8 &, MSIPSecUser &, TRegistrationId)
IsExceptionRequest(const CSIPRequest &)
Checks if the SIP request is one of those for which the Security-Verify headers are not processed.
IsSecAgreeResponse(TUint)
TBool
| IsSecAgreeResponse | ( | TUint | aResponseCode | ) | [static] |
Checks if the SIP response should be handled by the security agreement procedures.
Parameters
TUint aResponseCode | SIP response code |
NewLC(const TInetAddr &, const TDesC8 &, const MSIPSecUser &, MSIPSecMechanismStore &)
NextHop(const TInetAddr &)
ProcessSecurityClientL(CSIPRequest &)
void | ProcessSecurityClientL | ( | CSIPRequest & | aRequest | ) | const [private] |
RemoveUser(const MSIPSecUser &)
Removes a SIPSec user from the agreement, and checks if this agreement can be removed. Agreement can be removed when it has no users.
ResponseReceivedL(CSIPResponse &, const MSIPSecUser &, TBool)
Process a received SIP response.
Parameters
CSIPResponse & aResponse | SIP response |
const MSIPSecUser & aUser | SIPSec user |
TBool aUseSecurityServerHeaders | Tells if the Security-Server headers in aResponse can be used. |
__DbgTestInvariant()
void | __DbgTestInvariant | ( | ) | const [private] |
Member Enumerations Documentation
Enum TState
Enumerators
EWaitResponse | |
EMechanismSelected | |
EVerified | |
Member Data Documentation
CSIPSecClientMechanisms * iClientMechanisms
MSIPSecSecurityMechanism * iMechanism
MSIPSecMechanismStore & iMechanismStore
const TInt iOffset
const TInt | iOffset | [static] |
RPointerArray< CSIPSecurityServerHeader > iSecurityServer
RPointerArray< CSIPSecurityVerifyHeader > iSecurityVerify
RPointerArray< MSIPSecUser > iUsers
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.