#include <CheckSum.h>
Public Member Functions | |
| CheckSum () | |
| CheckSum (const std::string &type, const std::string &checksum) | |
| CheckSum (const std::string &type, std::istream &input_r) | |
| std::string | type () const |
| std::string | checksum () const |
| bool | empty () const |
Static Public Member Functions | |
| static const std::string & | md5Type () |
| static const std::string & | shaType () |
| static const std::string & | sha1Type () |
| static const std::string & | sha256Type () |
| static CheckSum | md5 (const std::string &checksum) |
| static CheckSum | sha (const std::string &checksum) |
| static CheckSum | sha1 (const std::string &checksum) |
| static CheckSum | sha256 (const std::string &checksum) |
| static CheckSum | md5 (std::istream &input_r) |
| static CheckSum | sha (std::istream &input_r) |
| static CheckSum | sha1 (std::istream &input_r) |
| static CheckSum | sha256 (std::istream &input_r) |
Private Attributes | |
| std::string | _type |
| std::string | _checksum |
Related Functions | |
| (Note that these are not member functions.) | |
| std::ostream & | operator<< (std::ostream &str, const CheckSum &obj) |
| bool | operator== (const CheckSum &lhs, const CheckSum &rhs) |
| bool | operator!= (const CheckSum &lhs, const CheckSum &rhs) |
Definition at line 25 of file CheckSum.h.
|
|
Definition at line 38 of file CheckSum.cc. |
|
||||||||||||
|
Definition at line 41 of file CheckSum.cc. References _type, sha256Type(), and shaType(). |
|
||||||||||||
|
Definition at line 98 of file CheckSum.cc. References _checksum, _type, zypp::Digest::digest(), and zypp::str::toLower(). |
|
|
Definition at line 25 of file CheckSum.cc. References _type. Referenced by md5(). |
|
|
Definition at line 28 of file CheckSum.cc. References _type. Referenced by CheckSum(), and sha(). |
|
|
Definition at line 31 of file CheckSum.cc. References _type. |
|
|
Definition at line 34 of file CheckSum.cc. References _type. Referenced by CheckSum(), and sha256(). |
|
|
Definition at line 40 of file CheckSum.h. References CheckSum(), and md5Type(). |
|
|
Definition at line 42 of file CheckSum.h. References CheckSum(), and shaType(). |
|
|
Definition at line 44 of file CheckSum.h. References CheckSum(), and sha1Type(). |
|
|
Definition at line 46 of file CheckSum.h. References CheckSum(), and sha256Type(). |
|
|
Definition at line 49 of file CheckSum.h. References CheckSum(), and md5Type(). |
|
|
Definition at line 51 of file CheckSum.h. References CheckSum(), and sha1Type(). |
|
|
Definition at line 53 of file CheckSum.h. References CheckSum(), and sha1Type(). |
|
|
Definition at line 55 of file CheckSum.h. References CheckSum(), and sha256Type(). |
|
|
Definition at line 59 of file CheckSum.h. References _type. Referenced by zypp::source::yum::YUMScriptImpl::do_script(), empty(), operator==(), zypp::source::SourceImpl::providePackage(), and zypp::source::yum::YUMScriptImpl::undo_script(). |
|
|
Definition at line 62 of file CheckSum.h. References _checksum. Referenced by zypp::source::yum::YUMScriptImpl::do_script(), zypp::source::susetags::SuseTagsImpl::downloadNeeded(), empty(), zypp::operator<<(), operator==(), zypp::source::SourceImpl::providePackage(), and zypp::source::yum::YUMScriptImpl::undo_script(). |
|
|
Definition at line 65 of file CheckSum.h. References checksum(), and type(). Referenced by zypp::source::yum::YUMSourceImpl::downloadNeeded(), zypp::source::susetags::SuseTagsImpl::downloadNeeded(), zypp::source::provideFile(), and zypp::source::susetags::SuseTagsImpl::verifyFile(). |
|
||||||||||||
|
Stream output. Definition at line 111 of file CheckSum.cc. |
|
||||||||||||
|
Definition at line 77 of file CheckSum.h. References checksum(), and type(). |
|
||||||||||||
|
Definition at line 81 of file CheckSum.h. |
|
|
Definition at line 69 of file CheckSum.h. Referenced by CheckSum(), md5Type(), sha1Type(), sha256Type(), shaType(), and type(). |
|
|
Definition at line 70 of file CheckSum.h. Referenced by checksum(), and CheckSum(). |
1.4.6