CSRTPPacketRTP Class Reference
class CSRTPPacketRTP : public CSRTPPacket
|
Contains general RTP-specific packet routines
Constructor & Destructor Documentation
CSRTPPacketRTP(const TDesC8 &, CSRTPCryptoHandler &)
~CSRTPPacketRTP()
~CSRTPPacketRTP
|
(
|
)
|
[protected]
|
Member Functions Documentation
AuthenticationTag()
TPtrC8
|
AuthenticationTag
|
(
|
)
|
[virtual]
|
virtual function for getting the authentication tag implemented in
CSRTPPacketSRTP
.
ConstructL()
void
|
ConstructL
|
(
|
)
|
[protected]
|
CountDecryptedPacketSize()
TUint
|
CountDecryptedPacketSize
|
(
|
)
|
[private]
|
Count size of the decrypted packet
CountEncryptedPacketSizeL()
TUint
|
CountEncryptedPacketSizeL
|
(
|
)
|
[private]
|
Count size of the encrypted packet
CountSenderPacketIndex()
void
|
CountSenderPacketIndex
|
(
|
)
|
[virtual]
|
Count sender packet index.
CreateDecryptedPacketL(TUint8 *)
HBufC8
*
|
CreateDecryptedPacketL
|
(
|
TUint8
*
|
aDecryptedPayloadPtr
|
)
|
[virtual]
|
virtual function for creating decrypted packet.
-
leave
-
KErrNone if success, system-wide error code otherwise
Parameters
TUint8
* aDecryptedPayloadPtr
|
decrypted payload to be copied
|
CreateEncryptedPacketL(TUint8 *)
HBufC8
*
|
CreateEncryptedPacketL
|
(
|
TUint8
*
|
aEncryptedPayloadPtr
|
)
|
[virtual]
|
Create encrypted packet.
-
leave
-
KErrNone if success, system-wide error code otherwise
Parameters
TUint8
* aEncryptedPayloadPtr
|
encrypted payload to be copied
|
GetSenderROC()
Get Sender Roll-Over Counter from RTP/SRTP packets defined by RCC mode
MasterKeyIdentifier()
TPtrC8
|
MasterKeyIdentifier
|
(
|
)
|
[virtual]
|
virtual function for getting the master key identifier implemented in
CSRTPPacketSRTP
.
NewL(const TDesC8 &, CSRTPCryptoHandler &)
SequenceNumber()
TUint16
|
SequenceNumber
|
(
|
)
|
[virtual]
|
SetPacketIndex(TUint64)
void
|
SetPacketIndex
|
(
|
TUint64
|
aPacketIndex
|
)
|
[virtual]
|
Parameters
TUint64
aPacketIndex
|
new packet index
|
TagWithROCLengthL()
TBool
|
TagWithROCLengthL
|
(
|
)
|
[protected]
|
UpdateHeaderLengthL()
void
|
UpdateHeaderLengthL
|
(
|
)
|
|
UpdatePayloadLength()
void
|
UpdatePayloadLength
|
(
|
)
|
[protected]
|
Update payload length information
UpdateSequenceNumber()
void
|
UpdateSequenceNumber
|
(
|
)
|
[private]
|
Read sequence number and update class member
Member Data Documentation
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.