AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
smithy::AwsSignerCommon Class Reference

#include <AwsSignerBase.h>

Inheritance diagram for smithy::AwsSignerCommon:
[legend]

Public Member Functions

virtual ~AwsSignerCommon ()=default
 
virtual void SetClockSkew (const std::chrono::milliseconds &clockSkew)
 
 

Protected Member Functions

virtual std::chrono::milliseconds GetClockSkewOffset () const
 

Protected Attributes

std::atomic< std::chrono::milliseconds > m_clockSkew = {}
 

Detailed Description

Definition at line 18 of file AwsSignerBase.h.

Constructor & Destructor Documentation

◆ ~AwsSignerCommon()

virtual smithy::AwsSignerCommon::~AwsSignerCommon ( )
virtualdefault

Member Function Documentation

◆ GetClockSkewOffset()

virtual std::chrono::milliseconds smithy::AwsSignerCommon::GetClockSkewOffset ( ) const
inlineprotectedvirtual

Definition at line 32 of file AwsSignerBase.h.

◆ GetSigningTimestamp()

virtual Aws::Utils::DateTime smithy::AwsSignerCommon::GetSigningTimestamp ( ) const
inlinevirtual

Gets the timestamp being used by the signer. This may include a clock skew if a clock skew has been detected.

Definition at line 29 of file AwsSignerBase.h.

◆ SetClockSkew()

virtual void smithy::AwsSignerCommon::SetClockSkew ( const std::chrono::milliseconds &  clockSkew)
inlinevirtual

This handles detection of clock skew between clients and the server and adjusts the clock so that the next request will not fail on the timestamp check.

Definition at line 25 of file AwsSignerBase.h.

Member Data Documentation

◆ m_clockSkew

std::atomic<std::chrono::milliseconds> smithy::AwsSignerCommon::m_clockSkew = {}
protected

Definition at line 33 of file AwsSignerBase.h.


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