CSRTPStream Class Reference
class CSRTPStream : public CBase
|
Represents an SRTP stream.
Protected Member Functions
|
|
CSRTPStream
(
CSRTPSession
&, const
TUint
,
TBool
)
|
|
CSRTPStream
(
CSRTPSession
&,
TUint
,
CSRTPCryptoContext
*,
MSRTPReKeyingObserver
&,
TBool
)
|
|
CSRTPStream
(
CSRTPSession
&,
TBool
)
|
|
CSRTPStream
(
CSRTPSession
&,
CSRTPCryptoContext
*,
MSRTPReKeyingObserver
&,
TBool
)
|
|
CSRTPStream
(
CSRTPSession
&,
TUint
,
MSRTPReKeyingObserver
&,
TBool
)
|
|
CSRTPStream
(
CSRTPSession
&,
MSRTPReKeyingObserver
&,
TBool
)
|
void
|
CreateCryptoHandlerSRTCPL
()
|
void
|
CreateCryptoHandlerSRTPL
()
|
void
|
UpdateCryptoHandlerL
()
|
Constructor & Destructor Documentation
CSRTPStream(CSRTPSession &, const TUint, TBool)
CSRTPStream(CSRTPSession &, TUint, CSRTPCryptoContext *, MSRTPReKeyingObserver &, TBool)
CSRTPStream(CSRTPSession &, TBool)
CSRTPStream(CSRTPSession &, CSRTPCryptoContext *, MSRTPReKeyingObserver &, TBool)
CSRTPStream(CSRTPSession &, TUint, MSRTPReKeyingObserver &, TBool)
CSRTPStream(CSRTPSession &, MSRTPReKeyingObserver &, TBool)
Member Functions Documentation
CreateCryptoHandlerSRTCPL()
void
|
CreateCryptoHandlerSRTCPL
|
(
|
)
|
[protected]
|
Create RTCP crypto handler
CreateCryptoHandlerSRTPL()
void
|
CreateCryptoHandlerSRTPL
|
(
|
)
|
[protected]
|
Create RTP crypto handler
GetCryptoContext()
Get cryptographic context associated for this stream or the one associated for the session
IsContextSet()
Check if crypto context has been set
ROC()
Get roll-over counter value.
SSRC()
IMPORT_C
TUint
|
SSRC
|
(
|
)
|
const
|
SetROC(TUint32)
IMPORT_C void
|
SetROC
|
(
|
TUint32
|
aROC
|
)
|
|
Set roll-over counter value. RFC 3711 3.3.1
ROC()
can not be reset to 0 after Re-Key
SetSSRC(const TUint)
void
|
SetSSRC
|
(
|
const
TUint
|
aSSRC
|
)
|
|
Set SSRC value if the stream's SSRC is 0 as late binding
Parameters
const
TUint
aSSRC
|
The new SSRC value.
|
StreamType()
IMPORT_C
TBool
|
StreamType
|
(
|
)
|
|
Tell stream type is InStream or OutStream
UpdateCryptoAndStatesL()
void
|
UpdateCryptoAndStatesL
|
(
|
)
|
[pure virtual]
|
Delete the existed crypto context and re-initial the states
-
leave
-
KErrNone if success, system-wide error code otherwise
UpdateCryptoHandlerL()
void
|
UpdateCryptoHandlerL
|
(
|
)
|
[protected]
|
Delete the existed crypto handler and create a new one
Member Data Documentation
CSRTPCryptoContext * iContext
CSRTPCryptoHandlerSRTCP * iHandlerRTCP
CSRTPCryptoHandlerSRTP * iHandlerRTP
TBool
iIsStreamInType
TBool
|
iIsStreamInType
|
[protected]
|
MSRTPReKeyingObserver * iObserver
TSglQueLink
iStreamLink
iStreamLink, Link to list.
const TInt iStreamOffset
const
TInt
|
iStreamOffset
|
[static]
|
iStreamOffset, List offset.
TBool
iStrmSpecificCrypto
TBool
|
iStrmSpecificCrypto
|
[protected]
|
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.