#include <CheckSum.h>
|
| CheckSum () |
| Default Ctor: empty checksum.
|
|
| CheckSum (const std::string &type, const std::string &checksum) |
| Creates a checksum for algorithm.
|
|
| CheckSum (const std::string &checksum) |
| Creates a checksum auto probing the algorithm type.
|
|
| CheckSum (const std::string &type, std::istream &input_r) |
| Reads the content of.
|
|
| CheckSum (const std::string &type, std::istream &&input_r) |
| Ctor from temporary istream.
|
|
Definition at line 33 of file CheckSum.h.
◆ CheckSum() [1/5]
zypp::CheckSum::CheckSum |
( |
| ) |
|
|
inline |
Default Ctor: empty checksum.
Definition at line 37 of file CheckSum.h.
◆ CheckSum() [2/5]
zypp::CheckSum::CheckSum |
( |
const std::string & |
type, |
|
|
const std::string & |
checksum |
|
) |
| |
Creates a checksum for algorithm.
- Parameters
-
- Exceptions
-
Definition at line 49 of file CheckSum.cc.
◆ CheckSum() [3/5]
zypp::CheckSum::CheckSum |
( |
const std::string & |
checksum | ) |
|
|
inline |
Creates a checksum auto probing the algorithm type.
- Exceptions
-
Definition at line 48 of file CheckSum.h.
◆ CheckSum() [4/5]
zypp::CheckSum::CheckSum |
( |
const std::string & |
type, |
|
|
std::istream & |
input_r |
|
) |
| |
Reads the content of.
- Parameters
-
input_r | and computes the checksum. |
Definition at line 154 of file CheckSum.cc.
◆ CheckSum() [5/5]
zypp::CheckSum::CheckSum |
( |
const std::string & |
type, |
|
|
std::istream && |
input_r |
|
) |
| |
|
inline |
Ctor from temporary istream.
Definition at line 58 of file CheckSum.h.
◆ md5Type()
const std::string & zypp::CheckSum::md5Type |
( |
| ) |
|
|
static |
◆ shaType()
const std::string & zypp::CheckSum::shaType |
( |
| ) |
|
|
static |
◆ sha1Type()
const std::string & zypp::CheckSum::sha1Type |
( |
| ) |
|
|
static |
◆ sha224Type()
const std::string & zypp::CheckSum::sha224Type |
( |
| ) |
|
|
static |
◆ sha256Type()
const std::string & zypp::CheckSum::sha256Type |
( |
| ) |
|
|
static |
◆ sha384Type()
const std::string & zypp::CheckSum::sha384Type |
( |
| ) |
|
|
static |
◆ sha512Type()
const std::string & zypp::CheckSum::sha512Type |
( |
| ) |
|
|
static |
◆ md5() [1/3]
static CheckSum zypp::CheckSum::md5 |
( |
const std::string & |
checksum | ) |
|
|
inlinestatic |
◆ sha() [1/3]
static CheckSum zypp::CheckSum::sha |
( |
const std::string & |
checksum | ) |
|
|
inlinestatic |
◆ sha1() [1/3]
static CheckSum zypp::CheckSum::sha1 |
( |
const std::string & |
checksum | ) |
|
|
inlinestatic |
◆ sha224() [1/3]
static CheckSum zypp::CheckSum::sha224 |
( |
const std::string & |
checksum | ) |
|
|
inlinestatic |
◆ sha256() [1/3]
static CheckSum zypp::CheckSum::sha256 |
( |
const std::string & |
checksum | ) |
|
|
inlinestatic |
◆ sha384() [1/3]
static CheckSum zypp::CheckSum::sha384 |
( |
const std::string & |
checksum | ) |
|
|
inlinestatic |
◆ sha512() [1/3]
static CheckSum zypp::CheckSum::sha512 |
( |
const std::string & |
checksum | ) |
|
|
inlinestatic |
◆ md5() [2/3]
static CheckSum zypp::CheckSum::md5 |
( |
std::istream & |
input_r | ) |
|
|
inlinestatic |
◆ sha() [2/3]
static CheckSum zypp::CheckSum::sha |
( |
std::istream & |
input_r | ) |
|
|
inlinestatic |
◆ sha1() [2/3]
static CheckSum zypp::CheckSum::sha1 |
( |
std::istream & |
input_r | ) |
|
|
inlinestatic |
◆ sha224() [2/3]
static CheckSum zypp::CheckSum::sha224 |
( |
std::istream & |
input_r | ) |
|
|
inlinestatic |
◆ sha256() [2/3]
static CheckSum zypp::CheckSum::sha256 |
( |
std::istream & |
input_r | ) |
|
|
inlinestatic |
◆ sha384() [2/3]
static CheckSum zypp::CheckSum::sha384 |
( |
std::istream & |
input_r | ) |
|
|
inlinestatic |
◆ sha512() [2/3]
static CheckSum zypp::CheckSum::sha512 |
( |
std::istream & |
input_r | ) |
|
|
inlinestatic |
◆ md5() [3/3]
static CheckSum zypp::CheckSum::md5 |
( |
std::istream && |
input_r | ) |
|
|
inlinestatic |
◆ sha() [3/3]
static CheckSum zypp::CheckSum::sha |
( |
std::istream && |
input_r | ) |
|
|
inlinestatic |
◆ sha1() [3/3]
static CheckSum zypp::CheckSum::sha1 |
( |
std::istream && |
input_r | ) |
|
|
inlinestatic |
◆ sha224() [3/3]
static CheckSum zypp::CheckSum::sha224 |
( |
std::istream && |
input_r | ) |
|
|
inlinestatic |
◆ sha256() [3/3]
static CheckSum zypp::CheckSum::sha256 |
( |
std::istream && |
input_r | ) |
|
|
inlinestatic |
◆ sha384() [3/3]
static CheckSum zypp::CheckSum::sha384 |
( |
std::istream && |
input_r | ) |
|
|
inlinestatic |
◆ sha512() [3/3]
static CheckSum zypp::CheckSum::sha512 |
( |
std::istream && |
input_r | ) |
|
|
inlinestatic |
◆ md5FromString()
static CheckSum zypp::CheckSum::md5FromString |
( |
const std::string & |
input_r | ) |
|
|
inlinestatic |
◆ shaFromString()
static CheckSum zypp::CheckSum::shaFromString |
( |
const std::string & |
input_r | ) |
|
|
inlinestatic |
◆ sha1FromString()
static CheckSum zypp::CheckSum::sha1FromString |
( |
const std::string & |
input_r | ) |
|
|
inlinestatic |
◆ sha224FromString()
static CheckSum zypp::CheckSum::sha224FromString |
( |
const std::string & |
input_r | ) |
|
|
inlinestatic |
◆ sha256FromString()
static CheckSum zypp::CheckSum::sha256FromString |
( |
const std::string & |
input_r | ) |
|
|
inlinestatic |
◆ sha384FromString()
static CheckSum zypp::CheckSum::sha384FromString |
( |
const std::string & |
input_r | ) |
|
|
inlinestatic |
◆ sha512FromString()
static CheckSum zypp::CheckSum::sha512FromString |
( |
const std::string & |
input_r | ) |
|
|
inlinestatic |
◆ type()
std::string zypp::CheckSum::type |
( |
| ) |
const |
◆ checksum()
std::string zypp::CheckSum::checksum |
( |
| ) |
const |
◆ empty()
bool zypp::CheckSum::empty |
( |
| ) |
const |
◆ asString()
std::string zypp::CheckSum::asString |
( |
| ) |
const |
◆ operator==() [1/2]
◆ operator!=() [1/2]
◆ operator<<()
std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const CheckSum & |
obj |
|
) |
| |
|
related |
◆ dumpAsXmlOn()
std::ostream & dumpAsXmlOn |
( |
std::ostream & |
str, |
|
|
const CheckSum & |
obj |
|
) |
| |
|
related |
◆ operator==() [2/2]
◆ operator!=() [2/2]
◆ _type
std::string zypp::CheckSum::_type |
|
private |
◆ _checksum
std::string zypp::CheckSum::_checksum |
|
private |
The documentation for this class was generated from the following files: