AwsSignatureV3 Class

(QtAws::Core::AwsSignatureV3)

The AwsSignatureV3 class provides V3 AWS signatures. More...

Header: #include <AwsSignatureV3>
Inherits: QtAws::Core::AwsAbstractSignature

Public Functions

AwsSignatureV3(const QCryptographicHash::Algorithm hashAlgorithm = QCryptographicHash::Sha256)

Reimplemented Public Functions

virtual void sign(const AwsAbstractCredentials &credentials, const QNetworkAccessManager::Operation operation, QNetworkRequest &request, const QByteArray &data = QByteArray()) const override
virtual int version() const override

Detailed Description

The AwsSignatureV3 class provides V3 AWS signatures.

This class implements both AWS3 and AWS3-HTTPS varieties.

See also http://docs.aws.amazon.com/amazonswf/latest/developerguide/HMACAuth-swf.html and http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/RESTAuthentication.html.

Member Function Documentation

AwsSignatureV3::AwsSignatureV3(const QCryptographicHash::Algorithm hashAlgorithm = QCryptographicHash::Sha256)

Constructs an AwsSignatureV3 object, with cryptographic hash algorithm hashAlgorithm.

Use an instance of this object to provide Version 3 signatures for AWS services.

Note: hashAlgorithm must be either QCryptographicHash::Sha1 or QCryptographicHash::Sha256.

[override virtual] void AwsSignatureV3::sign(const AwsAbstractCredentials &credentials, const QNetworkAccessManager::Operation operation, QNetworkRequest &request, const QByteArray &data = QByteArray()) const

Reimplemented from AwsAbstractSignature::sign().

[override virtual] int AwsSignatureV3::version() const

Reimplemented from AwsAbstractSignature::version().

Returns 3.

© 2018 Paul Colby Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.