1#if !defined(RESIP_SHA1STREAM_HXX)
2#define RESIP_SHA1STREAM_HXX
4#if defined(HAVE_CONFIG_H)
14#pragma warning(1: 4996)
72 std::unique_ptr<EVP_MD_CTX, OpenSSLDeleter> mContext;
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
An implementation of std::streambuf used to back the SHA1Stream.
virtual int overflow(int c=-1)
Data getBin(unsigned int bits)
Used to accumlate data written to the stream in a SHA1Buffer and convert the data to SHA1.
Data getBin(unsigned int bits=160)
Calls flush() on itself and returns the SHA1 data in binary format.
Data getHex()
Calls flush() on itself and returns the SHA1 data in hex format.
uint32_t getUInt32()
Calls getBin(32) and converts to a UInt32.
This file is used to handle compatibility fixes/tweaks so reSIProcate can function on multiple platfo...
#define RESIP_DEPRECATED(x)
dcm! – add UnusedChecking(_enum) below;