SigV4 v1.2.0
SigV4 Library for AWS Authentication
CanonicalContext_t Struct Reference

An aggregator to maintain the internal state of canonicalization during intermediate calculations. More...

#include <sigv4_internal.h>

Data Fields

SigV4KeyValuePair_t pQueryLoc [SIGV4_MAX_QUERY_PAIR_COUNT]
 
SigV4KeyValuePair_t pHeadersLoc [SIGV4_MAX_HTTP_HEADER_COUNT]
 
uint8_t pBufProcessing [SIGV4_PROCESSING_BUFFER_LENGTH]
 
char * pBufCur
 
size_t bufRemaining
 
const char * pHashPayloadLoc
 
size_t hashPayloadLen
 

Detailed Description

An aggregator to maintain the internal state of canonicalization during intermediate calculations.

Field Documentation

◆ pQueryLoc

SigV4KeyValuePair_t CanonicalContext_t::pQueryLoc[SIGV4_MAX_QUERY_PAIR_COUNT]

Query pointers used during sorting.

◆ pHeadersLoc

SigV4KeyValuePair_t CanonicalContext_t::pHeadersLoc[SIGV4_MAX_HTTP_HEADER_COUNT]

Header pointers used during sorting.

◆ pBufProcessing

uint8_t CanonicalContext_t::pBufProcessing[SIGV4_PROCESSING_BUFFER_LENGTH]

Internal calculation buffer used during canonicalization.

◆ pBufCur

char* CanonicalContext_t::pBufCur

pBufProcessing cursor.

◆ bufRemaining

size_t CanonicalContext_t::bufRemaining

pBufProcessing value used during internal calculation.

◆ pHashPayloadLoc

const char* CanonicalContext_t::pHashPayloadLoc

Pointer used to store the location of hashed HTTP request payload.

◆ hashPayloadLen

size_t CanonicalContext_t::hashPayloadLen

Length of hashed HTTP request payload.


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