SigV4 v1.0.0
SigV4 Library for AWS Authentication
SigV4Parameters_t Struct Reference

Complete configurations required for generating "String to Sign" and "Signing Key" values. More...

#include <sigv4.h>

Data Fields

SigV4Credentials_tpCredentials
 The AccessKeyId, SecretAccessKey, and SecurityToken used to generate the Authorization header.
 
const char * pDateIso8601
 The date in ISO 8601 format, e.g. "20150830T123600Z". This is always 16 characters long.
 
const char * pAlgorithm
 The algorithm used for SigV4 authentication. If set to NULL, this will automatically be set to "AWS4-HMAC-SHA256" by default.
 
size_t algorithmLen
 Length of pAlgorithm.
 
const char * pRegion
 The target AWS region for the request. Please see https://docs.aws.amazon.com/general/latest/gr/rande.html for a list of region names and codes.
 
size_t regionLen
 Length of pRegion.
 
const char * pService
 The target AWS service for the request. The service name can be found as the first segment of the service endpoint. Please see https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html (https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html) for your service of interest.
 
size_t serviceLen
 Length of pService.
 
SigV4CryptoInterface_tpCryptoInterface
 The cryptography interface.
 
SigV4HttpParameters_tpHttpParameters
 HTTP specific SigV4 parameters for canonical request calculation.
 

Detailed Description

Complete configurations required for generating "String to Sign" and "Signing Key" values.

Consists of parameter structures SigV4Credentials_t, SigV4CryptoInterface_t, and SigV4HttpParameters_t, along with date, region, and service specifications.


The documentation for this struct was generated from the following file: