Classes | |
struct | AmzData |
struct | AmzDatav4 |
class | CloudReader |
class | CloudWriter |
class | Module |
Functions | |
struct curl_slist * | BuildHeaderAmzS3v2 (const char *URL, const char *TCPPort, const char *PublicKey, struct AmzData *Data) |
struct curl_slist * | BuildHeaderAmzS3v4 (const char *URL, const char *PublicKey, struct AmzDatav4 *Data) |
struct AmzData * | ComputeDigestAmzS3v2 (char *operation, char *data_type, const char *target, const char *Secret, const char *ptr, long size) |
struct AmzDatav4 * | ComputeDigestAmzS3v4 (char *operation, const char *server, char *data_type, const char *target, const char *Secret, const char *ptr, long size, char *parameters, std::string Region) |
size_t | CurlWrite_CallbackFunc_StdString (void *contents, size_t size, size_t nmemb, std::string *s) |
void | eraseSubStr (std::string &Str, const std::string &toErase) |
std::string | getHexValue (unsigned char *input, unsigned int HMACLength) |
PyObject * | initModule () |
char * | MD5Sum (const char *ptr, long size) |
char * | SHA256Sum (const char *ptr, long size) |
struct curl_slist * Cloud::BuildHeaderAmzS3v2 | ( | const char * | URL, |
const char * | TCPPort, | ||
const char * | PublicKey, | ||
struct AmzData * | Data | ||
) |
struct curl_slist * Cloud::BuildHeaderAmzS3v4 | ( | const char * | URL, |
const char * | PublicKey, | ||
struct AmzDatav4 * | Data | ||
) |
struct Cloud::AmzData * Cloud::ComputeDigestAmzS3v2 | ( | char * | operation, |
char * | data_type, | ||
const char * | target, | ||
const char * | Secret, | ||
const char * | ptr, | ||
long | size | ||
) |
References Base::base64_encode(), Cloud::AmzData::ContentType, Cloud::AmzData::dateFormatted, Cloud::AmzData::digest, Cloud::AmzData::MD5, and MD5Sum().
Referenced by Cloud::CloudReader::CloudReader(), Cloud::CloudWriter::CloudWriter(), Cloud::CloudWriter::createBucket(), Cloud::CloudReader::DownloadFile(), and Cloud::CloudWriter::pushCloud().
struct Cloud::AmzDatav4 * Cloud::ComputeDigestAmzS3v4 | ( | char * | operation, |
const char * | server, | ||
char * | data_type, | ||
const char * | target, | ||
const char * | Secret, | ||
const char * | ptr, | ||
long | size, | ||
char * | parameters, | ||
std::string | Region | ||
) |
References Cloud::AmzDatav4::ContentType, Cloud::AmzDatav4::dateFormattedD, Cloud::AmzDatav4::dateFormattedS, Cloud::AmzDatav4::digest, getHexValue(), Cloud::AmzDatav4::MD5, Cloud::AmzDatav4::Region, Cloud::AmzDatav4::SHA256Sum, and SHA256Sum().
Referenced by Cloud::CloudReader::CloudReader(), Cloud::CloudWriter::CloudWriter(), Cloud::CloudWriter::createBucket(), Cloud::CloudReader::DownloadFile(), and Cloud::CloudWriter::pushCloud().
size_t Cloud::CurlWrite_CallbackFunc_StdString | ( | void * | contents, |
size_t | size, | ||
size_t | nmemb, | ||
std::string * | s | ||
) |
void Cloud::eraseSubStr | ( | std::string & | Str, |
const std::string & | toErase | ||
) |
std::string Cloud::getHexValue | ( | unsigned char * | input, |
unsigned int | HMACLength | ||
) |
Referenced by ComputeDigestAmzS3v4(), and SHA256Sum().
PyObject * Cloud::initModule | ( | ) |
References Base::InterpreterSingleton::addModule(), and Base::Interpreter().
char * Cloud::MD5Sum | ( | const char * | ptr, |
long | size | ||
) |
References Base::base64_encode().
Referenced by ComputeDigestAmzS3v2().
char * Cloud::SHA256Sum | ( | const char * | ptr, |
long | size | ||
) |
References getHexValue().
Referenced by ComputeDigestAmzS3v4().