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

An implementation of std::streambuf used to back the SHA1Stream. More...

#include <SHA1Stream.hxx>

Inheritance diagram for resip::SHA1Buffer:
[legend]

Public Member Functions

 SHA1Buffer ()
 
virtual ~SHA1Buffer ()
 
Data getHex ()
 
Data getBin (unsigned int bits)
 

Protected Member Functions

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

Detailed Description

An implementation of std::streambuf used to back the SHA1Stream.

Definition at line 53 of file SHA1Stream.hxx.

Constructor & Destructor Documentation

◆ SHA1Buffer()

SHA1Buffer::SHA1Buffer ( )

Definition at line 31 of file SHA1Stream.cxx.

◆ ~SHA1Buffer()

SHA1Buffer::~SHA1Buffer ( )
virtual

Definition at line 45 of file SHA1Stream.cxx.

Member Function Documentation

◆ getBin()

Data SHA1Buffer::getBin ( unsigned int  bits)
Parameters
bitsthe lowest order bits in network byte order. bits must be multiple of 8
Returns
the SHA1 binary representation of the data from the buffer

Definition at line 88 of file SHA1Stream.cxx.

◆ getHex()

Data SHA1Buffer::getHex ( )
Returns
the SHA1 hexadecimal representation of the data from the buffer

Definition at line 76 of file SHA1Stream.cxx.

◆ overflow()

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

Definition at line 63 of file SHA1Stream.cxx.

◆ sync()

int SHA1Buffer::sync ( )
protectedvirtual

Definition at line 50 of file SHA1Stream.cxx.


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