|
ewmscp
..
|
class to calculate checksums via openssl. More...
#include <sslCheckSum.h>
Public Member Functions | |
| sslSum (const std::string &name) | |
| virtual | ~sslSum () |
| void | update (void *data, size_t size) override |
| proces size bytes in the block at data More... | |
| void | update (size_t size) override |
| proces size many zero bytes More... | |
| void | finish () override |
| finish calculation ad write to result More... | |
Public Member Functions inherited from checksum::base | |
| virtual | ~base ()=default |
| virtual bool | parallelizable () const |
| const std::string & | getName () const |
| const std::string & | getResult () const |
| void | setExpectedResult (const std::string &expectedResult) |
| const std::string & | getExpectedResult () const |
| bool | checkExpectation () const |
Static Private Member Functions | |
| static void | createFactoryCallback (const OBJ_NAME *obj, void *) |
| static bool | createFactories () |
Private Attributes | |
| decltype(EVP_MD_CTX_create()) | ctx |
| decltype(EVP_md5()) | mdType |
Static Private Attributes | |
| static bool | factoryInitStateDummy |
Additional Inherited Members | |
Static Public Member Functions inherited from checksum::base | |
| static factoryClass * | newFactory (const std::string &aName) |
| template<class T > | |
| static void | addAllowedNamesToOption (T &option) |
Protected Member Functions inherited from checksum::base | |
| base (const std::string &aName) | |
Static Protected Member Functions inherited from checksum::base | |
| static std::map< std::string, factoryClass * > & | getFactoryMap () |
Protected Attributes inherited from checksum::base | |
| const std::string & | name |
| std::string | result |
| std::string | expected |
class to calculate checksums via openssl.
Definition at line 11 of file sslCheckSum.h.
| checksum::sslSum::sslSum | ( | const std::string & | name | ) |
|
virtual |
Definition at line 41 of file sslCheckSum.cpp.
References ctx.
|
staticprivate |
Definition at line 24 of file sslCheckSum.cpp.
References createFactoryCallback().
|
staticprivate |
Definition at line 10 of file sslCheckSum.cpp.
References checksum::base::name.
Referenced by createFactories().
|
overridevirtual |
finish calculation ad write to result
Implements checksum::base.
Definition at line 57 of file sslCheckSum.cpp.
References ctx, mdType, and checksum::base::result.
|
overridevirtual |
proces size many zero bytes
Implements checksum::base.
Definition at line 48 of file sslCheckSum.cpp.
References ctx, block::nullBuffer(), and block::nullBufferSize().
|
overridevirtual |
proces size bytes in the block at data
Implements checksum::base.
Definition at line 45 of file sslCheckSum.cpp.
References ctx.
|
private |
|
staticprivate |
Definition at line 15 of file sslCheckSum.h.
|
private |
Definition at line 17 of file sslCheckSum.h.
1.8.17