AwsSignatureV2 Class
(QtAws::Core::AwsSignatureV2)The AwsSignatureV2 class provides V2 AWS signatures. More...
| Header: | #include <AwsSignatureV2> |
| Inherits: | QtAws::Core::AwsAbstractSignature |
Public Functions
| AwsSignatureV2(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 |
- 2 public functions inherited from QtAws::Core::AwsAbstractSignature
Detailed Description
The AwsSignatureV2 class provides V2 AWS signatures.
See also http://docs.aws.amazon.com/general/latest/gr/signature-version-2.html.
Member Function Documentation
AwsSignatureV2::AwsSignatureV2(const QCryptographicHash::Algorithm hashAlgorithm = QCryptographicHash::Sha256)
Constructs an AwsSignatureV2 object, with cryptographic hash algorithm hashAlgorithm.
Use an instance of this object to provide Version 2 signatures for AWS services.
Note: hashAlgorithm must be either QCryptographicHash::Sha1 or QCryptographicHash::Sha256.
[override virtual] void AwsSignatureV2::sign(const AwsAbstractCredentials &credentials, const QNetworkAccessManager::Operation operation, QNetworkRequest &request, const QByteArray &data = QByteArray()) const
Reimplemented from AwsAbstractSignature::sign().
[override virtual] int AwsSignatureV2::version() const
Reimplemented from AwsAbstractSignature::version().
Returns 2.
© 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.