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

Used to accumlate data written to the stream in a DigestBuffer and convert the data to Digest. More...

#include <DigestStream.hxx>

Inheritance diagram for resip::DigestStream:
[legend]

Public Member Functions

 DigestStream (DigestType digestType=MD5)
 
 ~DigestStream ()
 
Data getHex ()
 Calls flush() on itself and returns the Digest data in hex format.
 
const Data & getBin ()
 
size_t bytesTaken ()
 

Static Public Member Functions

static const Data & getDigestName (DigestType digestType)
 

Detailed Description

Used to accumlate data written to the stream in a DigestBuffer and convert the data to Digest.

Definition at line 54 of file DigestStream.hxx.

Constructor & Destructor Documentation

◆ DigestStream()

DigestStream::DigestStream ( DigestType  digestType = MD5)

Definition at line 168 of file DigestStream.cxx.

◆ ~DigestStream()

DigestStream::~DigestStream ( )

Definition at line 173 of file DigestStream.cxx.

Member Function Documentation

◆ bytesTaken()

size_t DigestStream::bytesTaken ( )

Definition at line 192 of file DigestStream.cxx.

◆ getBin()

const Data & DigestStream::getBin ( )

Definition at line 185 of file DigestStream.cxx.

◆ getDigestName()

const Data & DigestStream::getDigestName ( DigestType  digestType)
static

Definition at line 205 of file DigestStream.cxx.

◆ getHex()

Data DigestStream::getHex ( )

Calls flush() on itself and returns the Digest data in hex format.

Returns
the Digest hexadecimal representation of the data written to the stream and convert the data to Digest.

Definition at line 178 of file DigestStream.cxx.


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