22 lines
533 B
C
22 lines
533 B
C
#ifndef HMACSHA_H
|
|
#define HMACSHA_H
|
|
#include "SfTypeDefine.h"
|
|
#if __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
typedef struct SignatureTime
|
|
{
|
|
unsigned short Year;
|
|
unsigned short Mon;
|
|
unsigned short Day;
|
|
unsigned short Hour;
|
|
unsigned short Min;
|
|
unsigned short Sec;
|
|
} SignatureTime;
|
|
void amz_signature(UINT8 *signatureStr, UINT32 content_len, UINT8 *objectName, UINT8 *typestr, UINT8 *password, UINT8 *bucket, UINT8 *region, const SignatureTime time);
|
|
#if __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|