AwsSignatureV4 Class
(QtAws::Core::AwsSignatureV4)The AwsSignatureV4 class provides V4 AWS signatures. More...
| Header: | #include <AwsSignatureV4> |
| Inherits: | QtAws::Core::AwsAbstractSignature |
Public Functions
| AwsSignatureV4(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 AwsSignatureV4 class provides V4 AWS signatures.
See also http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html.
Member Function Documentation
AwsSignatureV4::AwsSignatureV4(const QCryptographicHash::Algorithm hashAlgorithm = QCryptographicHash::Sha256)
Constructs an AwsSignatureV4 object, with cryptographic hash algorithm hashAlgorithm.
Use an instance of this object to provide Version 4 signatures for AWS services.
Note: The AWS Signature Version 4 documentation is not explcit about which hash algorithms are supported by Amazon, however all documented examples use SHA256.
[override virtual] void AwsSignatureV4::sign(const AwsAbstractCredentials &credentials, const QNetworkAccessManager::Operation operation, QNetworkRequest &request, const QByteArray &data = QByteArray()) const
Reimplemented from AwsAbstractSignature::sign().
[override virtual] int AwsSignatureV4::version() const
Reimplemented from AwsAbstractSignature::version().
Returns 4.
© 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.