#include <ies.h>
Inheritance diagram for IAX2IeMd5Result:
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) |
void | PrintOn (ostream &str) const |
virtual BYTE | GetKeyValue () const |
virtual void | StoreDataIn (IAX2IeData &res) |
PBYTEArray & | GetDataBlock () |
Protected Attributes | |
PBYTEArray | dataBlock |
IAX2IeMd5Result::IAX2IeMd5Result | ( | BYTE | length, | |
BYTE * | srcData | |||
) | [inline] |
Constructor from data read from the network.
Contents are undefined if the network data is bogus/invalid
IAX2IeMd5Result::IAX2IeMd5Result | ( | const PString & | newValue | ) | [inline] |
Initialise to the supplied string value
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
void IAX2IeMd5Result::InitializeChallengePassword | ( | const PString & | newChallenge, | |
const PString & | newPassword | |||
) |
Initialize the internal structurees
void IAX2IeMd5Result::PrintOn | ( | ostream & | str | ) | const |
print this class (nicely) to the designated stream
Reimplemented from IAX2IeString.
virtual BYTE IAX2IeMd5Result::GetKeyValue | ( | ) | const [inline, virtual] |
Get the key value for this particular Information Element class
Reimplemented from IAX2Ie.
virtual void IAX2IeMd5Result::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.
PBYTEArray& IAX2IeMd5Result::GetDataBlock | ( | ) | [inline] |
GetAccess to the stomach, which is the concatanation of the various components used to make a key
PBYTEArray IAX2IeMd5Result::dataBlock [protected] |
The contents of the stomach in a binary block