CSRTPPacketSRTP Class Reference

class CSRTPPacketSRTP : public CSRTPPacketRTP

Contains general SRTP-specific packet routines

Inherits from

Public Member Functions
TPtrC8 AuthenticationTag ()
HBufC8 * CreateDecryptedPacketL ( TUint8 *)
TPtrC8 MasterKeyIdentifier ()
CSRTPPacketSRTP * NewL (const TDesC8 &, CSRTPCryptoHandler &)
Private Member Functions
CSRTPPacketSRTP (const TDesC8 &, CSRTPCryptoHandler &)
~CSRTPPacketSRTP ()
void ConstructL ()
TUint CountDecryptedPacketSize ()
TPtrC8 GetAuthenticationTagL ()
TPtrC8 GetMasterKeyIdentifier ()
void UpdateAuthenticationTagL ()
void UpdateMasterKeyIdentifier ()
void UpdatePayloadLengthL ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CSRTPPacket::CSRTPPacket(const TDesC8 &,CSRTPCryptoHandler &)
CSRTPPacket::CopyHeaderAndPayloadL(TUint,TUint8 *)
CSRTPPacket::GetSequenceNumber()
CSRTPPacket::Get_Concatenated_MDataL(TBool)
CSRTPPacket::HeaderAndPayload()
CSRTPPacket::HeaderLength()
CSRTPPacket::Payload()
CSRTPPacket::PayloadLength()
CSRTPPacket::UpdatePayload()
CSRTPPacket::~CSRTPPacket()
CSRTPPacketRTP::CSRTPPacketRTP(const TDesC8 &,CSRTPCryptoHandler &)
CSRTPPacketRTP::CountSenderPacketIndex()
CSRTPPacketRTP::CreateEncryptedPacketL(TUint8 *)
CSRTPPacketRTP::GetSenderROC()
CSRTPPacketRTP::PacketIndex()
CSRTPPacketRTP::SequenceNumber()
CSRTPPacketRTP::SetPacketIndex(TUint64)
CSRTPPacketRTP::TagWithROCLengthL()
CSRTPPacketRTP::UpdateHeaderLengthL()
CSRTPPacketRTP::UpdatePayloadLength()
CSRTPPacketRTP::~CSRTPPacketRTP()
Private Attributes
TPtrC8 iAuthenticationTag
TPtrC8 iMasterKeyIdentifier
Inherited Attributes
CSRTPPacket::iDataP
CSRTPPacket::iHandler
CSRTPPacket::iHeaderLength
CSRTPPacket::iPacket
CSRTPPacket::iPayload
CSRTPPacket::iPayloadLength

Constructor & Destructor Documentation

CSRTPPacketSRTP(const TDesC8 &, CSRTPCryptoHandler &)

CSRTPPacketSRTP ( const TDesC8 & aPacket,
CSRTPCryptoHandler & aHandler
) [private]

Parameters

const TDesC8 & aPacket
CSRTPCryptoHandler & aHandler

~CSRTPPacketSRTP()

~CSRTPPacketSRTP ( ) [private]

Member Functions Documentation

AuthenticationTag()

TPtrC8 AuthenticationTag ( ) [virtual]

Get authentication tag

ConstructL()

void ConstructL ( ) [private]

CountDecryptedPacketSize()

TUint CountDecryptedPacketSize ( ) [private]

Count size of the decrypted packet

CreateDecryptedPacketL(TUint8 *)

HBufC8 * CreateDecryptedPacketL ( TUint8 * aDecryptedPayloadPtr ) [virtual]

Allocate size for decrypted packet and copy payload + header

Parameters

TUint8 * aDecryptedPayloadPtr

GetAuthenticationTagL()

TPtrC8 GetAuthenticationTagL ( ) [private]

GetMasterKeyIdentifier()

TPtrC8 GetMasterKeyIdentifier ( ) [private]

MasterKeyIdentifier()

TPtrC8 MasterKeyIdentifier ( ) [virtual]

Get master key identifier

NewL(const TDesC8 &, CSRTPCryptoHandler &)

CSRTPPacketSRTP * NewL ( const TDesC8 & aPacket,
CSRTPCryptoHandler & aHandler
) [static]
Constructor.
leave
KErrNone if success, system-wide error code otherwise

Parameters

const TDesC8 & aPacket a SRTP packet
CSRTPCryptoHandler & aHandler the cryptohandler for this packet

UpdateAuthenticationTagL()

void UpdateAuthenticationTagL ( ) [private]

Update authentication tag

UpdateMasterKeyIdentifier()

void UpdateMasterKeyIdentifier ( ) [private]

Update master key identifier

UpdatePayloadLengthL()

void UpdatePayloadLengthL ( ) [private]

Update payload length information

Member Data Documentation

TPtrC8 iAuthenticationTag

TPtrC8 iAuthenticationTag [private]

TPtrC8 iMasterKeyIdentifier

TPtrC8 iMasterKeyIdentifier [private]