AWS SDK for C++AWS SDK for C++ Version 1.11.645 |
#include <AWSAuthV4Signer.h>
AWS Auth v4 Signer implementation of the AWSAuthSigner interface. More information on AWS Auth v4 Can be found here: http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
Definition at line 57 of file AWSAuthV4Signer.h.
Even though different payload signing polices, HTTP will force payload signing to be on.
Enumerator | |
---|---|
RequestDependent | Sign the request based on the value returned by AmazonWebServiceRequest::SignBody() |
Always | Always sign the body of the request. |
Never | Never sign the body of the request |
Definition at line 64 of file AWSAuthV4Signer.h.
PayloadSigningPolicy::RequestDependent
,
true
,
Aws::Auth::AWSSigningAlgorithm::SIGV4
credentialsProvider, source of AWS Credentials to sign requests with serviceName, canonical service name to sign with region, region string to use in signature signPayloads, if Always, the payload will have a sha256 computed on the body of the request. If this is set to Never, the sha256 will not be computed on the body. This is only useful for Amazon S3 over Https. If Https is not used then this flag will be ignored. If set to RequestDependent, compute or not is based on the value from AmazonWebServiceRequest::SignBody()
AWSAuthV4signer's implementation of virtual function from base class Return Auth Signer's name, here the value is specified in Aws::Auth::DEFAULT_AUTHV4_SIGNER.
Implements Aws::Client::AWSAuthSigner.
Definition at line 98 of file AWSAuthV4Signer.h.
Definition at line 188 of file AWSAuthV4Signer.h.
Definition at line 187 of file AWSAuthV4Signer.h.
0
Takes a request and signs the URI based on request, region, servicename, expiration and credentials. The URI can then be used in a normal HTTP call until expiration. Uses AWS Auth V4 signing method with SHA256 HMAC algorithm. expirationInSeconds defaults to 0 which provides a URI good for 7 days. Using m_region by default if parameter region is nullptr. Using m_serviceName by default if parameter serviceName is nullptr.
0
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. Uses AWS Auth V4 signing method with SHA256 HMAC algorithm. expirationInSeconds defaults to 0 which provides a URI good for 7 days. Using m_region by default if parameter region is nullptr. Using m_serviceName by default if parameter serviceName is nullptr.
Implements Aws::Client::AWSAuthSigner.
0
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. Uses AWS Auth V4 signing method with SHA256 HMAC algorithm. expirationInSeconds defaults to 0 which provides a URI good for 7 days. Using m_region by default if parameter region is nullptr.
Implements Aws::Client::AWSAuthSigner.
0
Takes a request and signs the URI based on the HttpMethod, URI and other info from the request. the region the signer was initialized with will be used for the signature. The URI can then be used in a normal HTTP call until expiration. Uses AWS Auth V4 signing method with SHA256 HMAC algorithm. expirationInSeconds defaults to 0 which provides a URI good for 7 days.
Implements Aws::Client::AWSAuthSigner.
Signs the request itself based on info in the request and uri. Uses AWS Auth V4 signing method with SHA256 HMAC algorithm.
Implements Aws::Client::AWSAuthSigner.
Definition at line 114 of file AWSAuthV4Signer.h.
Signs the request itself based on info in the request and uri. Uses AWS Auth V4 signing method with SHA256 HMAC algorithm. If signBody is false and https is being used then the body of the payload will not be signed.
Reimplemented from Aws::Client::AWSAuthSigner.
Definition at line 124 of file AWSAuthV4Signer.h.
Uses AWS Auth V4 signing method with SHA256 HMAC algorithm. If signBody is false and https is being used then the body of the payload will not be signed. Using m_region by default if parameter region is nullptr.
Reimplemented from Aws::Client::AWSAuthSigner.
Definition at line 134 of file AWSAuthV4Signer.h.
Uses AWS Auth V4 signing method with SHA256 HMAC algorithm. If signBody is false and https is being used then the body of the payload will not be signed. Using m_region by default if parameter region is nullptr.
Reimplemented from Aws::Client::AWSAuthSigner.
Definition at line 213 of file AWSAuthV4Signer.h.
Definition at line 196 of file AWSAuthV4Signer.h.