osha1stream Class Reference

A basic output stream for calculating SHA1 digests. More...

Inheritance diagram for osha1stream:
Collaboration diagram for osha1stream:

Public Member Functions

 osha1stream ()
 Default construct. More...
 
sha1buf * rdbuf ()
 This hides both signatures of std::basic_ios::rdbuf() More...
 
SHA1sha1 () noexcept
 Full access to the sha1. More...
 
SHA1Digest digest ()
 Return SHA1::Digest for the data processed until now. More...
 
void reset ()
 Clear the SHA1 calculation. More...
 

Detailed Description

A basic output stream for calculating SHA1 digests.

Definition at line 46 of file OSHA1stream.H.

Constructor & Destructor Documentation

◆ osha1stream()

osha1stream ( )
inline

Default construct.

Definition at line 109 of file OSHA1stream.H.

Member Function Documentation

◆ rdbuf()

sha1buf* rdbuf ( )
inline

This hides both signatures of std::basic_ios::rdbuf()

Definition at line 117 of file OSHA1stream.H.

◆ sha1()

SHA1& sha1 ( )
inlinenoexcept

Full access to the sha1.

Definition at line 122 of file OSHA1stream.H.

Referenced by OSHA1stream::rewind(), and OSHA1stream::sha1().

Here is the caller graph for this function:

◆ digest()

SHA1Digest digest ( )
inline

Return SHA1::Digest for the data processed until now.

Definition at line 127 of file OSHA1stream.H.

Referenced by OSHA1stream::digest().

Here is the caller graph for this function:

◆ reset()

void reset ( )
inline

Clear the SHA1 calculation.

Definition at line 132 of file OSHA1stream.H.

Referenced by OSHA1stream::reset().

Here is the caller graph for this function:

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