#include <ies.h>
Inheritance diagram for IAX2IeAuthMethods:
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) |
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
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