|
reSIProcate/rutil
9694
|
Used to accumlate data written to the stream in a DigestBuffer and convert the data to Digest. More...
#include <DigestStream.hxx>


Public Member Functions | |
| DigestStream (const EVP_MD *digest) | |
| ~DigestStream () | |
| Data | getHex () |
| Calls flush() on itself and returns the Digest data in hex format. | |
| Data | getBin () |
Used to accumlate data written to the stream in a DigestBuffer and convert the data to Digest.
Definition at line 35 of file DigestStream.hxx.
| DigestStream::DigestStream | ( | const EVP_MD * | digest | ) |
Definition at line 70 of file DigestStream.cxx.
: DigestBuffer(digest), std::ostream(this) { }
| DigestStream::~DigestStream | ( | ) |
Definition at line 75 of file DigestStream.cxx.
{}
| Data DigestStream::getBin | ( | ) |
Reimplemented from resip::DigestBuffer.
Definition at line 87 of file DigestStream.cxx.
Referenced by main().
{
flush();
return DigestBuffer::getBin();
}
| Data DigestStream::getHex | ( | ) |
Calls flush() on itself and returns the Digest data in hex format.
Reimplemented from resip::DigestBuffer.
Definition at line 79 of file DigestStream.cxx.
Referenced by main().
{
flush();
return DigestBuffer::getHex();
//return mStreambuf.getHex();
}
1.7.5.1