sipXtapi home page


Classes | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SdpMediaLine::SdpCrypto Class Reference

#include <SdpMediaLine.h>

Inheritance diagram for SdpMediaLine::SdpCrypto:
Inheritance graph
[legend]
Collaboration diagram for SdpMediaLine::SdpCrypto:
Collaboration graph
[legend]

Classes

class  SdpCryptoKeyParam
 

Public Member Functions

 SdpCrypto ()
 
 SdpCrypto (const SdpCrypto &rSdpCandidatePair)
 
 ~SdpCrypto ()
 
UtlContainableType getContainableType () const
 
unsigned hash () const
 
int compareTo (UtlContainable const *) const
 
SdpCryptooperator= (const SdpCrypto &rhs)
 
UtlCopyableContainable * clone () const
 
void setTag (unsigned int tag)
 
unsigned int getTag () const
 
void setSuite (SdpCryptoSuiteType suite)
 
SdpCryptoSuiteType getSuite () const
 
void addCryptoKeyParam (SdpCryptoKeyMethod keyMethod, const char *keyValue, unsigned int srtpLifetime=0, unsigned int srtpMkiValue=0, unsigned int srtpMkiLength=0)
 
void addCryptoKeyParam (SdpCryptoKeyParam *keyParam)
 
void clearCryptoKeyParams ()
 
const UtlCopyableSList & getCryptoKeyParams () const
 
void setSrtpKdr (unsigned int srtpKdr)
 
unsigned int getSrtpKdr () const
 
void setEncryptedSrtp (bool encryptedSrtp)
 
bool getEncryptedSrtp () const
 
void setEncryptedSrtcp (bool encryptedSrtcp)
 
bool getEncryptedSrtcp () const
 
void setAuthenticatedSrtp (bool authenticatedSrtp)
 
bool getAuthenticatedSrtp () const
 
void setSrtpFecOrder (SdpCryptoSrtpFecOrderType srtpFecOrder)
 
SdpCryptoSrtpFecOrderType getSrtpFecOrder () const
 
void setSrtpFecKey (SdpCryptoKeyMethod keyMethod, const char *keyValue, unsigned int srtpLifetime=0, unsigned int srtpMkiValue=0, unsigned int srtpMkiLength=0)
 
const SdpCryptoKeyParamgetSrtpFecKey () const
 
void setSrtpWsh (unsigned int srtpWsh)
 
unsigned int getSrtpWsh () const
 
void addGenericSessionParam (const char *sessionParam)
 
void clearGenericSessionParams ()
 
const UtlCopyableSList & getGenericSessionParams () const
 

Static Public Member Functions

static SdpCryptoSrtpFecOrderType getSrtpFecOrderFromString (const char *order)
 

Private Attributes

unsigned int mTag
 
SdpCryptoSuiteType mSuite
 
UtlCopyableSList mCryptoKeyParams
 
unsigned int mSrtpKdr
 
bool mEncryptedSrtp
 
bool mEncryptedSrtcp
 
bool mAuthenticatedSrtp
 
SdpCryptoSrtpFecOrderType mSrtpFecOrder
 
SdpCryptoKeyParam mSrtpFecKey
 
unsigned int mSrtpWsh
 
UtlCopyableSList mGenericSessionParams
 

Constructor & Destructor Documentation

SdpCrypto ( )
inline
SdpCrypto ( const SdpCrypto rSdpCandidatePair)
~SdpCrypto ( )
inline

Member Function Documentation

void addCryptoKeyParam ( SdpCryptoKeyMethod  keyMethod,
const char *  keyValue,
unsigned int  srtpLifetime = 0,
unsigned int  srtpMkiValue = 0,
unsigned int  srtpMkiLength = 0 
)
inline
void addCryptoKeyParam ( SdpCryptoKeyParam keyParam)
inline
void addGenericSessionParam ( const char *  sessionParam)
inline
void clearCryptoKeyParams ( )
inline
void clearGenericSessionParams ( )
inline
UtlCopyableContainable* clone ( ) const
inline
int compareTo ( UtlContainable const *  ) const
inline
bool getAuthenticatedSrtp ( ) const
inline
UtlContainableType getContainableType ( ) const
inline
const UtlCopyableSList& getCryptoKeyParams ( ) const
inline
bool getEncryptedSrtcp ( ) const
inline
bool getEncryptedSrtp ( ) const
inline
const UtlCopyableSList& getGenericSessionParams ( ) const
inline
const SdpCryptoKeyParam& getSrtpFecKey ( ) const
inline
SdpCryptoSrtpFecOrderType getSrtpFecOrder ( ) const
inline
SdpMediaLine::SdpCryptoSrtpFecOrderType getSrtpFecOrderFromString ( const char *  order)
static
unsigned int getSrtpKdr ( ) const
inline
unsigned int getSrtpWsh ( ) const
inline
SdpCryptoSuiteType getSuite ( ) const
inline
unsigned int getTag ( ) const
inline
unsigned hash ( ) const
inline
SdpMediaLine::SdpCrypto & operator= ( const SdpCrypto rhs)
void setAuthenticatedSrtp ( bool  authenticatedSrtp)
inline
void setEncryptedSrtcp ( bool  encryptedSrtcp)
inline
void setEncryptedSrtp ( bool  encryptedSrtp)
inline
void setSrtpFecKey ( SdpCryptoKeyMethod  keyMethod,
const char *  keyValue,
unsigned int  srtpLifetime = 0,
unsigned int  srtpMkiValue = 0,
unsigned int  srtpMkiLength = 0 
)
inline
void setSrtpFecOrder ( SdpCryptoSrtpFecOrderType  srtpFecOrder)
inline
void setSrtpKdr ( unsigned int  srtpKdr)
inline
void setSrtpWsh ( unsigned int  srtpWsh)
inline
void setSuite ( SdpCryptoSuiteType  suite)
inline
void setTag ( unsigned int  tag)
inline

Member Data Documentation

bool mAuthenticatedSrtp
private
UtlCopyableSList mCryptoKeyParams
private
bool mEncryptedSrtcp
private
bool mEncryptedSrtp
private
UtlCopyableSList mGenericSessionParams
private
SdpCryptoKeyParam mSrtpFecKey
private
SdpCryptoSrtpFecOrderType mSrtpFecOrder
private
unsigned int mSrtpKdr
private
unsigned int mSrtpWsh
private
SdpCryptoSuiteType mSuite
private
unsigned int mTag
private