OPAL
Version 3.18.8
|
#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 () |
![]() | |
IAX2Ie () | |
virtual | ~IAX2Ie () |
virtual PBoolean | IsValid () |
int | GetBinarySize () const |
void | SetData (int &) |
int | ReadData () |
void | WriteBinary (void *data, PINDEX &writeIndex) |
Static Public Member Functions | |
static PBoolean | IsRsaAuthentication (short testValue) |
static PBoolean | IsMd5Authentication (short testValue) |
static PBoolean | IsPlainTextAuthentication (short testValue) |
![]() | |
static IAX2Ie * | BuildInformationElement (BYTE _typeCode, BYTE length, BYTE *srcData) |
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
|
inline |
Constructor from data read from the network.
Contents are undefined if the network data is bogus/invalid
|
inline |
Initialise to the supplied short value, which is usually done prior to transmission
References IAX2Ie::SetData().
|
inlinevirtual |
Get the key value for this particular Information Element class
Reimplemented from IAX2Ie.
References IAX2Ie::ie_authMethods.
|
inlinestaticprotected |
Return true if the supplied value has the MD5 key on
Referenced by IsMd5Authentication().
|
inlinestaticprotected |
Return true if the supplied value has the plain text key on
Referenced by IsPlainTextAuthentication().
|
inlinestaticprotected |
Return true if the supplied value has the RSA key on
Referenced by IsRsaAuthentication().
|
inlinestatic |
Return true if the supplied value has the MD5 key on
References InternalIsMd5().
|
inline |
Return true if the internal value has the MD5 key on
References IAX2IeShort::dataValue, InternalIsMd5(), and IAX2Ie::IsValid().
|
inlinestatic |
Return true if the supplied value has the plain text key on
References InternalIsPlainText().
|
inline |
Return true if the internal value has the plain text key on
References IAX2IeShort::dataValue, InternalIsPlainText(), and IAX2Ie::IsValid().
|
inlinestatic |
Return true if the supplied value has the RSA key on
References InternalIsRsa().
|
inline |
Return true if the internal value has the RSA key on
References IAX2IeShort::dataValue, InternalIsRsa(), and IAX2Ie::IsValid().
|
virtual |
print this class (nicely) to the designated stream
Reimplemented from IAX2IeShort.
|
inlinevirtual |
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.