SigV4 v1.2.0
SigV4 Library for AWS Authentication
Sigv4_constants

Macros

#define SIGV4_AWS4_HMAC_SHA256   "AWS4-HMAC-SHA256"
 
#define SIGV4_AWS4_HMAC_SHA256_LENGTH   ( sizeof( SIGV4_AWS4_HMAC_SHA256 ) - 1U )
 
#define SIGV4_HTTP_X_AMZ_DATE_HEADER   "x-amz-date"
 
#define SIGV4_HTTP_X_AMZ_SECURITY_TOKEN_HEADER   "x-amz-security-token"
 
#define SIGV4_STREAMING_AWS4_HMAC_SHA256_PAYLOAD   "STREAMING-AWS4-HMAC-SHA256-PAYLOAD"
 
#define SIGV4_HTTP_X_AMZ_CONTENT_SHA256_HEADER   "x-amz-content-sha256"
 
#define SIGV4_HTTP_X_AMZ_CONTENT_SHA256_HEADER_LENGTH   ( sizeof( SIGV4_HTTP_X_AMZ_CONTENT_SHA256_HEADER ) - 1U )
 
#define SIGV4_HTTP_X_AMZ_STORAGE_CLASS_HEADER   "x-amz-storage-class"
 
#define SIGV4_ACCESS_KEY_ID_LENGTH   20U
 
#define SIGV4_SECRET_ACCESS_KEY_LENGTH   40U
 
#define SIGV4_ISO_STRING_LEN   16U
 
#define SIGV4_EXPECTED_LEN_RFC_3339   20U
 
#define SIGV4_EXPECTED_LEN_RFC_5322   29U
 

Detailed Description

Macro Definition Documentation

◆ SIGV4_AWS4_HMAC_SHA256

#define SIGV4_AWS4_HMAC_SHA256   "AWS4-HMAC-SHA256"

AWS identifier for SHA256 signing algorithm.

◆ SIGV4_AWS4_HMAC_SHA256_LENGTH

#define SIGV4_AWS4_HMAC_SHA256_LENGTH   ( sizeof( SIGV4_AWS4_HMAC_SHA256 ) - 1U )

Length of AWS identifier for SHA256 signing algorithm.

◆ SIGV4_HTTP_X_AMZ_DATE_HEADER

#define SIGV4_HTTP_X_AMZ_DATE_HEADER   "x-amz-date"

AWS identifier for HTTP date header.

◆ SIGV4_HTTP_X_AMZ_SECURITY_TOKEN_HEADER

#define SIGV4_HTTP_X_AMZ_SECURITY_TOKEN_HEADER   "x-amz-security-token"

AWS identifier for security token.

◆ SIGV4_STREAMING_AWS4_HMAC_SHA256_PAYLOAD

#define SIGV4_STREAMING_AWS4_HMAC_SHA256_PAYLOAD   "STREAMING-AWS4-HMAC-SHA256-PAYLOAD"

S3 identifier for chunked payloads.

◆ SIGV4_HTTP_X_AMZ_CONTENT_SHA256_HEADER

#define SIGV4_HTTP_X_AMZ_CONTENT_SHA256_HEADER   "x-amz-content-sha256"

S3 identifier for streaming requests.

◆ SIGV4_HTTP_X_AMZ_CONTENT_SHA256_HEADER_LENGTH

#define SIGV4_HTTP_X_AMZ_CONTENT_SHA256_HEADER_LENGTH   ( sizeof( SIGV4_HTTP_X_AMZ_CONTENT_SHA256_HEADER ) - 1U )

Length of S3 identifier for streaming requests.

◆ SIGV4_HTTP_X_AMZ_STORAGE_CLASS_HEADER

#define SIGV4_HTTP_X_AMZ_STORAGE_CLASS_HEADER   "x-amz-storage-class"

S3 identifier for reduced streaming redundancy.

◆ SIGV4_ACCESS_KEY_ID_LENGTH

#define SIGV4_ACCESS_KEY_ID_LENGTH   20U

Length of access key ID.

◆ SIGV4_SECRET_ACCESS_KEY_LENGTH

#define SIGV4_SECRET_ACCESS_KEY_LENGTH   40U

Length of secret access key.

◆ SIGV4_ISO_STRING_LEN

#define SIGV4_ISO_STRING_LEN   16U

Length of ISO 8601 date string.

◆ SIGV4_EXPECTED_LEN_RFC_3339

#define SIGV4_EXPECTED_LEN_RFC_3339   20U

Length of RFC 3339 date input.

◆ SIGV4_EXPECTED_LEN_RFC_5322

#define SIGV4_EXPECTED_LEN_RFC_5322   29U

Length of RFC 5322 date input.