|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
Used to accumlate data written to the stream in a SHA1Buffer and convert the data to SHA1. More...
#include <SHA1Stream.hxx>
Public Member Functions | |
| SHA1Stream () | |
| ~SHA1Stream () | |
| Data | getHex () |
| Calls flush() on itself and returns the SHA1 data in hex format. | |
| Data | getBin (unsigned int bits=160) |
| Calls flush() on itself and returns the SHA1 data in binary format. | |
| uint32_t | getUInt32 () |
| Calls getBin(32) and converts to a UInt32. | |
Used to accumlate data written to the stream in a SHA1Buffer and convert the data to SHA1.
Definition at line 81 of file SHA1Stream.hxx.
| SHA1Stream::SHA1Stream | ( | ) |
Definition at line 101 of file SHA1Stream.cxx.
| SHA1Stream::~SHA1Stream | ( | ) |
Definition at line 106 of file SHA1Stream.cxx.
| Data SHA1Stream::getBin | ( | unsigned int | bits = 160 | ) |
Calls flush() on itself and returns the SHA1 data in binary format.
| bits | the lowest order bits in network byte order. bits must be multiple of 8 |
Definition at line 118 of file SHA1Stream.cxx.
| Data SHA1Stream::getHex | ( | ) |
Calls flush() on itself and returns the SHA1 data in hex format.
Definition at line 110 of file SHA1Stream.cxx.
| uint32_t SHA1Stream::getUInt32 | ( | ) |
Calls getBin(32) and converts to a UInt32.
Definition at line 125 of file SHA1Stream.cxx.