31#ifndef _HTTP_CLIENT_AUTH_H
32#define _HTTP_CLIENT_AUTH_H
39#if (HTTP_CLIENT_SHA512_256_SUPPORT == ENABLED)
40 #define HTTP_CLIENT_MAX_HASH_DIGEST_SIZE 32
41#elif (HTTP_CLIENT_SHA256_SUPPORT == ENABLED)
42 #define HTTP_CLIENT_MAX_HASH_DIGEST_SIZE 32
44 #define HTTP_CLIENT_MAX_HASH_DIGEST_SIZE 16
48#if (HTTP_CLIENT_SHA512_256_SUPPORT == ENABLED)
49 #define HTTP_CLIENT_MAX_RESPONSE_LEN 64
50#elif (HTTP_CLIENT_SHA256_SUPPORT == ENABLED)
51 #define HTTP_CLIENT_MAX_RESPONSE_LEN 64
53 #define HTTP_CLIENT_MAX_RESPONSE_LEN 32
71#if (HTTP_CLIENT_DIGEST_AUTH_SUPPORT == ENABLED)
86error_t httpClientFormatAuthorizationField(HttpClientContext *context);
88error_t httpClientParseWwwAuthenticateField(HttpClientContext *context,
91void httpClientParseQopParam(
const HttpParam *param,
94void httpClientParseAlgorithmParam(
const HttpParam *param,
98 const char_t *method,
size_t methodLen,
const char_t *uri,
99 size_t uriLen, char_t *response);
error_t
Error codes.
Definition error.h:43
HTTP client (HyperText Transfer Protocol)
HttpAuthMode
HTTP authentication schemes.
Definition http_common.h:72
HttpAuthQop
Quality of protection (digest authentication)
Definition http_common.h:84
HTTP authentication parameters.
Definition http_client.h:244
Attribute-value pair.
Definition http_common.h:157