reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::DigestBuffer Class Reference

Implementation of std::streambuf used to back the DigestStream. More...

#include <DigestStream.hxx>

Inheritance diagram for resip::DigestBuffer:
[legend]

Public Member Functions

 DigestBuffer (DigestType digestType=MD5)
 
virtual ~DigestBuffer ()
 
Data getHex ()
 
const Data & getBin ()
 
size_t bytesTaken ()
 

Protected Member Functions

virtual int sync ()
 
virtual int overflow (int c=-1)
 

Detailed Description

Implementation of std::streambuf used to back the DigestStream.

Definition at line 24 of file DigestStream.hxx.

Constructor & Destructor Documentation

◆ DigestBuffer()

DigestBuffer::DigestBuffer ( DigestType  digestType = MD5)

Definition at line 20 of file DigestStream.cxx.

◆ ~DigestBuffer()

DigestBuffer::~DigestBuffer ( )
virtual

Definition at line 82 of file DigestStream.cxx.

Member Function Documentation

◆ bytesTaken()

size_t resip::DigestBuffer::bytesTaken ( )
inline

Definition at line 36 of file DigestStream.hxx.

◆ getBin()

const Data & DigestBuffer::getBin ( )
Returns
the Digest binary representation of the data from the buffer

Definition at line 145 of file DigestStream.cxx.

◆ getHex()

Data DigestBuffer::getHex ( )
Returns
the Digest hexadecimal representation of the data from the buffer

Definition at line 139 of file DigestStream.cxx.

◆ overflow()

int DigestBuffer::overflow ( int  c = -1)
protectedvirtual

Definition at line 126 of file DigestStream.cxx.

◆ sync()

int DigestBuffer::sync ( )
protectedvirtual

Definition at line 99 of file DigestStream.cxx.


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