CSRTPCryptoHandler Class Reference

class CSRTPCryptoHandler : public CBase

Contains RTP/RTCP common handling of cryptographic context.

Inherits from

Constructor & Destructor Documentation

CSRTPCryptoHandler(CSRTPStream &)

CSRTPCryptoHandler ( CSRTPStream & aStream ) [protected]

Parameters

CSRTPStream & aStream

~CSRTPCryptoHandler()

~CSRTPCryptoHandler ( ) [virtual]

Member Functions Documentation

AuthenticateL()

void AuthenticateL ( ) [pure virtual]

CheckMasterKeyIdentifierL()

void CheckMasterKeyIdentifierL ( ) [pure virtual]

ConstructL()

void ConstructL ( ) [protected]

Context()

CSRTPCryptoContext & Context ( )

Count_X(TUint64, TInt8, const TUint64, TDes8 &)

void Count_X ( TUint64 a_R,
TInt8 aLabel,
const TUint64 aIndexLength,
TDes8 & aRes
) [protected]

Parameters

TUint64 a_R
TInt8 aLabel
const TUint64 aIndexLength
TDes8 & aRes

CryptoParams()

const TSrtpCryptoParams & CryptoParams ( )

DecryptL()

HBufC8 * DecryptL ( ) [pure virtual]

DeleteSessionKeys()

void DeleteSessionKeys ( ) [protected]

DeriveSessionKeysL()

void DeriveSessionKeysL ( ) [pure virtual]

EncryptL()

HBufC8 * EncryptL ( ) [pure virtual]

InitializeEncryptedPacketL(const TDesC8 &)

void InitializeEncryptedPacketL ( const TDesC8 & aPacket ) [pure virtual]

Parameters

const TDesC8 & aPacket

InitializePlainPacketL(const TDesC8 &)

void InitializePlainPacketL ( const TDesC8 & aPacket ) [pure virtual]

Parameters

const TDesC8 & aPacket

MasterKeysUpdated()

TBool MasterKeysUpdated ( ) [pure virtual]

ROC()

TUint32 ROC ( ) const

Get roll-over counter value.

ReplayCheck(TInt)

TInt ReplayCheck ( TInt aDelta ) [protected]

Parameters

TInt aDelta

ReplayProtectionL()

void ReplayProtectionL ( ) [pure virtual]

SRTPMasterKeyChanged()

void SRTPMasterKeyChanged ( )

Callback from CSRTPCryptoContext when a master key is changed.

SRTPMasterSaltChanged()

void SRTPMasterSaltChanged ( )

Callback from CSRTPCryptoContext when a master salt is changed.

SSRC()

TUint SSRC ( ) const [protected]

Get 32 bit SSRC value

SetEncAndAuthL(TSRTPEncAlg, TSRTPAuthAlg)

void SetEncAndAuthL ( TSRTPEncAlg aEngAlg,
TSRTPAuthAlg aAuthAlg
) [protected]

Parameters

TSRTPEncAlg aEngAlg
TSRTPAuthAlg aAuthAlg

SetROC(TUint32)

void SetROC ( TUint32 aROC ) [protected]

Set roll-over counter value.

Parameters

TUint32 aROC The new ROC value.

Member Data Documentation

MSRTPAuthentication * iAuthenticator

MSRTPAuthentication * iAuthenticator [protected]

TUint64 iBitmap

TUint64 iBitmap [protected]

MSRTPCipher * iCipher

MSRTPCipher * iCipher [protected]

CSRTPPacket * iCurrentPacket

CSRTPPacket * iCurrentPacket [protected]

TSglQueLink iHandlerLink

TSglQueLink iHandlerLink

iHandlerLink, Link to list. Owned by CSRTPCryptoHandler object.

const TInt iHandlerOffset

const TInt iHandlerOffset [static]

iHandlerOffset, List offset. Owned by CCryptoContext object.

MSRTPKeyDerivation * iKeyDeriver

MSRTPKeyDerivation * iKeyDeriver [protected]

TBool iMasterDataUpdated

TBool iMasterDataUpdated [protected]

TUint64 iNumPackets

TUint64 iNumPackets [protected]

TBool iReKey

TBool iReKey [protected]

HBufC8 * iSessionAuthKey

HBufC8 * iSessionAuthKey [protected]

HBufC8 * iSessionEncrKey

HBufC8 * iSessionEncrKey [protected]

HBufC8 * iSessionSaltKey

HBufC8 * iSessionSaltKey [protected]

CSRTPStream & iStream

CSRTPStream & iStream [protected]