The output stream for calculating SHA1 digests. More...
#include <OpenFOAM/OSHA1stream.H>
The output stream for calculating SHA1 digests.
An output stream for calculating SHA1 digests.
Definition at line 134 of file OSHA1stream.H.
Public Member Functions | |
OSHA1stream (streamFormat format=ASCII, versionNumber version=currentVersion) | |
Construct and set stream status.
| |
~OSHA1stream () | |
Foam::SHA1 & | sha1 () |
Full access to the sha1.
| |
Foam::SHA1Digest | digest () |
Return SHA1::Digest for the data processed until now.
| |
void | rewind () |
Clear the SHA1 calculation.
|
OSHA1stream | ( | streamFormat | format = ASCII ,
|
versionNumber | version = currentVersion
|
||
) | [inline]
|
Construct and set stream status.
Definition at line 153 of file OSHA1stream.H.
~OSHA1stream | ( | ) | [inline]
|
Definition at line 170 of file OSHA1stream.H.
References OSstream::stream().
Foam::SHA1& sha1 | ( | ) | [inline]
|
Full access to the sha1.
Definition at line 181 of file OSHA1stream.H.
References OSstream::stream().
Referenced by OSHA1stream::digest(), and OSHA1stream::rewind().
Foam::SHA1Digest digest | ( | ) | [inline]
|
Return SHA1::Digest for the data processed until now.
Definition at line 187 of file OSHA1stream.H.
References SHA1::digest(), and OSHA1stream::sha1().
Referenced by dictionary::digest().
void rewind | ( | ) | [inline]
|
Clear the SHA1 calculation.
Definition at line 195 of file OSHA1stream.H.
References SHA1::clear(), and OSHA1stream::sha1().