MIRA
Public Member Functions | Protected Member Functions | List of all members
SHA256StreamBuf Class Reference

The SHA256 hash function. More...

#include <security/SHA256.h>

Inheritance diagram for SHA256StreamBuf:
Inheritance graph
[legend]

Public Member Functions

 SHA256StreamBuf ()
 Default constructor. More...
 
virtual ~SHA256StreamBuf ()
 The destructor. More...
 
virtual void reset ()
 Implementation of HashFunction. More...
 
virtual HashDigest getDigest () const
 Implementation of HashFunction. More...
 

Protected Member Functions

virtual std::streamsize xsputn (const char *s, std::streamsize n)
 Implementation of std::basic_streambuf. More...
 

Detailed Description

The SHA256 hash function.

Constructor & Destructor Documentation

◆ SHA256StreamBuf()

Default constructor.

◆ ~SHA256StreamBuf()

virtual ~SHA256StreamBuf ( )
virtual

The destructor.

Member Function Documentation

◆ reset()

virtual void reset ( )
virtual

Implementation of HashFunction.

Implements HashStreamBuf.

◆ getDigest()

virtual HashDigest getDigest ( ) const
virtual

Implementation of HashFunction.

Implements HashStreamBuf.

◆ xsputn()

virtual std::streamsize xsputn ( const char *  s,
std::streamsize  n 
)
protectedvirtual

Implementation of std::basic_streambuf.


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