5 #ifndef CVMFS_MANIFEST_FETCH_H_
6 #define CVMFS_MANIFEST_FETCH_H_
18 class SignatureManager;
22 class DownloadManager;
46 texts[1] =
"failed to download";
47 texts[2] =
"incomplete manifest";
48 texts[3] =
"repository name mismatch";
49 texts[4] =
"catalog root path mismatch";
50 texts[5] =
"outdated manifest";
51 texts[6] =
"bad certificate, failed to verify repository manifest";
52 texts[7] =
"bad signature, failed to verify repository manifest";
53 texts[8] =
"bad whitelist";
54 texts[9] =
"invalid certificate";
55 texts[10] =
"unknown error";
56 texts[11] =
"no text";
92 Failures Fetch(
const std::string &base_url,
const std::string &repository_name,
93 const uint64_t minimum_timestamp,
const shash::Any *base_catalog,
98 Failures Verify(
unsigned char *manifest_data,
size_t manifest_size,
99 const std::string &base_url,
const std::string &repository_name,
100 const uint64_t minimum_timestamp,
108 #endif // CVMFS_MANIFEST_FETCH_H_
const manifest::Manifest * manifest() const
Failures Verify(unsigned char *manifest_data, size_t manifest_size, const std::string &base_url, const std::string &repository_name, const uint64_t minimum_timestamp, const shash::Any *base_catalog, signature::SignatureManager *signature_manager, download::DownloadManager *download_manager, ManifestEnsemble *ensemble)
unsigned char * raw_manifest_buf
virtual ~ManifestEnsemble()
unsigned whitelist_pkcs7_size
virtual void FetchCertificate(const shash::Any &hash)
unsigned char * whitelist_buf
unsigned raw_manifest_size
Failures Fetch(const std::string &base_url, const std::string &repository_name, const uint64_t minimum_timestamp, const shash::Any *base_catalog, signature::SignatureManager *signature_manager, download::DownloadManager *download_manager, ManifestEnsemble *ensemble)
unsigned char * whitelist_pkcs7_buf
const char * Code2Ascii(const Failures error)