CSRTPCryptoHandlerSRTP Class Reference
class CSRTPCryptoHandlerSRTP : public CSRTPCryptoHandler
|
Contains RTP specific handling of cryptographic context.
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()
|
|
CSRTPCryptoHandler::CSRTPCryptoHandler(CSRTPStream &)
|
|
CSRTPCryptoHandler::Context()
|
|
CSRTPCryptoHandler::Count_X(TUint64,TInt8,const TUint64,TDes8 &)
|
|
CSRTPCryptoHandler::CryptoParams()
|
|
CSRTPCryptoHandler::DeleteSessionKeys()
|
|
CSRTPCryptoHandler::ROC()const
|
|
CSRTPCryptoHandler::ReplayCheck(TInt)
|
|
CSRTPCryptoHandler::SRTPMasterKeyChanged()
|
|
CSRTPCryptoHandler::SRTPMasterSaltChanged()
|
|
CSRTPCryptoHandler::SSRC()const
|
|
CSRTPCryptoHandler::SetEncAndAuthL(TSRTPEncAlg,TSRTPAuthAlg)
|
|
CSRTPCryptoHandler::SetROC(TUint32)
|
|
CSRTPCryptoHandler::~CSRTPCryptoHandler()
|
Constructor & Destructor Documentation
CSRTPCryptoHandlerSRTP(CSRTPStream &)
CSRTPCryptoHandlerSRTP
|
(
|
CSRTPStream
&
|
aStream
|
)
|
[private]
|
~CSRTPCryptoHandlerSRTP()
~CSRTPCryptoHandlerSRTP
|
(
|
)
|
|
Member Functions Documentation
AddAuthTagToPacketL(TUint8 *)
void
|
AddAuthTagToPacketL
|
(
|
TUint8
*
|
aSrtpPacketPtr
|
)
|
[private]
|
AddMKIToPacket(TUint8 *)
void
|
AddMKIToPacket
|
(
|
TUint8
*
|
aSrtpPacketPtr
|
)
|
[private]
|
AddReplayIndex()
void
|
AddReplayIndex
|
(
|
)
|
[private]
|
AuthenticateL()
void
|
AuthenticateL
|
(
|
)
|
[private, virtual]
|
CalculateAuthTagL()
HBufC8
*
|
CalculateAuthTagL
|
(
|
)
|
|
Calculate authentication tag for an RTP packet. Authentication is based on the current TSRTPAuthAlg algorithm setting in CryptoContext If the operation fails, the function leaves with a system error code.
-
leave
-
KErrNone if success, system-wide error code otherwise,
CarryROC()
TBool
|
CarryROC
|
(
|
)
|
[private]
|
CheckMasterKeyIdentifierL()
void
|
CheckMasterKeyIdentifierL
|
(
|
)
|
[private, virtual]
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
CountIV_And_TransformL()
HBufC8
*
|
CountIV_And_TransformL
|
(
|
)
|
[private]
|
CountReceiverPacketIndexL()
void
|
CountReceiverPacketIndexL
|
(
|
)
|
[private]
|
CountSenderPacketIndexL()
void
|
CountSenderPacketIndexL
|
(
|
)
|
[private]
|
CountSndIndxbySndROC()
TInt64
|
CountSndIndxbySndROC
|
(
|
)
|
[private]
|
DecryptL()
HBufC8
*
|
DecryptL
|
(
|
)
|
[private, virtual]
|
DeriveSessionKeysL()
void
|
DeriveSessionKeysL
|
(
|
)
|
[private, virtual]
|
DoAuthenticationL(const TDesC8 &, const TDesC8 &)
HBufC8
*
|
DoAuthenticationL
|
(
|
const
TDesC8
&
|
aAuthenticatedArea,
|
|
const
TDesC8
&
|
aRoc
|
|
)
|
[private]
|
EncryptL()
HBufC8
*
|
EncryptL
|
(
|
)
|
[private, virtual]
|
IfAddAuthTag()
TBool
|
IfAddAuthTag
|
(
|
)
|
[private]
|
InitializeEncryptedPacketL(const TDesC8 &)
void
|
InitializeEncryptedPacketL
|
(
|
const
TDesC8
&
|
aPacket
|
)
|
[private, virtual]
|
InitializePlainPacketL(const TDesC8 &)
void
|
InitializePlainPacketL
|
(
|
const
TDesC8
&
|
aPacket
|
)
|
[private, virtual]
|
MasterKeysUpdated()
TBool
|
MasterKeysUpdated
|
(
|
)
|
[private, virtual]
|
NewL(CSRTPStream &)
Two-phased constructor.
-
leave
-
KErrNone if success, system-wide error code otherwise
NewLC(CSRTPStream &)
Two-phased constructor.
-
leave
-
KErrNone if success, system-wide error code otherwise
ReKeyCheck()
void
|
ReKeyCheck
|
(
|
)
|
[private]
|
ReplayProtectionL()
void
|
ReplayProtectionL
|
(
|
)
|
[private, virtual]
|
SetReceiver_s_l()
void
|
SetReceiver_s_l
|
(
|
)
|
[private]
|
UpdateROC()
void
|
UpdateROC
|
(
|
)
|
[private]
|
Update_s_l_and_RocL()
void
|
Update_s_l_and_RocL
|
(
|
)
|
[private]
|
Member Data Documentation
TInt
iReplayIndexDelta
TInt
|
iReplayIndexDelta
|
[private]
|
TUint64
iSRTPMasterKeyLifeTime
TUint64
|
iSRTPMasterKeyLifeTime
|
[private]
|
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.