IAX2IeAuthMethods Class Reference

#include <ies.h>

Inheritance diagram for IAX2IeAuthMethods:

IAX2IeShort IAX2Ie List of all members.

Public Member Functions

 IAX2IeAuthMethods (BYTE length, BYTE *srcData)
 IAX2IeAuthMethods (short newValue)
void PrintOn (ostream &str) const
virtual BYTE GetKeyValue () const
virtual void StoreDataIn (IAX2IeData &res)
BOOL IsRsaAuthentication ()
BOOL IsMd5Authentication ()
BOOL IsPlainTextAuthentication ()

Static Public Member Functions

static BOOL IsRsaAuthentication (short testValue)
static BOOL IsMd5Authentication (short testValue)
static BOOL IsPlainTextAuthentication (short testValue)

Static Protected Member Functions

static BOOL InternalIsRsa (short testValue)
static BOOL InternalIsMd5 (short testValue)
static BOOL InternalIsPlainText (short testValue)

Detailed Description

An Information Element that contains the authentication methods


Constructor & Destructor Documentation

IAX2IeAuthMethods::IAX2IeAuthMethods ( BYTE  length,
BYTE *  srcData 
) [inline]

Constructor from data read from the network.

Contents are undefined if the network data is bogus/invalid

IAX2IeAuthMethods::IAX2IeAuthMethods ( short  newValue  )  [inline]

Initialise to the supplied short value, which is usually done prior to transmission


Member Function Documentation

void IAX2IeAuthMethods::PrintOn ( ostream &  str  )  const

print this class (nicely) to the designated stream

Reimplemented from IAX2IeShort.

virtual BYTE IAX2IeAuthMethods::GetKeyValue (  )  const [inline, virtual]

Get the key value for this particular Information Element class

Reimplemented from IAX2Ie.

virtual void IAX2IeAuthMethods::StoreDataIn ( IAX2IeData res  )  [inline, virtual]

Take the data from this IAX2Ie, and copy it into the IAX2IeData structure. This is done on processing an incoming frame which contains IAX2Ie in the data section.

Reimplemented from IAX2Ie.

static BOOL IAX2IeAuthMethods::IsRsaAuthentication ( short  testValue  )  [inline, static]

Return true if the supplied value has the RSA key on

static BOOL IAX2IeAuthMethods::IsMd5Authentication ( short  testValue  )  [inline, static]

Return true if the supplied value has the MD5 key on

static BOOL IAX2IeAuthMethods::IsPlainTextAuthentication ( short  testValue  )  [inline, static]

Return true if the supplied value has the plain text key on

BOOL IAX2IeAuthMethods::IsRsaAuthentication (  )  [inline]

Return true if the internal value has the RSA key on

BOOL IAX2IeAuthMethods::IsMd5Authentication (  )  [inline]

Return true if the internal value has the MD5 key on

BOOL IAX2IeAuthMethods::IsPlainTextAuthentication (  )  [inline]

Return true if the internal value has the plain text key on

static BOOL IAX2IeAuthMethods::InternalIsRsa ( short  testValue  )  [inline, static, protected]

Return true if the supplied value has the RSA key on

static BOOL IAX2IeAuthMethods::InternalIsMd5 ( short  testValue  )  [inline, static, protected]

Return true if the supplied value has the MD5 key on

static BOOL IAX2IeAuthMethods::InternalIsPlainText ( short  testValue  )  [inline, static, protected]

Return true if the supplied value has the plain text key on


The documentation for this class was generated from the following file:
Generated on Fri Mar 7 06:34:03 2008 for OPAL by  doxygen 1.5.1