|
MIRA
|
A generic hash streambuf class. More...
#include <security/HashStream.h>

Public Member Functions | |
| virtual void | reset ()=0 |
| Reset the hash value. More... | |
| virtual HashDigest | getDigest () const =0 |
| Return the current digest of the hash algorithm. More... | |
A generic hash streambuf class.
A specific hash streambuf must inherit from this class and must overload the virtual protected member function xsputn from basic_streambuf.
|
pure virtual |
Reset the hash value.
Implemented in MD5StreamBuf, SHA1StreamBuf, SHA256StreamBuf, and OpenSSLWrapperMD.
|
pure virtual |
Return the current digest of the hash algorithm.
Implemented in MD5StreamBuf, SHA1StreamBuf, SHA256StreamBuf, and OpenSSLWrapperMD.
1.8.14