OPAL
Version 3.10.4
|
#include <ies.h>
Public Member Functions | |
IAX2IeAuthMethods (BYTE length, BYTE *srcData) | |
IAX2IeAuthMethods (short newValue) | |
virtual void | PrintOn (ostream &str) const |
virtual BYTE | GetKeyValue () const |
virtual void | StoreDataIn (IAX2IeData &res) |
PBoolean | IsRsaAuthentication () |
PBoolean | IsMd5Authentication () |
PBoolean | IsPlainTextAuthentication () |
Static Public Member Functions | |
static PBoolean | IsRsaAuthentication (short testValue) |
static PBoolean | IsMd5Authentication (short testValue) |
static PBoolean | IsPlainTextAuthentication (short testValue) |
Static Protected Member Functions | |
static PBoolean | InternalIsRsa (short testValue) |
static PBoolean | InternalIsMd5 (short testValue) |
static PBoolean | InternalIsPlainText (short testValue) |
An Information Element that contains the authentication methods
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
References IAX2Ie::SetData().
virtual BYTE IAX2IeAuthMethods::GetKeyValue | ( | ) | const [inline, virtual] |
Get the key value for this particular Information Element class
Reimplemented from IAX2Ie.
References IAX2Ie::ie_authMethods.
static PBoolean IAX2IeAuthMethods::InternalIsMd5 | ( | short | testValue | ) | [inline, static, protected] |
Return true if the supplied value has the MD5 key on
Referenced by IsMd5Authentication().
static PBoolean IAX2IeAuthMethods::InternalIsPlainText | ( | short | testValue | ) | [inline, static, protected] |
Return true if the supplied value has the plain text key on
Referenced by IsPlainTextAuthentication().
static PBoolean IAX2IeAuthMethods::InternalIsRsa | ( | short | testValue | ) | [inline, static, protected] |
Return true if the supplied value has the RSA key on
Referenced by IsRsaAuthentication().
static PBoolean IAX2IeAuthMethods::IsMd5Authentication | ( | short | testValue | ) | [inline, static] |
Return true if the supplied value has the MD5 key on
References InternalIsMd5().
PBoolean IAX2IeAuthMethods::IsMd5Authentication | ( | ) | [inline] |
Return true if the internal value has the MD5 key on
References IAX2IeShort::dataValue, InternalIsMd5(), and IAX2Ie::IsValid().
static PBoolean IAX2IeAuthMethods::IsPlainTextAuthentication | ( | short | testValue | ) | [inline, static] |
Return true if the supplied value has the plain text key on
References InternalIsPlainText().
PBoolean IAX2IeAuthMethods::IsPlainTextAuthentication | ( | ) | [inline] |
Return true if the internal value has the plain text key on
References IAX2IeShort::dataValue, InternalIsPlainText(), and IAX2Ie::IsValid().
static PBoolean IAX2IeAuthMethods::IsRsaAuthentication | ( | short | testValue | ) | [inline, static] |
Return true if the supplied value has the RSA key on
References InternalIsRsa().
PBoolean IAX2IeAuthMethods::IsRsaAuthentication | ( | ) | [inline] |
Return true if the internal value has the RSA key on
References IAX2IeShort::dataValue, InternalIsRsa(), and IAX2Ie::IsValid().
virtual void IAX2IeAuthMethods::PrintOn | ( | ostream & | str | ) | const [virtual] |
print this class (nicely) to the designated stream
Reimplemented from IAX2IeShort.
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.
References IAX2IeData::authMethods, and IAX2IeShort::dataValue.