#include <XrdClHttpChecksum.hh>
Definition at line 113 of file XrdClHttpChecksum.hh.
◆ Get()
Definition at line 131 of file XrdClHttpChecksum.hh.
132 if ((ctype == ChecksumType::kUnknown) || (ctype == ChecksumType::kAll))
133 ctype = ChecksumType::kCRC32C;
134 return checksums[
static_cast<size_t>(ctype)].value;
◆ GetFirst()
Definition at line 149 of file XrdClHttpChecksum.hh.
150 for (
int idx=0; idx < static_cast<int>(ChecksumType::kAll); ++idx) {
151 if (checksums[idx].type != ChecksumType::kUnknown) {
152 return std::make_tuple(
static_cast<ChecksumType>(idx), checksums[idx].value,
true);
155 return std::make_tuple(ChecksumType::kUnknown, std::array<unsigned char, g_max_checksum_length>(),
false);
◆ IsSet()
| bool XrdClHttp::ChecksumInfo::IsSet |
( |
ChecksumType |
ctype | ) |
const |
|
inline |
Definition at line 119 of file XrdClHttpChecksum.hh.
120 if ((ctype == ChecksumType::kUnknown) || (ctype == ChecksumType::kAll))
return false;
121 return checksums[
static_cast<size_t>(ctype)].type != ChecksumType::kUnknown;
◆ Set()
The documentation for this class was generated from the following file: