Cloud Namespace Reference

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 AmzDataComputeDigestAmzS3v2 (char *operation, char *data_type, const char *target, const char *Secret, const char *ptr, long size)
 
struct AmzDatav4ComputeDigestAmzS3v4 (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)
 
PyObjectinitModule ()
 
char * MD5Sum (const char *ptr, long size)
 
char * SHA256Sum (const char *ptr, long size)
 

Function Documentation

◆ BuildHeaderAmzS3v2()

struct curl_slist * Cloud::BuildHeaderAmzS3v2 ( const char *  URL,
const char *  TCPPort,
const char *  PublicKey,
struct AmzData Data 
)

◆ BuildHeaderAmzS3v4()

struct curl_slist * Cloud::BuildHeaderAmzS3v4 ( const char *  URL,
const char *  PublicKey,
struct AmzDatav4 Data 
)

◆ ComputeDigestAmzS3v2()

struct Cloud::AmzData * Cloud::ComputeDigestAmzS3v2 ( char *  operation,
char *  data_type,
const char *  target,
const char *  Secret,
const char *  ptr,
long  size 
)

◆ ComputeDigestAmzS3v4()

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 
)

◆ CurlWrite_CallbackFunc_StdString()

size_t Cloud::CurlWrite_CallbackFunc_StdString ( void *  contents,
size_t  size,
size_t  nmemb,
std::string *  s 
)

◆ eraseSubStr()

void Cloud::eraseSubStr ( std::string &  Str,
const std::string &  toErase 
)

◆ getHexValue()

std::string Cloud::getHexValue ( unsigned char *  input,
unsigned int  HMACLength 
)

Referenced by ComputeDigestAmzS3v4(), and SHA256Sum().

◆ initModule()

PyObject * Cloud::initModule ( )

◆ MD5Sum()

char * Cloud::MD5Sum ( const char *  ptr,
long  size 
)

References Base::base64_encode().

Referenced by ComputeDigestAmzS3v2().

◆ SHA256Sum()

char * Cloud::SHA256Sum ( const char *  ptr,
long  size 
)

References getHexValue().

Referenced by ComputeDigestAmzS3v4().