AWS SDK for C++AWS SDK for C++ Version 1.11.893 |
#include <AWSAuthSignerBase.h>
Auth Signer interface. Takes a generic AWS request and applies crypto tamper resistant signatures on the request.
Definition at line 35 of file AWSAuthSignerBase.h.
Definition at line 38 of file AWSAuthSignerBase.h.
Definition at line 137 of file AWSAuthSignerBase.h.
Return the signer's name
Implemented in Aws::Client::AWSAuthBearerSigner, Aws::Client::AWSAuthEventStreamV4Signer, Aws::Client::AWSAuthV4Signer, and Aws::Client::AWSNullSigner.
Gets the timestamp being used by the signer. This may include a clock skew if a clock skew has been detected.
Definition at line 134 of file AWSAuthSignerBase.h.
0
Generates a signed Uri using the injected signer. for the supplied uri and http method, region, and service name. expirationInSeconds defaults to 0 which is the default 7 days. Using m_region by default if parameter region is nullptr. Using m_serviceName by default if parameter serviceName is nullptr.
Implemented in Aws::Client::AWSAuthEventStreamV4Signer, Aws::Client::AWSNullSigner, Aws::Client::AWSAuthBearerSigner, and Aws::Client::AWSAuthV4Signer.
0
Generates a signed Uri using the injected signer. for the supplied uri and http method and region. expirationInSeconds defaults to 0 which is the default 7 days. Using m_region by default if parameter region is nullptr.
Implemented in Aws::Client::AWSAuthEventStreamV4Signer, Aws::Client::AWSNullSigner, Aws::Client::AWSAuthBearerSigner, and Aws::Client::AWSAuthV4Signer.
Takes a request and signs the URI based on the HttpMethod, URI and other info from the request. The URI can then be used in a normal HTTP call until expiration.
Implemented in Aws::Client::AWSAuthEventStreamV4Signer, Aws::Client::AWSNullSigner, Aws::Client::AWSAuthBearerSigner, and Aws::Client::AWSAuthV4Signer.
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 129 of file AWSAuthSignerBase.h.
Signs a single event message in an event stream. The input message buffer is copied and signed. The message's input buffer will be deallocated and a new buffer will be assigned. The new buffer encodes the original message with its headers as the payload of the new message. The signature of the original message will be added as a header to the new message.
A Hex encoded signature of the previous event (or of the HTTP request headers in case of the first event) is provided as the 'priorSignature' parameter. 'priorSignature' will contain the value of the new signature after this call returns successfully.
The function returns true if the message is successfully signed.
Reimplemented in Aws::Client::AWSNullSigner, and Aws::Client::AWSAuthEventStreamV4Signer.
Definition at line 97 of file AWSAuthSignerBase.h.
Signs the request itself (usually by adding a signature header) based on info in the request and uri.
Implemented in Aws::Client::AWSAuthBearerSigner, Aws::Client::AWSNullSigner, Aws::Client::AWSAuthEventStreamV4Signer, and Aws::Client::AWSAuthV4Signer.
Signs the request itself (usually by adding a signature header) based on info in the request and uri. If signBody is false and https is being used then the body of the payload will not be signed. The default virtual function, just calls SignRequest.
Reimplemented in Aws::Client::AWSAuthEventStreamV4Signer, and Aws::Client::AWSAuthV4Signer.
Definition at line 51 of file AWSAuthSignerBase.h.
Signs the request itself (usually by adding a signature header) based on info in the request and uri. If signBody is false and https is being used then the body of the payload will not be signed. The default virtual function, just calls SignRequest. Using m_region by default if parameter region is nullptr.
Reimplemented in Aws::Client::AWSAuthEventStreamV4Signer, and Aws::Client::AWSAuthV4Signer.
Definition at line 63 of file AWSAuthSignerBase.h.
Signs the request itself (usually by adding a signature header) based on info in the request and uri. If signBody is false and https is being used then the body of the payload will not be signed. The default virtual function, just calls SignRequest. Using m_region by default if parameter region is nullptr. Using m_serviceName by default if parameter serviceName is nullptr.
Reimplemented in Aws::Client::AWSAuthBearerSigner, Aws::Client::AWSAuthEventStreamV4Signer, and Aws::Client::AWSAuthV4Signer.
Definition at line 77 of file AWSAuthSignerBase.h.
Definition at line 139 of file AWSAuthSignerBase.h.