OPAL
Version 3.14.3
|
#include <ies.h>
Public Member Functions | |
IAX2IeMd5Result (BYTE length, BYTE *srcData) | |
IAX2IeMd5Result (const PString &newValue) | |
IAX2IeMd5Result (const PString &challenge, const PString &password) | |
IAX2IeMd5Result (IAX2Encryption &encryption) | |
void | InitializeChallengePassword (const PString &newChallenge, const PString &newPassword) |
virtual void | PrintOn (ostream &str) const |
virtual BYTE | GetKeyValue () const |
virtual void | StoreDataIn (IAX2IeData &res) |
PBYTEArray & | GetDataBlock () |
![]() | |
IAX2IeString (BYTE length, BYTE *srcData) | |
IAX2IeString (const PString &newValue) | |
IAX2IeString (const char *newValue) | |
IAX2IeString () | |
virtual BYTE | GetLengthOfData () const |
void | SetData (const PString &newData) |
void | SetData (const char *newData) |
PString | ReadData () |
![]() | |
IAX2Ie () | |
virtual | ~IAX2Ie () |
virtual PBoolean | IsValid () |
int | GetBinarySize () const |
void | SetData (int &) |
int | ReadData () |
void | WriteBinary (void *data, PINDEX &writeIndex) |
Protected Attributes | |
PBYTEArray | dataBlock |
![]() | |
PString | dataValue |
![]() | |
PBoolean | validData |
An Information Element that contains the MD5 chaallenge result
|
inline |
Constructor from data read from the network.
Contents are undefined if the network data is bogus/invalid
|
inline |
Initialise to the supplied string value
References IAX2IeString::SetData().
IAX2IeMd5Result::IAX2IeMd5Result | ( | const PString & | challenge, |
const PString & | password | ||
) |
Take the challenge and password, calculate the result, and store
IAX2IeMd5Result::IAX2IeMd5Result | ( | IAX2Encryption & | encryption | ) |
Take the supplied Iax2Encrption arguement, calculate the result, and store
|
inline |
GetAccess to the stomach, which is the concatanation of the various components used to make a key
References dataBlock.
|
inlinevirtual |
Get the key value for this particular Information Element class
Reimplemented from IAX2Ie.
References IAX2Ie::ie_md5Result.
void IAX2IeMd5Result::InitializeChallengePassword | ( | const PString & | newChallenge, |
const PString & | newPassword | ||
) |
Initialize the internal structurees
|
virtual |
print this class (nicely) to the designated stream
Reimplemented from IAX2IeString.
|
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 IAX2IeString::dataValue, and IAX2IeData::md5Result.
|
protected |
The contents of the stomach in a binary block
Referenced by GetDataBlock().