A streambuf class for calculating SHA1 digests. More...
Public Member Functions | |
sha1streambuf () | |
Construct null. More... | |
virtual std::streamsize | xsputn (const char *str, std::streamsize n) |
Process unbuffered. More... | |
Private Attributes | |
SHA1 | sha1_ |
This does all the work and has its own buffering. More... | |
Friends | |
class | osha1stream |
A streambuf class for calculating SHA1 digests.
Definition at line 53 of file OSHA1stream.H.
|
inline |
Construct null.
Definition at line 69 of file OSHA1stream.H.
|
inlinevirtual |
Process unbuffered.
Definition at line 77 of file OSHA1stream.H.
References SHA1::append(), n, and sha1streambuf::sha1_.
|
friend |
Definition at line 62 of file OSHA1stream.H.
|
private |
This does all the work and has its own buffering.
Definition at line 60 of file OSHA1stream.H.
Referenced by osha1stream::sha1(), and sha1streambuf::xsputn().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.