reSIProcate/rutil  9694
Public Member Functions
resip::MD5Stream Class Reference

Used to accumlate data written to the stream in a MD5Buffer and convert the data to MD5. More...

#include <MD5Stream.hxx>

Inheritance diagram for resip::MD5Stream:
Inheritance graph
[legend]
Collaboration diagram for resip::MD5Stream:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MD5Stream ()
 ~MD5Stream ()
Data getHex ()
 Calls flush() on itself and returns the MD5 data in hex format.
Data getBin ()

Detailed Description

Used to accumlate data written to the stream in a MD5Buffer and convert the data to MD5.

Definition at line 35 of file MD5Stream.hxx.


Constructor & Destructor Documentation

MD5Stream::MD5Stream ( )

Definition at line 64 of file MD5Stream.cxx.

   : std::ostream(this)
{
}
MD5Stream::~MD5Stream ( )

Definition at line 69 of file MD5Stream.cxx.

{}

Member Function Documentation

Data MD5Stream::getBin ( )

Reimplemented from resip::MD5Buffer.

Definition at line 81 of file MD5Stream.cxx.

{
   flush();
   return MD5Buffer::getBin();
}
Data MD5Stream::getHex ( )

Calls flush() on itself and returns the MD5 data in hex format.

Returns:
the MD5 hexadecimal representation of the data written to the stream and convert the data to MD5.

Reimplemented from resip::MD5Buffer.

Definition at line 73 of file MD5Stream.cxx.

Referenced by main().

{
   flush();
   return MD5Buffer::getHex();
   //return mStreambuf.getHex();
}

The documentation for this class was generated from the following files: