Loading...
Searching...
No Matches
osha1stream Class Reference

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

#include <OSHA1stream.H>

Inheritance diagram for osha1stream:
Collaboration diagram for osha1stream:

Public Member Functions

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

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.

References Foam::noexcept.

◆ digest()

SHA1Digest digest ( )
inline

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

Definition at line 127 of file OSHA1stream.H.

◆ reset()

void reset ( )
inline

Clear the SHA1 calculation.

Definition at line 132 of file OSHA1stream.H.


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