reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
SHA1Stream.hxx File Reference

DEPRECATED - Use DigestStream.hxx instead. More...

#include <iostream>
#include <memory>
#include "rutil/compat.hxx"
#include "rutil/Data.hxx"
#include "rutil/ssl/OpenSSLDeleter.hxx"

Go to the source code of this file.

Classes

class  resip::SHA1Buffer
 An implementation of std::streambuf used to back the SHA1Stream. More...
 
class  resip::SHA1Stream
 Used to accumlate data written to the stream in a SHA1Buffer and convert the data to SHA1. More...
 

Namespaces

namespace  resip
 dcm! – add UnusedChecking(_enum) below;
 

Detailed Description

DEPRECATED - Use DigestStream.hxx instead.

Deprecated:
This class is deprecated. Transition to DigestStream for unified hashing support.

Transition Guide

New Usage:

// You must explicitly pass the SHA1 type
ds << "data";
resip::Data hash = ds.getHex();
Used to accumlate data written to the stream in a DigestBuffer and convert the data to Digest.

Definition in file SHA1Stream.hxx.