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

voidAuthenticateL()[pure virtual]

CheckMasterKeyIdentifierL()

voidCheckMasterKeyIdentifierL()[pure virtual]

ConstructL()

voidConstructL()[protected]

Context()

CSRTPCryptoContext &Context()

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

voidCount_X(TUint64a_R,
TInt8aLabel,
const TUint64aIndexLength,
TDes8 &aRes
)[protected]

Parameters

TUint64 a_R
TInt8 aLabel
const TUint64 aIndexLength
TDes8 & aRes

CryptoParams()

const TSrtpCryptoParams &CryptoParams()

DecryptL()

HBufC8 *DecryptL()[pure virtual]

DeleteSessionKeys()

voidDeleteSessionKeys()[protected]

DeriveSessionKeysL()

voidDeriveSessionKeysL()[pure virtual]

EncryptL()

HBufC8 *EncryptL()[pure virtual]

InitializeEncryptedPacketL(const TDesC8 &)

voidInitializeEncryptedPacketL(const TDesC8 &aPacket)[pure virtual]

Parameters

const TDesC8 & aPacket

InitializePlainPacketL(const TDesC8 &)

voidInitializePlainPacketL(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(TIntaDelta)[protected]

Parameters

TInt aDelta

ReplayProtectionL()

voidReplayProtectionL()[pure virtual]

SRTPMasterKeyChanged()

voidSRTPMasterKeyChanged()

Callback from CSRTPCryptoContext when a master key is changed.

SRTPMasterSaltChanged()

voidSRTPMasterSaltChanged()

Callback from CSRTPCryptoContext when a master salt is changed.

SSRC()

TUint SSRC()const [protected]

Get 32 bit SSRC value

SetEncAndAuthL(TSRTPEncAlg, TSRTPAuthAlg)

voidSetEncAndAuthL(TSRTPEncAlgaEngAlg,
TSRTPAuthAlgaAuthAlg
)[protected]

Parameters

TSRTPEncAlg aEngAlg
TSRTPAuthAlg aAuthAlg

SetROC(TUint32)

voidSetROC(TUint32aROC)[protected]

Set roll-over counter value.

Parameters

TUint32 aROCThe 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 TIntiHandlerOffset[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]