HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Library/include/aws/core/auth/signer/AWSAuthSignerHelper.h
/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once

#include <aws/core/Core_EXPORTS.h>
#include <aws/core/http/HttpTypes.h>

namespace Aws
{
    namespace Http
    {
        class HttpRequest;
    } // namespace Http

    namespace Auth
    {
        class AWSAuthHelper
        {
        public:
            /**
             * Helper functions used across different signers
             */
            static Aws::String CanonicalizeRequestSigningString(Aws::Http::HttpRequest &request, bool urlEscapePath);
            static Aws::Http::HeaderValueCollection CanonicalizeHeaders(Http::HeaderValueCollection &&headers);

            /**
             * Static const variables used across different signers
             */
            static const char* EQ;
            static const char* AWS_HMAC_SHA256;
            static const char* AWS4_REQUEST;
            static const char* SIGNED_HEADERS;
            static const char* CREDENTIAL;
            static const char* NEWLINE;
            static const char* X_AMZN_TRACE_ID;
            static const char* X_AMZ_CONTENT_SHA256;
            static const char* SIGNING_KEY;
            static const char* SIMPLE_DATE_FORMAT_STR;
        };
    } // namespace Client
} // namespace Aws